2084AI Security Observatory

CVE

CVE-2023-0461

CVE-2023-0461HIGH 7.8EPSS 52%

CNA 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

Affected versions

All Linux kernel vulnerabilities →

  • 6.2-rc2This version only
  • 6.2-rc1This version only
  • ≥ 6.1, < 6.1.5Fixed in 6.1.5
  • ≥ 6.0, < 6.0.19Fixed in 6.0.19
  • ≥ 5.15, < 5.15.88Fixed in 5.15.88
  • ≥ 5.10, < 5.10.163Fixed in 5.10.163
  • ≥ 5.4, < 5.4.229Fixed in 5.4.229
  • ≥ 4.19, < 4.19.270Fixed in 4.19.270
  • ≥ 4.13.0, < 4.14.303Fixed in 4.14.303

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.