CVE-2023-4622

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
06/09/2023
Last modified:
13/02/2025

Description

A use-after-free vulnerability in the Linux kernel&amp;#39;s af_unix component can be exploited to achieve local privilege escalation.<br /> <br /> The unix_stream_sendpage() function tries to add data to the last skb in the peer&amp;#39;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.<br /> <br /> We recommend upgrading past commit 790c2f9d15b594350ae9bca7b236f2b1859de02c.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.2 (including) 6.1.47 (excluding)
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*