{"id":"CVE-2023-0461","published":"2023-02-28T14:23:02Z","modified":"2025-02-13T16:38:58Z","title":"Use-after-free vulnerability in the Linux Kernel","vendor":"Linux","product":"Linux Kernel","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00652,"percentile":0.52195,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://kernel.dance/#2c02d41d71f90a5168391b6a5f2954112ba2307c","tags":[]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2c02d41d71f90a5168391b6a5f2954112ba2307c","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/05/msg00005.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/05/msg00006.html","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230331-0006/","tags":[]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":10.44},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux Kernel","versions":["< 2c02d41d71f90a5168391b6a5f2954112ba2307c"]}],"capec":[{"id":"CAPEC-233","name":"Privilege Escalation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-01T15:55:09.289052Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-12515","exploited":false,"provenance":"source"}}