vulnerability

Amazon Linux AMI: CVE-2023-4622: Security patch for kernel (ALAS-2023-1838)

Severity
7
CVSS
(AV:L/AC:M/Au:S/C:C/I:C/A:C)
Published
Sep 6, 2023
Added
Oct 7, 2023
Modified
May 21, 2025

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.

Solution

amazon-linux-upgrade-kernel
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.