2084AI Security Observatory

CVE

CVE-2023-52502

CVE-2023-52502HIGH 8.8EPSS 16%

CNA description

In the Linux kernel, the following vulnerability has been resolved: net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn() Sili Luo reported a race in nfc_llcp_sock_get(), leading to UAF. Getting a reference on the socket found in a lookup while holding a lock should happen before releasing the lock. nfc_llcp_sock_get_sn() has a similar problem. Finally nfc_llcp_recv_snl() needs to make sure the socket found by nfc_llcp_sock_from_sn() does not disappear.

Affected versions

All Linux kernel vulnerabilities →

  • 6.6-rc5This version only
  • 6.6-rc4This version only
  • 6.6-rc3This version only
  • 6.6-rc2This version only
  • 6.6-rc1This version only
  • ≥ 6.2, < 6.5.8Fixed in 6.5.8
  • ≥ 5.16, < 6.1.59Fixed in 6.1.59
  • ≥ 5.11, < 5.15.136Fixed in 5.15.136
  • ≥ 5.5, < 5.10.199Fixed in 5.10.199
  • ≥ 4.20, < 5.4.259Fixed in 5.4.259
  • ≥ 3.6, < 4.19.297Fixed in 4.19.297

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.