{"id":"CVE-2023-0461","summary":"Use-after-free vulnerability in the Linux Kernel","details":"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.\n\nThere is a use-after-free bug of icsk_ulp_data of a struct inet_connection_sock.\n\nWhen 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.\n\nThe setsockopt TCP_ULP operation does not require any privilege.\n\nWe recommend upgrading past commit 2c02d41d71f90a5168391b6a5f2954112ba2307c","modified":"2026-10-08T02:47:50.977293314Z","published":"2023-02-28T14:23:02.224Z","related":["ALSA-2023:2148","ALSA-2023:2458","ALSA-2023:2736","ALSA-2023:2951","SUSE-SU-2023:0749-1","SUSE-SU-2023:0749-2","SUSE-SU-2023:0774-1","SUSE-SU-2023:1608-1","SUSE-SU-2023:1609-1","SUSE-SU-2023:1710-1","SUSE-SU-2023:1800-1","SUSE-SU-2023:1811-1","SUSE-SU-2023:1892-1","SUSE-SU-2023:2371-1","SUSE-SU-2023:2384-1","SUSE-SU-2023:2405-1","SUSE-SU-2023:2416-1","SUSE-SU-2023:2423-1","SUSE-SU-2023:2425-1","SUSE-SU-2023:2431-1","SUSE-SU-2023:2443-1","SUSE-SU-2023:2448-1","SUSE-SU-2023:2455-1","SUSE-SU-2023:2468-1","SUSE-SU-2023:2646-1","SUSE-SU-2023:2809-1","SUSE-SU-2023:2871-1","SUSE-SU-2023:4735-1","SUSE-SU-2023:4784-1","SUSE-SU-2023:4882-1","SUSE-SU-2023:4883-1","SUSE-SU-2024:1039-1","SUSE-SU-2024:1097-1"],"database_specific":{"cna_assigner":"Google","cwe_ids":["CWE-416"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0461.json"},"references":[{"type":"WEB","url":"https://git.kernel.org"},{"type":"WEB","url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2c02d41d71f90a5168391b6a5f2954112ba2307c"},{"type":"WEB","url":"https://kernel.dance/#2c02d41d71f90a5168391b6a5f2954112ba2307c"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/05/msg00005.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/05/msg00006.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0461.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0461"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230331-0006/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org","events":[{"introduced":"0"},{"fixed":"2c02d41d71f90a5168391b6a5f2954112ba2307c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-0461.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}