CVE-2023-4622
Executive Summary
CVE-2023-4622 is a use‑after‑free flaw in the Linux kernel’s af_unix module. The race in unix_stream_sendpage() allows an attacker to access a freed skb without proper locking, enabling local privilege escalation. The issue is fixed by commit 790c2f9d15b594350ae9bca7b236f2b1859de02c. No current CISA KEV listing.
Authoritative CVE Metadata
- CVSS Base Score: 7.8 (HIGH)
- Last Modified: 11-09-26
Original 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.