CVE-2023-6531
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-6531 is a use-after-free vulnerability discovered in the Linux Kernel, specifically related to a race condition in the unix garbage collector's deletion of SKB (Socket Buffer) that races with unix_stream_read_generic() on the socket that the SKB is queued on. The vulnerability was first reported on December 5, 2023, and affects Linux Kernel versions up to (excluding) 6.7 (NVD).

Technical details

The vulnerability stems from a race condition where unix_stream_read_generic() assumes that mutex_lock(&u->iolock) protects sk->sk_receive_queue against element removal, so it holds a pointer to an SKB on the sk->sk_receive_queue without any other protection, while scan_inflight() only takes spin_lock(&x->sk_receive_queue.lock) when stealing SKBs from the sk_receive_queue. The issue has been assigned a CVSS v3.1 base score of 7.0 (HIGH) with vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (Red Hat).

Impact

The vulnerability could allow a local attacker to cause a denial of service (system crash) or potentially execute arbitrary code on the affected system. The high severity rating indicates significant potential impact on the confidentiality, integrity, and availability of the system (Ubuntu).

Exploitability

The vulnerability requires local access and high attack complexity to exploit. It specifically affects the Linux kernel's handling of io_uring over sockets, where file reference cycles have caused multiple problems. The issue was discovered and reported by Jann Horn (Kernel Patch).

Mitigation and workarounds

The vulnerability has been fixed in Linux Kernel 6.7-rc5 through a patch that completely disables sending io_uring files via sockets using SCM_RIGHT. This prevents possible cycles involving registered files and eliminates the need for SCM accounting on the io_uring side. Various Linux distributions have released security updates to address this vulnerability, including Red Hat Enterprise Linux 9 through RHSA-2024:2394 (Red Hat Bugzilla).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68427MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra
NoYesAug 10, 2026
CVE-2026-68426MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra-igx
NoYesAug 10, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 12, 2026
CVE-2026-68430NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-partner
NoYesAug 12, 2026
CVE-2026-68428NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-ibm-6.8
NoYesAug 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management