CVE-2023-4622

Use-after-free in Linux kernel's af_unix component

Published Sep 6, 2023 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3623-1 linux-5.10 security update
Debian DLA Debian DLA DLA-3710-1 linux security update
Debian DSA Debian DSA DSA-5492-1 linux security update
EUVD EUVD EUVD-2023-54475 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.
Ubuntu USN Ubuntu USN USN-6415-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-6439-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6439-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-6440-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6440-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-6440-3 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-6441-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6441-2 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-6441-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6442-1 Linux kernel (BlueField) vulnerabilities
Ubuntu USN Ubuntu USN USN-6444-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6444-2 Linux kernel (StarFive) vulnerabilities
Ubuntu USN Ubuntu USN USN-6445-1 Linux kernel (Intel IoTG) vulnerabilities
Ubuntu USN Ubuntu USN USN-6445-2 Linux kernel (Intel IoTG) vulnerabilities
Ubuntu USN Ubuntu USN USN-6446-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6446-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6446-3 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-6466-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
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. 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).
References
Type Values Removed Values Added
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. 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.
Type Values Removed Values Added
CPEs cpe:/o:redhat:rhel_aus:7.7