First published: Wed Sep 06 2023(Updated: )
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.
Credit: cve-coordination@google.com cve-coordination@google.com cve-coordination@google.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/Kernel | <6.4.12 | 6.4.12 |
Linux Kernel | <=6.4.15 | |
Debian GNU/Linux | =12.0 | |
debian/linux | 5.10.223-1 5.10.226-1 6.1.123-1 6.1.128-1 6.12.12-1 6.12.13-1 | |
Android | ||
Linux Kernel | >=4.2<6.1.47 | |
Debian | =10.0 | |
Debian | =12.0 | |
IBM Security Verify Governance - Identity Manager | <=ISVG 10.0.2 | |
IBM Security Verify Governance, Identity Manager | <=ISVG 10.0.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-4622 is a use-after-free vulnerability in the Linux kernel's af_unix component that can be exploited to achieve local privilege escalation.
The severity of CVE-2023-4622 is high (7.8).
CVE-2023-4622 can be exploited by using the unix_stream_sendpage() function to add data to the last skb in the peer's recv queue without locking the queue, creating a race condition.
The Linux kernel versions up to and including 6.4.15 and Debian Linux version 12.0 are affected by CVE-2023-4622.
To fix CVE-2023-4622, update the Linux kernel to versions 6.1.52-1 or higher and Debian Linux to version 6.5.3-1 or higher.