CVE-2023-4622

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

HIGH
7
CVSS Score
Published: September 6, 2023 at 01:56 PM UTC
Updated: September 17, 2026 at 08:27 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Kernel by Linux?

Get instant alerts when new vulnerabilities affect Kernel - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7
Exploit prediction
EPSS 0.6%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.15 ≤ v < 4.19.2934.2 ≤ v < 4.14.3244.20 ≤ v < 5.4.2555.11 ≤ v < 5.15.1285.16 ≤ v < 6.1.475.5 ≤ v < 5.10.1926.2 ≤ v < 6.4.124.154.24.205.115.165.56.2
Affected range stops below 4.14.324, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.19.293, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.10.192, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.15.128, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.4.255, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.1.47, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.4.12, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.5 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card