cve.bz

CVE-2023-0461 linux linux kernel: Use After Free

7.8 highEPSS 0.7%Fix available

High (7.8) in linux linux kernel. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-08-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-0461 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-0461?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-0461?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-0461 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 4.13.0 before 4.14.303
linux:linux_kernelfrom 4.19 before 4.19.270
linux:linux_kernelfrom 5.4 before 5.4.229
linux:linux_kernelfrom 5.10 before 5.10.163
linux:linux_kernelfrom 5.15 before 5.15.88
linux:linux_kernelfrom 6.0 before 6.0.19
linux:linux_kernelfrom 6.1 before 6.1.5
linux:linux_kernel6.2:rc1
linux:linux_kernel6.2:rc2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.282-1DLA-3403-1
Debian10linux-5.105.10.178-3~deb10u1DLA-3404-1
Debian12, 13, 14linux6.1.7-1DEBIAN-CVE-2023-0461
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-0461
Ubuntu18.04:LTSlinux4.15.0-206.217UBUNTU-CVE-2023-0461 USN-5920-1
Ubuntu18.04:LTSlinux-aws4.15.0-1151.164UBUNTU-CVE-2023-0461 USN-5920-1
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1097.105~18.04.1UBUNTU-CVE-2023-0461 USN-5917-1
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1162.177UBUNTU-CVE-2023-0461 USN-5927-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1104.110~18.04.1UBUNTU-CVE-2023-0461 USN-5917-1
Ubuntu18.04:LTSlinux-dell300x4.15.0-1061.66UBUNTU-CVE-2023-0461 USN-5920-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-0461
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1146.162UBUNTU-CVE-2023-0461 USN-5920-1
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1101.110~18.04.1UBUNTU-CVE-2023-0461 USN-5939-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-144.161~18.04.1UBUNTU-CVE-2023-0461 USN-5917-1
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1045.50~18.04.1UBUNTU-CVE-2023-0461 USN-5951-1
95 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-477.10.1.el8_8RHSA-2023:2951
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-477.10.1.el8_8RHSA-2023:2951
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-477.10.1.rt7.274.el8_8RHSA-2023:2736
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-477.10.1.rt7.274.el8_8RHSA-2023:2736
Red Hatenterprise_linux:9::appstreamperf, rtla, kernel-doc and 22 more0:5.14.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crbbpftool-debuginfo0:7.0.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.0.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 40 more0:5.14.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::crbperf-debuginfo, kernel-debuginfo, kernel-64k-debuginfo and 10 more0:5.14.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 14 more0:5.14.0-284.11.1.rt14.296.el9_2RHSA-2023:2148
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 12 more0:5.14.0-284.11.1.rt14.296.el9_2RHSA-2023:2148
Red Hatrhel_aus:8.2::baseos, rhel_tus:8.2::baseosperf, kernel, bpftool and 21 more0:4.18.0-193.109.1.el8_2RHSA-2023:4125
41 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-default-base5.3.18-150200.24.148.1.150200.9.71.1SUSE-SU-2023:1800-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.148.1SUSE-SU-2023:1800-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.118.1SUSE-SU-2023:1811-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 7 morekernel-default-base5.3.18-150300.59.118.1.150300.18.68.1SUSE-SU-2023:1811-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.186.1SUSE-SU-2023:4784-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-150100.197.165.1SUSE-SU-2023:4882-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.148.1SUSE-SU-2023:1800-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.118.1SUSE-SU-2023:1811-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 4 morekernel-default5.14.21-150400.24.55.3SUSE-SU-2023:1710-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Module for Legacy 15 SP5 and 1 morekernel-default5.14.21-150500.55.7.1SUSE-SU-2023:2871-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1kernel-docs, kernel-syms, kernel-source and 2 more4.12.14-150100.197.165.1SUSE-SU-2023:4882-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_511-8.3.1SUSE-SU-2023:4784-1
47 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.118.1SUSE-SU-2023:1811-1
openSUSELeap 15.4dtb-aarch64, kernel-docs, kernel-syms and 1 more5.14.21-150400.24.55.1SUSE-SU-2023:1710-1
openSUSELeap 15.4kernel-64kb, kernel-source, kernel-zfcpdump5.14.21-150400.24.55.2SUSE-SU-2023:1710-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.37.1SUSE-SU-2023:0774-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.40.1SUSE-SU-2023:1608-1
openSUSELeap 15.4kernel-debug, kernel-default, kernel-kvmsmall and 1 more5.14.21-150400.24.55.3SUSE-SU-2023:1710-1
openSUSELeap 15.4kernel-debug, kernel-default, kernel-kvmsmall and 1 more4.12.14-150100.197.165.1SUSE-SU-2023:4882-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.18.1SUSE-SU-2023:1609-1
openSUSELeap 15.4, Leap Micro 5.3kernel-default-base5.14.21-150400.24.55.3.150400.24.22.7SUSE-SU-2023:1710-1
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.7.1SUSE-SU-2023:2871-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.3.1SUSE-SU-2023:2646-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.7.1.150500.6.2.5SUSE-SU-2023:2871-1
3 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more4.18.0-477.10.1.rt7.274.el8_8ALSA-2023:2736
AlmaLinux8perf, kernel, bpftool and 21 more4.18.0-477.10.1.el8_8ALSA-2023:2951
AlmaLinux9bpftool7.0.0-284.11.1.el9_2ALSA-2023:2458
AlmaLinux9kernel-rt, kernel-rt-kvm, kernel-rt-core and 11 more5.14.0-284.11.1.rt14.296.el9_2ALSA-2023:2148
AlmaLinux9perf, rtla, kernel and 43 more5.14.0-284.11.1.el9_2ALSA-2023:2458
Azure Linux2kernel5.15.102.1-1AZL-25353

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Versions of Red Hat Enterprise Linux before 8 are not affected by this vulnerability as they did not include the upstream commit 734942c ("tcp: ULP infrastructure").

