CVE-2023-54218
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54218 is a data race (load-tearing) vulnerability in the Linux kernel's networking subsystem, specifically in the sock_recv_cmsgs() function. The flaw involves a missing READ_ONCE() annotation on the read access to sk->sk_stamp, which was detected by KCSAN (Kernel Concurrency Sanitizer) as a data race in packet_recvmsg. It affects the Linux kernel across multiple stable branches, with fixes applied to several stable trees. The CVSS category is estimated as Medium, with an EPSS score of 0.000240 (Feedly, VulDB).

Technical details

The root cause is a concurrent read/write data race (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization) on the sk->sk_stamp field within sock_recv_cmsgs() in include/net/sock.h. One task performs a marked write via sock_write_timestamp() while another task concurrently reads the same memory location without the required READ_ONCE() macro, allowing the compiler or CPU to tear the 8-byte load across multiple accesses. The race manifests in the packet_recvmsg code path (net/packet/af_packet.c:3489) and is triggered when two tasks simultaneously call packet_recvmsg on the same socket. The fix adds READ_ONCE() to the read access to prevent load-tearing (Feedly).

Impact

Exploitation of this data race could lead to undefined behavior due to torn reads of the sk_stamp timestamp field, potentially resulting in incorrect timestamp values being returned to userspace applications or kernel instability. The primary impact is on availability and integrity of socket timestamp data; confidentiality impact is limited. In the worst case, the race condition could contribute to kernel memory corruption or information disclosure, though practical exploitation for privilege escalation has not been demonstrated (Feedly, VulDB).

Mitigation and workarounds

The fix has been applied to multiple Linux kernel stable branches via patches to include/net/sock.h, adding READ_ONCE() to the sk->sk_stamp read in sock_recv_cmsgs(). Affected users should update to a patched kernel version corresponding to their stable branch (patches available at kernel.org stable commits: 564c3150, 7145f230, 83192200, d06f67b2, d7343f8d). Linux distribution vendors (e.g., Red Hat) are expected to backport this fix into their supported kernel packages; users should apply the latest kernel updates from their distribution (Feedly, Red Hat CVE).

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-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 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