Bug 2114874 (CVE-2022-2585) - CVE-2022-2585 kernel: posix cpu timer use-after-free may lead to local privilege escalation
Summary: CVE-2022-2585 kernel: posix cpu timer use-after-free may lead to local privil...
Keywords:
Status: NEW
Alias: CVE-2022-2585
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2116967 2116968 2116969 2116970 2117010 2118959 2118960
Blocks: 2114875
TreeView+ depends on / blocked
 
Reported: 2022-08-03 12:33 UTC by Marian Rehak
Modified: 2022-11-09 15:45 UTC (History)
58 users (show)

Fixed In Version: kernel 6.0 rc1
Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in the Linux kernel’s POSIX CPU timers functionality in the way a user creates and then deletes the timer in the non-leader thread of the program. This flaw allows a local user to crash or potentially escalate their privileges on the system.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2022:7894 0 None None None 2022-11-09 15:45:23 UTC
Red Hat Product Errata RHSA-2022:7318 0 None None None 2022-11-02 14:31:50 UTC
Red Hat Product Errata RHSA-2022:7319 0 None None None 2022-11-02 14:32:05 UTC
Red Hat Product Errata RHSA-2022:7330 0 None None None 2022-11-02 14:35:25 UTC

Description Marian Rehak 2022-08-03 12:33:28 UTC
It was discovered that when exec'ing from a non-leader thread, armed POSIX CPU timers would be left on a list but freed, leading to a use-after-free.

Comment 5 Rohit Keshri 2022-08-09 18:15:11 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2117010]

Comment 11 errata-xmlrpc 2022-11-02 14:31:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:7318 https://access.redhat.com/errata/RHSA-2022:7318

Comment 12 errata-xmlrpc 2022-11-02 14:32:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:7319 https://access.redhat.com/errata/RHSA-2022:7319

Comment 13 errata-xmlrpc 2022-11-02 14:35:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:7330 https://access.redhat.com/errata/RHSA-2022:7330


Note You need to log in before you can comment on or make changes to this bug.