Bug 2005258 (CVE-2021-20317)

Summary: CVE-2021-20317 kernel: timer tree corruption leads to missing wakeup and system freeze
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, bhu, brdeoliv, bskeggs, carnil, chwhite, crwood, dhoward, dvlasenk, fhrbata, fpacheco, hdegoede, hkrzesin, jarod, jarodwilson, jeremy, jforbes, jglisse, jlelli, jonathan, josef, jshortt, jstancek, jwboyer, kcarcia, kernel-maint, kernel-mgr, lgoncalv, linville, masami256, mchehab, nmurray, pauld, pmatouse, ptalbert, qzhao, rvrbovsk, security-response-team, steved, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Linux Kernel 5.4-rc1 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel. A corrupted timer tree caused the task wakeup to be missing in the timerqueue_add function in lib/timerqueue.c. This flaw allows a local attacker with special user privileges to cause a denial of service, slowing and eventually stopping the system while running OSP. The highest threat from this vulnerability is system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-11 10:46:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2007094, 2007095, 2007096, 2007099, 2014675, 2014676, 2014677, 2018218, 2018219, 2018220    
Bug Blocks: 2001432, 2006769    

Description Dhananjay Arunesh 2021-09-17 09:09:53 UTC
A vulnerability was found due to a corrupted timer tree that caused a task wakeup to be missing in timerqueue_add in lib/timerqueue.c. This flaw may allow a local attacker with special user privilege to cause a denial of service problem, and system slowly dies while running OSP.

Upstream commit:

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=511885d7061eda3eb1faf3f57dcc936ff75863f1

Comment 10 Salvatore Bonaccorso 2021-09-24 06:20:06 UTC
Hi, the fixed version should probably be 5.4-rc1. Is this correct? The documentation text mentions 5.3-rc1.

Comment 11 Petr Matousek 2021-09-24 09:11:08 UTC
In reply to comment #10:
> Hi, the fixed version should probably be 5.4-rc1. Is this correct? The
> documentation text mentions 5.3-rc1.

you are right, thank you. fixed.

Comment 12 Salvatore Bonaccorso 2021-09-24 18:53:00 UTC
(In reply to Petr Matousek from comment #11)
> In reply to comment #10:
> > Hi, the fixed version should probably be 5.4-rc1. Is this correct? The
> > documentation text mentions 5.3-rc1.
> 
> you are right, thank you. fixed.

Thanks for confirming and fixing up the fixed version information.

Comment 13 errata-xmlrpc 2021-11-15 10:10:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:4646 https://access.redhat.com/errata/RHSA-2021:4646

Comment 14 errata-xmlrpc 2021-11-15 10:13:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Extended Update Support

Via RHSA-2021:4648 https://access.redhat.com/errata/RHSA-2021:4648

Comment 15 errata-xmlrpc 2021-11-15 11:06:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Extended Update Support

Via RHSA-2021:4650 https://access.redhat.com/errata/RHSA-2021:4650

Comment 16 errata-xmlrpc 2021-11-15 11:20:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:4647 https://access.redhat.com/errata/RHSA-2021:4647

Comment 17 errata-xmlrpc 2021-11-30 15:36:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

Via RHSA-2021:4875 https://access.redhat.com/errata/RHSA-2021:4875

Comment 18 errata-xmlrpc 2021-11-30 15:52:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

Via RHSA-2021:4871 https://access.redhat.com/errata/RHSA-2021:4871

Comment 21 Product Security DevOps Team 2022-05-11 10:46:23 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-20317