Red Hat's mitigation

To mitigate this issue, prevent module tls from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-477.10.1.rt7.274.el8_8Fixed 2023-05-16RHSA-2023:2736
Red Hat Enterprise Linux 8kernel-0:4.18.0-477.10.1.el8_8Fixed 2023-05-16RHSA-2023:2951
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskernel-0:4.18.0-147.83.1.el8_1Fixed 2023-05-17RHSA-2023:3190
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskpatch-patchFixed 2023-05-17RHSA-2023:3191
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.109.1.el8_2Fixed 2023-07-18RHSA-2023:4125
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-rt-0:4.18.0-193.109.1.rt13.160.el8_2Fixed 2023-07-18RHSA-2023:4126
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-0:4.18.0-193.109.1.el8_2Fixed 2023-07-18RHSA-2023:4125
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskernel-0:4.18.0-193.109.1.el8_2Fixed 2023-07-18RHSA-2023:4125
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskpatch-patchFixed 2023-07-18RHSA-2023:4146
Red Hat Enterprise Linux 8.4 Extended Update Supportkernel-rt-0:4.18.0-305.86.2.rt7.160.el8_4Fixed 2023-04-04RHSA-2023:1556
Red Hat Enterprise Linux 8.4 Extended Update Supportkernel-0:4.18.0-305.86.2.el8_4Fixed 2023-04-04RHSA-2023:1557
Red Hat Enterprise Linux 8.4 Extended Update Supportkpatch-patchFixed 2023-04-05RHSA-2023:1662
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.52.1.el8_6Fixed 2023-04-18RHSA-2023:1841
Red Hat Enterprise Linux 8.6 Extended Update Supportkpatch-patchFixed 2023-04-21RHSA-2023:1923
Red Hat Enterprise Linux 9kernel-0:5.14.0-284.11.1.el9_2Fixed 2023-05-09RHSA-2023:2458
Red Hat Enterprise Linux 9kernel-rt-0:5.14.0-284.11.1.rt14.296.el9_2Fixed 2023-05-09RHSA-2023:2148
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-0:5.14.0-70.58.1.el9_0Fixed 2023-06-06RHSA-2023:3465
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
4 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-0461.

References

Check your stackJSON