CVE-2023-4622CWE-416

CVE-2023-4622

High · published September 6, 2023

CVSS v3.1
7.8
EPSS
1%
Percentile
49.0
In the wild
Unconfirmed
What it is

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).

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00619 · 49.0th percentile
Weakness
CWE-416 · Use After Free
Published
2023-09-06T18:15Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 4.2, < 4.14.3244.14.324
linux/linux_kernel≥ 4.15, < 4.19.2934.19.293
linux/linux_kernel≥ 4.20, < 5.4.2555.4.255
linux/linux_kernel≥ 5.5, < 5.10.1925.10.192
linux/linux_kernel≥ 5.11, < 5.15.1285.15.128
linux/linux_kernel≥ 5.16, < 6.1.476.1.47
linux/linux_kernel≥ 6.2, < 6.4.126.4.12
debian/debian_linuxall versions—
debian/debian_linuxall versions—
References (13)
EPSS history
Timeline
  • 06 SEP 13:56Z
    Use-after-free in Linux kernel's af_unix component
    cvelistv5