Use-after-free vulnerability in the Linux Kernel
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 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
There is a use-after-free vulnerability in the Linux Kernel which can be exploited to achieve local privilege escalation. To reach the vulnerability kernel configuration flag CONFIG_TLS or CONFIG_XFRM_ESPINTCP has to be configured, but the operation does not require any privilege. There is a use-after-free bug of icsk_ulp_data of a struct inet_connection_sock. When CONFIG_TLS is enabled, user can install a tls context (struct tls_context) on a connected tcp socket. The context is not cleared if this socket is disconnected and reused as a listener. If a new socket is created from the listener, the context is inherited and vulnerable. The setsockopt TCP_ULP operation does not require any privilege. We recommend upgrading past commit 2c02d41d71f90a5168391b6a5f2954112ba2307c
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- 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
No affected products listed by the sources yet.
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.13.0 to before 4.14.303; 4.19 to before 4.19.270; 5.4 to before 5.4.229; 5.10 to before 5.10.163; 5.15 to before 5.15.88; 6.0 to before 6.0.19; 6.1 to before 6.1.5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:* | 6.2 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:* | 6.2 rc2 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.13.0 to before 4.14.303; 4.19 to before 4.19.270; 5.4 to before 5.4.229; 5.10 to before 5.10.163; 5.15 to before 5.15.88; 6.0 to before 6.0.19; 6.1 to before 6.1.5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:* Versions 6.2 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:* Versions 6.2 rc2 Vulnerable ·Linux
Remediation
Red Hat 18 advisories
- RHSA-2023:4146 Released 2023-07-18 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS E4S (v. 8.2) kpatch-patch-4_18_0-193_100_1-1-2.el8_2, kpatch-patch-4_18_0-193_105_1-1-1.el8_2, kpatch-patch-4_18_0-193_95_1-1-4.el8_2 +1
- RHSA-2023:4125 Released 2023-07-18 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux BaseOS AUS (v. 8.2) bpftool-4.18.0-193.109.1.el8_2, kernel-4.18.0-193.109.1.el8_2, kernel-abi-whitelists-4.18.0-193.109.1.el8_2 +14
- Red Hat Enterprise Linux BaseOS E4S (v. 8.2) bpftool-4.18.0-193.109.1.el8_2, kernel-4.18.0-193.109.1.el8_2, kernel-abi-whitelists-4.18.0-193.109.1.el8_2 +14
- Red Hat Enterprise Linux BaseOS TUS (v. 8.2) bpftool-4.18.0-193.109.1.el8_2, kernel-4.18.0-193.109.1.el8_2, kernel-abi-whitelists-4.18.0-193.109.1.el8_2 +14
- RHSA-2023:4126 Released 2023-07-18 · 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.109.1.rt13.160.el8_2, kernel-rt-core-4.18.0-193.109.1.rt13.160.el8_2, kernel-rt-debug-4.18.0-193.109.1.rt13.160.el8_2 +7
- Red Hat Enterprise Linux Real Time for NFV TUS (v. 8.2) kernel-rt-4.18.0-193.109.1.rt13.160.el8_2, kernel-rt-core-4.18.0-193.109.1.rt13.160.el8_2, kernel-rt-debug-4.18.0-193.109.1.rt13.160.el8_2 +9
Show 15 more Red Hat advisories
- RHSA-2023:3491 Released 2023-06-06 · Red Hat rating ImportantRed Hat Virtualization Host 4.4.z SP 1 security update
- Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host-4.5.3-202306050942_8.6, redhat-virtualization-host-image-update-4.5.3-202306050942_8.6
- RHSA-2023:3490 Released 2023-06-06 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS EUS (v.9.0) kpatch-patch-5_14_0-70_30_1-1-6.el9_0, kpatch-patch-5_14_0-70_36_1-1-5.el9_0, kpatch-patch-5_14_0-70_43_1-1-4.el9_0 +3
- RHSA-2023:3465 Released 2023-06-06 · Red Hat rating Importantkernel security and bug fix update
- Red Hat CodeReady Linux Builder EUS (v.9.0) kernel-tools-libs-devel-5.14.0-70.58.1.el9_0
- Red Hat Enterprise Linux AppStream EUS (v.9.0) kernel-debug-devel-5.14.0-70.58.1.el9_0, kernel-debug-devel-matched-5.14.0-70.58.1.el9_0, kernel-devel-5.14.0-70.58.1.el9_0 +5
- Red Hat Enterprise Linux BaseOS EUS (v.9.0) bpftool-5.14.0-70.58.1.el9_0, kernel-5.14.0-70.58.1.el9_0, kernel-abi-stablelists-5.14.0-70.58.1.el9_0 +14
- RHSA-2023:3470 Released 2023-06-06 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux Real Time EUS (v.9.0) kernel-rt-5.14.0-70.58.1.rt21.129.el9_0, kernel-rt-core-5.14.0-70.58.1.rt21.129.el9_0, kernel-rt-debug-5.14.0-70.58.1.rt21.129.el9_0 +7
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.0) kernel-rt-5.14.0-70.58.1.rt21.129.el9_0, kernel-rt-core-5.14.0-70.58.1.rt21.129.el9_0, kernel-rt-debug-5.14.0-70.58.1.rt21.129.el9_0 +9
- RHSA-2023:3191 Released 2023-05-17 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS E4S (v. 8.1) kpatch-patch-4_18_0-147_76_1-1-4.el8_1, kpatch-patch-4_18_0-147_77_1-1-4.el8_1, kpatch-patch-4_18_0-147_78_1-1-3.el8_1 +2
- RHSA-2023:3190 Released 2023-05-17 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS E4S (v. 8.1) bpftool-4.18.0-147.83.1.el8_1, kernel-4.18.0-147.83.1.el8_1, kernel-abi-whitelists-4.18.0-147.83.1.el8_1 +14
- RHSA-2023:2951 Released 2023-05-16 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-477.10.1.el8_8, kernel-4.18.0-477.10.1.el8_8, kernel-abi-stablelists-4.18.0-477.10.1.el8_8 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-477.10.1.el8_8
- RHSA-2023:2736 Released 2023-05-16 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-core-4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-debug-4.18.0-477.10.1.rt7.274.el8_8 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-core-4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-debug-4.18.0-477.10.1.rt7.274.el8_8 +7
- RHSA-2023:2458 Released 2023-05-09 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-284.11.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.11.1.el9_2, kernel-64k-devel-5.14.0-284.11.1.el9_2 +10
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.0.0-284.11.1.el9_2, kernel-5.14.0-284.11.1.el9_2, kernel-64k-5.14.0-284.11.1.el9_2 +29
- Red Hat Enterprise Linux CRB (v. 9) kernel-tools-libs-devel-5.14.0-284.11.1.el9_2
- RHSA-2023:2148 Released 2023-05-09 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux NFV (v. 9) kernel-rt-5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-core-5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-debug-5.14.0-284.11.1.rt14.296.el9_2 +11
- Red Hat Enterprise Linux RT (v. 9) kernel-rt-5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-core-5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-debug-5.14.0-284.11.1.rt14.296.el9_2 +9
- RHSA-2023:1923 Released 2023-04-21 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS EUS (v.8.6) kpatch-patch-4_18_0-372_32_1-1-6.el8_6, kpatch-patch-4_18_0-372_36_1-1-5.el8_6, kpatch-patch-4_18_0-372_40_1-1-5.el8_6 +3
- RHSA-2023:1841 Released 2023-04-18 · Red Hat rating Importantkernel security and bug fix update
- Red Hat CodeReady Linux Builder EUS (v.8.6) kernel-tools-libs-devel-4.18.0-372.52.1.el8_6
- Red Hat Enterprise Linux BaseOS EUS (v.8.6) bpftool-4.18.0-372.52.1.el8_6, kernel-4.18.0-372.52.1.el8_6, kernel-abi-stablelists-4.18.0-372.52.1.el8_6 +19
- Red Hat Virtualization 4 Hypervisor for RHEL 8 kernel-devel-4.18.0-372.52.1.el8_6, perf-4.18.0-372.52.1.el8_6
- RHSA-2023:1662 Released 2023-04-05 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS EUS (v.8.4) kpatch-patch-4_18_0-305_65_1-1-5.el8_4, kpatch-patch-4_18_0-305_71_1-1-4.el8_4, kpatch-patch-4_18_0-305_72_1-1-3.el8_4 +2
- RHSA-2023:1557 Released 2023-04-04 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux BaseOS EUS (v.8.4) bpftool-4.18.0-305.86.2.el8_4, kernel-4.18.0-305.86.2.el8_4, kernel-abi-stablelists-4.18.0-305.86.2.el8_4 +19
- Red Hat Enterprise Linux CRB EUS (v.8.4) kernel-tools-libs-devel-4.18.0-305.86.2.el8_4
- RHSA-2023:1556 Released 2023-04-04 · 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.86.2.rt7.160.el8_4, kernel-rt-core-4.18.0-305.86.2.rt7.160.el8_4, kernel-rt-debug-4.18.0-305.86.2.rt7.160.el8_4 +9
- Red Hat Enterprise Linux RT EUS (v.8.4) kernel-rt-4.18.0-305.86.2.rt7.160.el8_4, kernel-rt-core-4.18.0-305.86.2.rt7.160.el8_4, kernel-rt-debug-4.18.0-305.86.2.rt7.160.el8_4 +7
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 EUS (v.8.6) | Fixed | RHSA-2023:1841 |
| Red Hat CodeReady Linux Builder EUS (v.9.0) | Fixed | RHSA-2023:3465 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:2458 |
| Red Hat Enterprise Linux AppStream EUS (v.9.0) | Fixed | RHSA-2023:3465 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2023:2951 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2023:2458 |
| Red Hat Enterprise Linux BaseOS AUS (v. 8.2) | Fixed | RHSA-2023:4125 |
| Red Hat Enterprise Linux BaseOS E4S (v. 8.1) | Fixed | RHSA-2023:3190, RHSA-2023:3191 |
| Red Hat Enterprise Linux BaseOS E4S (v. 8.2) | Fixed | RHSA-2023:4125, RHSA-2023:4146 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.4) | Fixed | RHSA-2023:1557, RHSA-2023:1662 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.6) | Fixed | RHSA-2023:1841, RHSA-2023:1923 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.0) | Fixed | RHSA-2023:3465, RHSA-2023:3490 |
| Red Hat Enterprise Linux BaseOS TUS (v. 8.2) | Fixed | RHSA-2023:4125 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2023:2951 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2023:2458 |
| Red Hat Enterprise Linux CRB EUS (v.8.4) | Fixed | RHSA-2023:1557 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2023:2736 |
| Red Hat Enterprise Linux NFV (v. 9) | Fixed | RHSA-2023:2148 |
| Red Hat Enterprise Linux NFV EUS (v.8.4) | Fixed | RHSA-2023:1556 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2023:2736 |
| Red Hat Enterprise Linux RT (v. 9) | Fixed | RHSA-2023:2148 |
| Red Hat Enterprise Linux RT EUS (v.8.4) | Fixed | RHSA-2023:1556 |
| Red Hat Enterprise Linux Real Time EUS (v.9.0) | Fixed | RHSA-2023:3470 |
| Red Hat Enterprise Linux Real Time TUS (v. 8.2) | Fixed | RHSA-2023:4126 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.0) | Fixed | RHSA-2023:3470 |
| Red Hat Enterprise Linux Real Time for NFV TUS (v. 8.2) | Fixed | RHSA-2023:4126 |
| Red Hat Virtualization 4 Hypervisor for RHEL 8 | Fixed | RHSA-2023:1841, RHSA-2023:3491 |
Not affected: 3 products
- RHEL 8-based RHEV-H for RHEV 4 (build requirements)
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2023-0461
- 2026-10-03 Alias added: GHSA-222x-4qhm-7h5f
- 2026-10-14 EPSS moved to the 50th–90th percentile
References
Patch 2
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-2023-0461 · CVE Program
- CVE-2023-0461 · NVD
- FIRST EPSS
- GHSA-222x-4qhm-7h5f · GitHub Advisory Database · CC BY 4.0
- CVE-2023-0461 · 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