{"id":"CVE-2023-4622","published":"2023-09-06T13:56:56Z","modified":"2026-09-17T19:26:48Z","title":"Use-after-free in Linux kernel's af_unix component","vendor":"Linux","product":"Kernel","tier":"tail","description":{"text":"A use-after-free vulnerability in the Linux kernel's af_unix component can be exploited to achieve local privilege escalation.\n\n\n\nThe 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.\n\n\n\nWe recommend upgrading past commit 790c2f9d15b594350ae9bca7b236f2b1859de02c (or backported equivalents).","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00619,"percentile":0.5058,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4821df2ffe38d629170edc266e65fa05970e0745","tags":["patch"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.1.y&id=790c2f9d15b594350ae9bca7b236f2b1859de02c","tags":["patch"]},{"url":"https://kernel.dance/790c2f9d15b594350ae9bca7b236f2b1859de02c","tags":[]},{"url":"https://www.debian.org/security/2023/dsa-5492","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html","tags":[]},{"url":"http://packetstormsecurity.com/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html","tags":[]}],"priority":{"score":20.6,"factors":[{"name":"EPSS percentile","points":10.12},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Kernel","versions":[">= 4.2, < 4.14.324",">= 4.15, < 4.19.293",">= 4.20, < 5.4.255",">= 5.5, < 5.10.192",">= 5.11, < 5.15.128",">= 5.16, < 6.1.47",">= 6.2, < 6.4.12"]}],"fixedVersions":[{"vendor":"Linux","product":"Kernel","versions":["6.5"]}],"capec":[{"id":"CAPEC-233","name":"Privilege Escalation"}],"euvd":{"id":"EUVD-2023-54475","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html"]}