CVE-2023-4622
Last modified
CVE-2023-4622 is a high-severity vulnerability rated 7/10 on the CVSS scale. 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.. EPSS estimates a 0.55% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.2, < 6.1.47 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 12.0 |
References
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.1.y&id=790c2f9d15b594350ae9bca7b236f2b1859de02cIssue Tracking, Mailing List, Patch, Vendor Advisory
- https://kernel.dance/790c2f9d15b594350ae9bca7b236f2b1859de02cPatch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2023/10/msg00027.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2023/dsa-5492Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.1.y&id=790c2f9d15b594350ae9bca7b236f2b1859de02cIssue Tracking, Mailing List, Patch, Vendor Advisory
- https://kernel.dance/790c2f9d15b594350ae9bca7b236f2b1859de02cPatch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2023/10/msg00027.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2023/dsa-5492Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-4622?
How severe is CVE-2023-4622?
How do I fix CVE-2023-4622?
Are you affected by CVE-2023-4622?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
