CVE-2023-4622

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

State
Published
Severity
7.8 High
Published
Sep 6, 2023
Updated
Sep 17, 2026
Reserved
Aug 30, 2023

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HGoogle

Weaknesses

Affected Products

ProductVersions
KernelLinux
  • 4.2 to before 4.14.324Affected
  • 4.15 to before 4.19.293Affected
  • 4.20 to before 5.4.255Affected
  • 5.5 to before 5.10.192Affected
  • 5.11 to before 5.15.128Affected
  • 5.16 to before 6.1.47Affected
  • 6.2 to before 6.4.12Affected
  • 6.5Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.