2084AI Security Observatory

CVE

CVE-2023-4622

CVE-2023-4622HIGH 7.0EPSS 51%

CNA description

A use-after-free vulnerability in the Linux kernel's af_unix component can be exploited to achieve local privilege escalation. The unix_stream_sendpage() function tries to add data to the last skb in the peer's recv queue without locking the queue. Thus there is a race where unix_stream_sendpage() could access an skb locklessly that is being released by garbage collection, resulting in use-after-free. We recommend upgrading past commit 790c2f9d15b594350ae9bca7b236f2b1859de02c (or backported equivalents).

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 6.2, < 6.4.12Fixed in 6.4.12
  • ≥ 5.16, < 6.1.47Fixed in 6.1.47
  • ≥ 5.11, < 5.15.128Fixed in 5.15.128
  • ≥ 5.5, < 5.10.192Fixed in 5.10.192
  • ≥ 4.20, < 5.4.255Fixed in 5.4.255
  • ≥ 4.15, < 4.19.293Fixed in 4.19.293
  • ≥ 4.2, < 4.14.324Fixed in 4.14.324

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.