CVE-2023-6531 Kernel: gc's deletion of an skb races with unix_stream_read_generic() leading to uaf
A race condition in the Linux kernel's unix garbage collector causes a use-after-free, potentially allowing local attackers to execute code or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-6531?
CVE-2023-6531 is a high-severity use after free vulnerability in Linux kernel, published on 21 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A use-after-free flaw was found in the Linux Kernel due to a race problem in the unix garbage collector's deletion of SKB races with unix_stream_read_generic() on the socket that the SKB is queued on.
Weakness: CWE-362
Which versions are affected by CVE-2023-6531?
It affects 2 products.
Linux distribution packages (4)
kernel-livepatch-SLE15-SP2_Update_44 SUSE:Linux Enterprise Live Patching 15 SP2 | All versions | 4-150200.2.3 |
kernel-livepatch-SLE15-SP2_Update_45 SUSE:Linux Enterprise Live Patching 15 SP2 | All versions | 3-150200.2.3 |
kernel-livepatch-SLE15-SP3_Update_40 SUSE:Linux Enterprise Live Patching 15 SP3 | All versions | 4-150300.2.3 |
kernel-livepatch-SLE15-SP3_Update_41 SUSE:Linux Enterprise Live Patching 15 SP3 | All versions | 3-150300.2.3 |
Products include Linux kernel, Redhat Enterprise Linux.
How do I fix CVE-2023-6531?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2023-6531 being exploited?
There is no known exploitation of CVE-2023-6531 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-33963, AZL-34867, BELL-CVE-2023-6531, DEBIAN-CVE-2023-6531, GHSA-xh36-8q3w-g243, SUSE-SU-2024:1033-1 and 2 more.