{"id":"CVE-2023-0461","aliases":["CVE-2023-0461"],"related":[],"kind":"vulnerability","state":"published","title":"Use-after-free vulnerability in the Linux Kernel","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.\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","summarySource":"cvelist","descriptions":[{"lang":"en","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","source":"cvelist"}],"published":"2023-02-28T14:23:02.224Z","modified":"2026-06-17T05:25:36.220Z","severity":{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"0","fixed":"2c02d41d71f90a5168391b6a5f2954112ba2307c","status":"affected"}],"vendor":"Linux","product":"Linux Kernel","package":"kernel","repo":"https://git.kernel.org","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.13.0","fixed":"4.14.303"},{"status":"affected","introduced":"4.19","fixed":"4.19.270"},{"status":"affected","introduced":"5.4","fixed":"5.4.229"},{"status":"affected","introduced":"5.10","fixed":"5.10.163"},{"status":"affected","introduced":"5.15","fixed":"5.15.88"},{"status":"affected","introduced":"6.0","fixed":"6.0.19"},{"status":"affected","introduced":"6.1","fixed":"6.1.5"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://kernel.dance/#2c02d41d71f90a5168391b6a5f2954112ba2307c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2c02d41d71f90a5168391b6a5f2954112ba2307c","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/05/msg00005.html","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/05/msg00006.html","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20230331-0006/","tags":[],"sources":["cvelist","nvd"]}],"credits":["slipper"],"assigner":"Google","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-08-01T15:55:09.289Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-0461","url":"https://www.cve.org/CVERecord?id=CVE-2023-0461","licence":"CVE Terms of Use","modified":"2025-02-13T16:38:58.993Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-0461","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0461","licence":"Public domain","modified":"2026-06-17T05:25:36.220Z"}],"updatedAt":"2026-11-25T22:58:22.186Z","epss":{"score":0.00652,"percentile":0.52551,"date":"2026-12-01T12:00:22.000Z"}}