CVE-2023-0461

Use-after-free vulnerability in the Linux Kernel

Description

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

Category

7.8
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.12%
Third-Party Advisory debian.org Third-Party Advisory debian.org
Affected: Linux Linux Kernel
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-0461?
CVE-2023-0461 has been scored as a high severity vulnerability.
How to fix CVE-2023-0461?
To fix CVE-2023-0461, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-0461 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-0461 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-0461?
CVE-2023-0461 affects Linux Linux Kernel.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.