kernel: posix cpu timer use-after-free may lead to local privilege escalation
Published Jan 8, 2024
7.8
HIGHCVSS 3.1
EPSS 1.28%
Description
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.
Affected products
-
- Version 0StatusaffectedConstraints<6.0~rc1
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| The Linux Kernel Organization | Linux | n/a |
|
Configuration 1
- ≥ 5.7 · < 5.10.137
- ≥ 5.11 · < 5.15.61
- ≥ 5.16 · < 5.18.18
- ≥ 5.19 · < 5.19.2
Configuration 2
- 20.04
- 22.04
No data.
Red Hat Enterprise Linux 9
kernel-0:5.14.0-70.30.1.el9_0
Fixed · RHSA-2022:7318
Red Hat Enterprise Linux 9
kernel-0:5.14.0-70.30.1.el9_0
Fixed · RHSA-2022:7318
Red Hat Enterprise Linux 9
kernel-rt-0:5.14.0-70.30.1.rt21.102.el9_0
Fixed · RHSA-2022:7319
Red Hat Enterprise Linux 9
kpatch-patch
Fixed · RHSA-2022:7330
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-70.30.1.el9_0 | Fixed | RHSA-2022:7318 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-70.30.1.el9_0 | Fixed | RHSA-2022:7318 |
| Red Hat Enterprise Linux 9 | kernel-rt-0:5.14.0-70.30.1.rt21.102.el9_0 | Fixed | RHSA-2022:7319 |
| Red Hat Enterprise Linux 9 | kpatch-patch | Fixed | RHSA-2022:7330 |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
References (12)
- https://access.redhat.com/security/cve/CVE-2022-2585 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2114874 Issue Tracking
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2585 issue-trackingThird Party Advisory
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-34834 Advisory
- https://lore.kernel.org/lkml/20220809170751.164716-1-cascardo@canonical.com/T/#u issue-trackingMailing ListPatch
- https://nvd.nist.gov/vuln/detail/CVE-2022-2585
- https://ubuntu.com/security/notices/USN-5564-1 third-party-advisoryThird Party Advisory
- https://ubuntu.com/security/notices/USN-5565-1 third-party-advisoryThird Party Advisory
- https://ubuntu.com/security/notices/USN-5566-1 third-party-advisoryThird Party Advisory
- https://ubuntu.com/security/notices/USN-5567-1 third-party-advisoryThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2022-2585
- https://www.openwall.com/lists/oss-security/2022/08/09/7 issue-trackingMailing List
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2022-2585 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2114874 | Issue Tracking | |
| https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2585 | issue-trackingThird Party Advisory | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-34834 | Advisory | |
| https://lore.kernel.org/lkml/20220809170751.164716-1-cascardo@canonical.com/T/#u | issue-trackingMailing ListPatch | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-2585 | ||
| https://ubuntu.com/security/notices/USN-5564-1 | third-party-advisoryThird Party Advisory | |
| https://ubuntu.com/security/notices/USN-5565-1 | third-party-advisoryThird Party Advisory | |
| https://ubuntu.com/security/notices/USN-5566-1 | third-party-advisoryThird Party Advisory | |
| https://ubuntu.com/security/notices/USN-5567-1 | third-party-advisoryThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2022-2585 | ||
| https://www.openwall.com/lists/oss-security/2022/08/09/7 | issue-trackingMailing List |
Change history (0)
No recorded changes yet.