# CVE-2023-4622: Use-after-free in Linux kernel's af_unix component

- Severity: High 7.8 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-02)
- Published: 2023-09-06T13:56:56.355Z
- Modified: 2026-09-17T20:16:47.693Z
- Weaknesses: CWE-416
- Assigned by: Google

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

(As written by CVE List.)

## Affected

- kernel: from 4.2 before 4.14.324; from 4.15 before 4.19.293; from 4.20 before 5.4.255; from 5.5 before 5.10.192; from 5.11 before 5.15.128; from 5.16 before 6.1.47; from 6.2 before 6.4.12 (not affected: 6.5)
- linux linux_kernel: from 4.2 before 4.14.324; from 4.15 before 4.19.293; from 4.20 before 5.4.255; from 5.5 before 5.10.192; from 5.11 before 5.15.128; from 5.16 before 6.1.47; from 6.2 before 6.4.12
- debian debian_linux: 10.0; 12.0

## Every score

- Google: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4821df2ffe38d629170edc266e65fa05970e0745> (patch)
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.1.y&id=790c2f9d15b594350ae9bca7b236f2b1859de02c> (issue-tracking, mailing-list, patch, vendor-advisory)
- <https://kernel.dance/790c2f9d15b594350ae9bca7b236f2b1859de02c> (patch, vendor-advisory)
- <https://www.debian.org/security/2023/dsa-5492> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html> (mailing-list, third-party-advisory)
- <http://packetstormsecurity.com/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2023-4622](https://www.cve.org/CVERecord?id=CVE-2023-4622), CVE Terms of Use, modified 2026-09-17
- NVD: [CVE-2023-4622](https://nvd.nist.gov/vuln/detail/CVE-2023-4622), Public domain, modified 2026-09-17

---

Page: https://cve.day/CVE-2023-4622 · Whole record: https://cve.day/CVE-2023-4622.json · Rebuilt by cve.day 2026-11-25T22:58:27.724Z
