Skip to content
7.8 High

CVE-2023-4622 A use-after-free vulnerability in the Linux kernel's af_unix component can be exploited to achieve local privilege…

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 products and versions

Product Affected versions Fixed in
kernel 6.5 earliest → < 6.5 6.5
kernel 6.2 6.2 → < 6.4.12 6.4.12
kernel 5.16 5.16 → < 6.1.47 6.1.47
kernel 5.11 5.11 → < 5.15.128 5.15.128
kernel 5.5 5.5 → < 5.10.192 5.10.192
kernel 4.20 4.20 → < 5.4.255 5.4.255
kernel 4.15 4.15 → < 4.19.293 4.19.293
kernel 4.2 4.2 → < 4.14.324 4.14.324

References

Timeline

  1. Published
  2. Last modified
The 97 CVEs of kernel →
Track this CVE