CVE-2023-4622: Local privilege escalation in Linux kernel AF_UNIX unix_stream_sendpage()
- Vendors
- Debian ProjectLinux
CVE-2023-4622 is a use-after-free vulnerability in the Linux kernel AF_UNIX subsystem. The unix_stream_sendpage() function attempts to append data to the last socket buffer (skb) in a peer's receive queue without locking the queue. Concurrent garbage collection can release that buffer while the function accesses it, resulting in a use-after-free. A local attacker can exploit this race condition to escalate privileges.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can enable local privilege escalation and compromise system confidentiality, integrity, and availability. The vulnerability has a CVSS v3 base score of 7.0, reflecting local access, low required privileges, high attack complexity, and no required user interaction.
Mitigation
If you can’t patch tonight, do this now.
Until a fixed kernel or supported live patch can be deployed, limit untrusted local code execution and tenant access on affected hosts. Restrict shell access, container workloads, and other mechanisms that permit untrusted users or processes to exercise local AF_UNIX socket operations. These measures reduce exposure but do not eliminate the underlying kernel race condition.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update incorporating commit 790c2f9d15b594350ae9bca7b236f2b1859de02c or an equivalent backported fix, then reboot into the updated kernel. Fixed releases include RHEL 7 kernel 3.10.0-1160.118.1.el7, RHEL 7.7 AUS kernel 3.10.0-1062.90.1.el7, and RHEL 8 kernel 4.18.0-513.11.1.el8_9 for their respective product streams. Supported Red Hat deployments can alternatively apply the applicable vendor-provided kpatch update to patch the running kernel; ensure the live patch matches the installed kernel and is loaded.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-4622 exploited in the wild?
- As of Oct 23, 2026, Mallory has no reports of CVE-2023-4622 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-4622?
- As of Oct 23, 2026, Mallory has found no public exploit for CVE-2023-4622.
- Is there a patch for CVE-2023-4622?
- Install a vendor-supported kernel update incorporating commit 790c2f9d15b594350ae9bca7b236f2b1859de02c or an equivalent backported fix, then reboot into the updated kernel. Fixed releases include RHEL 7 kernel 3.10.0-1160.118.1.el7, RHEL 7.7 AUS kernel 3.10.0-1062.90.1.el7, and RHEL 8 kernel 4.18.0-513.11.1.el8_9 for their respective product streams.
- What products are affected by CVE-2023-4622?
- Linux Kernel and Debian Project Debian Linux.
- How severe is CVE-2023-4622?
- CVE-2023-4622 has a CVSS v3.1 score of 7.0 (High) and an EPSS score of 0.53% (39th percentile) as of Oct 23, 2026.
Recent activity
36 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.