CVE-2023-4622

HIGHCVSS 7/10EPSS 0.61%

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 (or backported equivalents).. EPSS estimates a 0.61% 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 (or backported equivalents).

Metrics

EPSS Probability
0.61%

47.8th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
LinuxLinux Kernel>= 4.2, < 4.14.324
LinuxLinux Kernel>= 4.15, < 4.19.293
LinuxLinux Kernel>= 4.20, < 5.4.255
LinuxLinux Kernel>= 5.5, < 5.10.192
LinuxLinux Kernel>= 5.11, < 5.15.128
LinuxLinux Kernel>= 5.16, < 6.1.47
LinuxLinux Kernel>= 6.2, < 6.4.12
DebianDebian Linux10.0
DebianDebian Linux12.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2023-4622?
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).
How severe is CVE-2023-4622?
CVE-2023-4622 has a CVSS score of 7/10 (HIGH severity). The EPSS model estimates a 0.61% probability of exploitation in the next 30 days.
How do I fix CVE-2023-4622?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2023

Are you affected by CVE-2023-4622?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST