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
- Partial Red Hat: 38 fixed, 1 without a fix
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 the cls_route filter implementation in the Linux kernel would not remove an old filter from the hashtable before freeing it if its handle had the value 0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
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 · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | before 4.9.326; 4.10 to before 4.14.291; 4.15 to before 4.19.256; 4.20 to before 5.4.211; 5.5 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:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:esm:*:*:* | 18.04 | Vulnerable | Canonical |
| 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 before 4.9.326; 4.10 to before 4.14.291; 4.15 to before 4.19.256; 4.20 to before 5.4.211; 5.5 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:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:esm:*:*:* Versions 18.04 Vulnerable ·Canonical
- 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 20 advisories
- RHSA-2023:4023 Released 2023-07-11 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux Server E4S (v. 7.7) kpatch-patch-3_10_0-1062_71_1-1-2.el7, kpatch-patch-3_10_0-1062_72_1-1-1.el7
- RHSA-2023:4022 Released 2023-07-11 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux Server AUS (v. 7.7) bpftool-3.10.0-1062.76.1.el7, kernel-3.10.0-1062.76.1.el7, kernel-abi-whitelists-3.10.0-1062.76.1.el7 +8
- Red Hat Enterprise Linux Server E4S (v. 7.7) bpftool-3.10.0-1062.76.1.el7, kernel-3.10.0-1062.76.1.el7, kernel-abi-whitelists-3.10.0-1062.76.1.el7 +9
- Red Hat Enterprise Linux Server Optional AUS (v. 7.7) kernel-tools-libs-devel-3.10.0-1062.76.1.el7
- Red Hat Enterprise Linux Server Optional E4S (v. 7.7) kernel-debug-devel-3.10.0-1062.76.1.el7, kernel-tools-libs-devel-3.10.0-1062.76.1.el7
- Red Hat Enterprise Linux Server Optional TUS (v. 7.7) kernel-tools-libs-devel-3.10.0-1062.76.1.el7
- Red Hat Enterprise Linux Server TUS (v. 7.7) bpftool-3.10.0-1062.76.1.el7, kernel-3.10.0-1062.76.1.el7, kernel-abi-whitelists-3.10.0-1062.76.1.el7 +8
- RHSA-2022:7885 Released 2022-11-09 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS E4S (v. 8.2) kpatch-patch-4_18_0-193_80_1-1-2.el8_2, kpatch-patch-4_18_0-193_81_1-1-2.el8_2, kpatch-patch-4_18_0-193_87_1-1-1.el8_2 +2
Show 17 more Red Hat advisories
- RHSA-2022:7344 Released 2022-11-02 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux Server (v. 7) kpatch-patch-3_10_0-1160_62_1-1-3.el7, kpatch-patch-3_10_0-1160_66_1-1-2.el7, kpatch-patch-3_10_0-1160_71_1-1-1.el7 +1
- RHSA-2022:7338 Released 2022-11-02 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux for Real Time (v. 7) kernel-rt-3.10.0-1160.80.1.rt56.1225.el7, kernel-rt-debug-3.10.0-1160.80.1.rt56.1225.el7, kernel-rt-debug-devel-3.10.0-1160.80.1.rt56.1225.el7 +4
- Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt-3.10.0-1160.80.1.rt56.1225.el7, kernel-rt-debug-3.10.0-1160.80.1.rt56.1225.el7, kernel-rt-debug-devel-3.10.0-1160.80.1.rt56.1225.el7 +7
- RHSA-2022:7337 Released 2022-11-02 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux Client (v. 7) bpftool-3.10.0-1160.80.1.el7, kernel-3.10.0-1160.80.1.el7, kernel-abi-whitelists-3.10.0-1160.80.1.el7 +8
- Red Hat Enterprise Linux Client Optional (v. 7) kernel-tools-libs-devel-3.10.0-1160.80.1.el7
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-tools-libs-devel-3.10.0-1160.80.1.el7
- Red Hat Enterprise Linux Server (v. 7) bpftool-3.10.0-1160.80.1.el7, kernel-3.10.0-1160.80.1.el7, kernel-abi-whitelists-3.10.0-1160.80.1.el7 +11
- Red Hat Enterprise Linux Server Optional (v. 7) kernel-debug-devel-3.10.0-1160.80.1.el7, kernel-tools-libs-devel-3.10.0-1160.80.1.el7
- Red Hat Enterprise Linux Workstation (v. 7) bpftool-3.10.0-1160.80.1.el7, kernel-3.10.0-1160.80.1.el7, kernel-abi-whitelists-3.10.0-1160.80.1.el7 +8
- Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-tools-libs-devel-3.10.0-1160.80.1.el7
- RHSA-2022:7279 Released 2022-11-01 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux BaseOS AUS (v. 8.2) bpftool-4.18.0-193.93.1.el8_2, kernel-4.18.0-193.93.1.el8_2, kernel-abi-whitelists-4.18.0-193.93.1.el8_2 +14
- Red Hat Enterprise Linux BaseOS E4S (v. 8.2) bpftool-4.18.0-193.93.1.el8_2, kernel-4.18.0-193.93.1.el8_2, kernel-abi-whitelists-4.18.0-193.93.1.el8_2 +14
- Red Hat Enterprise Linux BaseOS TUS (v. 8.2) bpftool-4.18.0-193.93.1.el8_2, kernel-4.18.0-193.93.1.el8_2, kernel-abi-whitelists-4.18.0-193.93.1.el8_2 +14
- RHSA-2022:7280 Released 2022-11-01 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux Real Time TUS (v. 8.2) kernel-rt-4.18.0-193.93.1.rt13.143.el8_2, kernel-rt-core-4.18.0-193.93.1.rt13.143.el8_2, kernel-rt-debug-4.18.0-193.93.1.rt13.143.el8_2 +7
- Red Hat Enterprise Linux Real Time for NFV TUS (v. 8.2) kernel-rt-4.18.0-193.93.1.rt13.143.el8_2, kernel-rt-core-4.18.0-193.93.1.rt13.143.el8_2, kernel-rt-debug-4.18.0-193.93.1.rt13.143.el8_2 +9
- RHSA-2022:7171 Released 2022-10-25 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux Server AUS (v. 7.6) bpftool-3.10.0-957.99.1.el7, kernel-3.10.0-957.99.1.el7, kernel-abi-whitelists-3.10.0-957.99.1.el7 +8
- Red Hat Enterprise Linux Server E4S (v. 7.6) kernel-3.10.0-957.99.1.el7, kernel-abi-whitelists-3.10.0-957.99.1.el7, kernel-bootwrapper-3.10.0-957.99.1.el7 +8
- Red Hat Enterprise Linux Server Optional AUS (v. 7.6) kernel-tools-libs-devel-3.10.0-957.99.1.el7
- Red Hat Enterprise Linux Server Optional E4S (v. 7.6) kernel-debug-devel-3.10.0-957.99.1.el7, kernel-tools-libs-devel-3.10.0-957.99.1.el7
- Red Hat Enterprise Linux Server Optional TUS (v. 7.6) kernel-tools-libs-devel-3.10.0-957.99.1.el7
- Red Hat Enterprise Linux Server TUS (v. 7.6) bpftool-3.10.0-957.99.1.el7, kernel-3.10.0-957.99.1.el7, kernel-abi-whitelists-3.10.0-957.99.1.el7 +8
- RHSA-2022:7173 Released 2022-10-25 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux Server E4S (v. 7.6) kpatch-patch-3_10_0-957_84_1-1-6.el7, kpatch-patch-3_10_0-957_92_1-1-3.el7, kpatch-patch-3_10_0-957_94_1-1-2.el7 +2
- RHSA-2022:7146 Released 2022-10-25 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux Server AUS (v. 7.4) kernel-3.10.0-693.106.1.el7, kernel-abi-whitelists-3.10.0-693.106.1.el7, kernel-debug-3.10.0-693.106.1.el7 +7
- Red Hat Enterprise Linux Server Optional AUS (v. 7.4) kernel-tools-libs-devel-3.10.0-693.106.1.el7
- RHSA-2022:7134 Released 2022-10-25 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-372.32.1.rt7.189.el8_6, kernel-rt-core-4.18.0-372.32.1.rt7.189.el8_6, kernel-rt-debug-4.18.0-372.32.1.rt7.189.el8_6 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-372.32.1.rt7.189.el8_6, kernel-rt-core-4.18.0-372.32.1.rt7.189.el8_6, kernel-rt-debug-4.18.0-372.32.1.rt7.189.el8_6 +7
- RHSA-2022:7137 Released 2022-10-25 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS (v. 8) kpatch-patch-4_18_0-372_13_1-1-2.el8_6, kpatch-patch-4_18_0-372_16_1-1-2.el8_6, kpatch-patch-4_18_0-372_19_1-1-1.el8_6 +2
- RHSA-2022:7110 Released 2022-10-25 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-372.32.1.el8_6, kernel-4.18.0-372.32.1.el8_6, kernel-abi-stablelists-4.18.0-372.32.1.el8_6 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-372.32.1.el8_6
- Red Hat Virtualization 4 Hypervisor for RHEL 8 kernel-devel-4.18.0-372.32.1.el8_6, perf-4.18.0-372.32.1.el8_6
- RHSA-2022:6983 Released 2022-10-18 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux BaseOS EUS (v.8.4) bpftool-4.18.0-305.65.1.el8_4, kernel-4.18.0-305.65.1.el8_4, kernel-abi-stablelists-4.18.0-305.65.1.el8_4 +19
- Red Hat Enterprise Linux CRB EUS (v.8.4) kernel-tools-libs-devel-4.18.0-305.65.1.el8_4
- RHSA-2022:6991 Released 2022-10-18 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux NFV EUS (v.8.4) kernel-rt-4.18.0-305.65.1.rt7.137.el8_4, kernel-rt-core-4.18.0-305.65.1.rt7.137.el8_4, kernel-rt-debug-4.18.0-305.65.1.rt7.137.el8_4 +9
- Red Hat Enterprise Linux RT EUS (v.8.4) kernel-rt-4.18.0-305.65.1.rt7.137.el8_4, kernel-rt-core-4.18.0-305.65.1.rt7.137.el8_4, kernel-rt-debug-4.18.0-305.65.1.rt7.137.el8_4 +7
- RHSA-2022:6978 Released 2022-10-18 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS EUS (v.8.4) kpatch-patch-4_18_0-305_25_1-1-9.el8_4, kpatch-patch-4_18_0-305_45_1-1-3.el8_4, kpatch-patch-4_18_0-305_49_1-1-2.el8_4 +2
- RHSA-2022:6875 Released 2022-10-11 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS E4S (v. 8.1) kpatch-patch-4_18_0-147_64_1-1-4.el8_1, kpatch-patch-4_18_0-147_65_1-1-3.el8_1, kpatch-patch-4_18_0-147_67_1-1-2.el8_1 +2
- RHSA-2022:6872 Released 2022-10-11 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS E4S (v. 8.1) bpftool-4.18.0-147.76.1.el8_1, kernel-4.18.0-147.76.1.el8_1, kernel-abi-whitelists-4.18.0-147.76.1.el8_1 +14
- RHSA-2022:6551 Released 2022-09-19 · Red Hat rating ImportantRed Hat Virtualization security update
- Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host-4.5.2-202209140405_8.6, redhat-virtualization-host-image-update-4.5.2-202209140405_8.6
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-02387 Use after free in linuxPriority LOW 39
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix yet |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2022:7110, RHSA-2022:7137 |
| Red Hat Enterprise Linux BaseOS AUS (v. 8.2) | Fixed | RHSA-2022:7279 |
| Red Hat Enterprise Linux BaseOS E4S (v. 8.1) | Fixed | RHSA-2022:6872, RHSA-2022:6875 |
| Red Hat Enterprise Linux BaseOS E4S (v. 8.2) | Fixed | RHSA-2022:7279, RHSA-2022:7885 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.4) | Fixed | RHSA-2022:6978, RHSA-2022:6983 |
| Red Hat Enterprise Linux BaseOS TUS (v. 8.2) | Fixed | RHSA-2022:7279 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2022:7110 |
| Red Hat Enterprise Linux CRB EUS (v.8.4) | Fixed | RHSA-2022:6983 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2022:7337 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2022:7337 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2022:7337 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2022:7134 |
| Red Hat Enterprise Linux NFV EUS (v.8.4) | Fixed | RHSA-2022:6991 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2022:7134 |
| Red Hat Enterprise Linux RT EUS (v.8.4) | Fixed | RHSA-2022:6991 |
| Red Hat Enterprise Linux Real Time TUS (v. 8.2) | Fixed | RHSA-2022:7280 |
| Red Hat Enterprise Linux Real Time for NFV TUS (v. 8.2) | Fixed | RHSA-2022:7280 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2022:7337, RHSA-2022:7344 |
| Red Hat Enterprise Linux Server AUS (v. 7.4) | Fixed | RHSA-2022:7146 |
| Red Hat Enterprise Linux Server AUS (v. 7.6) | Fixed | RHSA-2022:7171 |
| Red Hat Enterprise Linux Server AUS (v. 7.7) | Fixed | RHSA-2023:4022 |
| Red Hat Enterprise Linux Server E4S (v. 7.6) | Fixed | RHSA-2022:7171, RHSA-2022:7173 |
| Red Hat Enterprise Linux Server E4S (v. 7.7) | Fixed | RHSA-2023:4022, RHSA-2023:4023 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2022:7337 |
| Red Hat Enterprise Linux Server Optional AUS (v. 7.4) | Fixed | RHSA-2022:7146 |
| Red Hat Enterprise Linux Server Optional AUS (v. 7.6) | Fixed | RHSA-2022:7171 |
| Red Hat Enterprise Linux Server Optional AUS (v. 7.7) | Fixed | RHSA-2023:4022 |
| Red Hat Enterprise Linux Server Optional E4S (v. 7.6) | Fixed | RHSA-2022:7171 |
| Red Hat Enterprise Linux Server Optional E4S (v. 7.7) | Fixed | RHSA-2023:4022 |
| Red Hat Enterprise Linux Server Optional TUS (v. 7.6) | Fixed | RHSA-2022:7171 |
| Red Hat Enterprise Linux Server Optional TUS (v. 7.7) | Fixed | RHSA-2023:4022 |
| Red Hat Enterprise Linux Server TUS (v. 7.6) | Fixed | RHSA-2022:7171 |
| Red Hat Enterprise Linux Server TUS (v. 7.7) | Fixed | RHSA-2023:4022 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2022:7337 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2022:7337 |
| Red Hat Enterprise Linux for Real Time (v. 7) | Fixed | RHSA-2022:7338 |
| Red Hat Enterprise Linux for Real Time for NFV (v. 7) | Fixed | RHSA-2022:7338 |
| Red Hat Virtualization 4 Hypervisor for RHEL 8 | Fixed | RHSA-2022:6551, RHSA-2022:7110 |
Not affected: 2 products
- RHEL 8-based RHEV-H for RHEV 4 (build requirements)
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2022-2588
References
Advisory 12
- https://ubuntu.com/security/notices/USN-5565-1
- https://ubuntu.com/security/notices/USN-5562-1
- https://ubuntu.com/security/notices/USN-5582-1
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2588
- https://ubuntu.com/security/notices/USN-5564-1
- https://ubuntu.com/security/notices/USN-5566-1
- https://www.zerodayinitiative.com/advisories/ZDI-22-1117/
- https://ubuntu.com/security/notices/USN-5588-1
- https://ubuntu.com/security/notices/USN-5560-1
- https://ubuntu.com/security/notices/USN-5567-1
- https://ubuntu.com/security/notices/USN-5560-2
- https://ubuntu.com/security/notices/USN-5557-1
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-2588 · CVE Program
- CVE-2022-2588 · NVD
- FIRST EPSS
- CVE-2022-2588 · 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