# CVE-2023-0461: Use-after-free vulnerability in the Linux Kernel

- Severity: High 7.8 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2023-02-28T14:23:02.224Z
- Modified: 2026-06-17T05:25:36.220Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Google

## 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

(As written by CVE List.)

## Affected

- kernel: before 2c02d41d71f90a5168391b6a5f2954112ba2307c
- linux linux_kernel: from 4.13.0 before 4.14.303; from 4.19 before 4.19.270; from 5.4 before 5.4.229; from 5.10 before 5.10.163; from 5.15 before 5.15.88; from 6.0 before 6.0.19; from 6.1 before 6.1.5; 6.2

## Every score

- Google: 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`
- NVD: 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`

## References

- <https://kernel.dance/#2c02d41d71f90a5168391b6a5f2954112ba2307c> (patch)
- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2c02d41d71f90a5168391b6a5f2954112ba2307c> (mailing-list, patch)
- <https://lists.debian.org/debian-lts-announce/2023/05/msg00005.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/05/msg00006.html> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20230331-0006/>

## Sources

- CVE List: [CVE-2023-0461](https://www.cve.org/CVERecord?id=CVE-2023-0461), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2023-0461](https://nvd.nist.gov/vuln/detail/CVE-2023-0461), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-0461 · Whole record: https://cve.day/CVE-2023-0461.json · Rebuilt by cve.day 2026-11-25T22:58:22.186Z
