Use after free in linux
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | linux | before 6.0~rc1 | 6.0~rc1 | Patch available | CNA |
- linux VendorLinux Affected before 6.0~rc1 Fixed in 6.0~rc1 Patch available CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.7 to before 5.10.137; 5.11 to before 5.15.61; 5.16 to before 5.18.18; 5.19 to before 5.19.2 | Vulnerable | Linux |
| cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* | 20.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:* | 22.04 | Vulnerable | Canonical |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.7 to before 5.10.137; 5.11 to before 5.15.61; 5.16 to before 5.18.18; 5.19 to before 5.19.2 Vulnerable ·Linux
- cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* Versions 20.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:* Versions 22.04 Vulnerable ·Canonical
Remediation
- Fix · CNA linux (The Linux Kernel Organization) Fixed in 6.0~rc1
Red Hat 3 advisories
- RHSA-2022:7318 Released 2022-11-02 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-70.30.1.el9_0
- Red Hat Enterprise Linux AppStream (v. 9) kernel-debug-devel-5.14.0-70.30.1.el9_0, kernel-debug-devel-matched-5.14.0-70.30.1.el9_0, kernel-devel-5.14.0-70.30.1.el9_0 +5
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-5.14.0-70.30.1.el9_0, kernel-5.14.0-70.30.1.el9_0, kernel-abi-stablelists-5.14.0-70.30.1.el9_0 +14
- RHSA-2022:7330 Released 2022-11-02 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS (v. 9) kpatch-patch-5_14_0-70_13_1-1-4.el9_0, kpatch-patch-5_14_0-70_17_1-1-3.el9_0, kpatch-patch-5_14_0-70_22_1-1-3.el9_0 +1
- RHSA-2022:7319 Released 2022-11-02 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-70.30.1.rt21.102.el9_0, kernel-rt-core-5.14.0-70.30.1.rt21.102.el9_0, kernel-rt-debug-5.14.0-70.30.1.rt21.102.el9_0 +7
- Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-70.30.1.rt21.102.el9_0, kernel-rt-core-5.14.0-70.30.1.rt21.102.el9_0, kernel-rt-debug-5.14.0-70.30.1.rt21.102.el9_0 +9
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
The Linux Kernel Organization linux 6.0~rc1
2 records Highest priority Priority HIGH 1 HIGH, 1 LOW
Other records, highest priority first
- TI-2022-02390 Use after free in linuxPriority HIGH 67
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2022:7318 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2022:7318 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2022:7318, RHSA-2022:7330 |
| Red Hat Enterprise Linux Real Time (v. 9) | Fixed | RHSA-2022:7319 |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Fixed | RHSA-2022:7319 |
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2022-2585
- 2026-11-05 Affected versions changed · Red Hat
References
Advisory 5
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2022-2585 · CVE Program
- CVE-2022-2585 · NVD
- FIRST EPSS
- CVE-2022-2585 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences