
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-53250 is a time-of-check-time-of-use (TOCTOU) race condition vulnerability in the Linux kernel's xsk_skb_metadata() function within the AF_XDP (XSK) subsystem. The flaw was published on June 25, 2026, and affects Linux kernel versions from 6.8 onward, with fixes available in 6.18.36, 7.0.13, and 7.1. The vulnerability arises because TX metadata fields (csum_start and csum_offset) reside in a UMEM buffer that is memory-mapped and concurrently writable by userspace, allowing a race between validation and use. It carries a CVSS v3.1 base score of 7.8 (High) (GitHub Advisory).
The root cause is a classic TOCTOU race condition (CWE-367) in xsk_skb_metadata(): csum_start and csum_offset are read from shared UMEM memory for bounds validation, then read a second time for assignment to the socket buffer (skb). Because the UMEM buffer is memory-mapped and writable by userspace, a malicious local process can race to overwrite these values between the two reads, bypassing the bounds check and triggering out-of-bounds memory access during checksum computation in the kernel's transmit path. The fix caches both values into local kernel variables on a single read, ensuring the validated values are identical to those subsequently used. Other metadata fields (flags, launch_time) may still be mutually inconsistent due to concurrent writes, but this is considered benign since they are not security-critical in the same way (GitHub Advisory).
Successful exploitation allows a local attacker with low privileges and access to AF_XDP socket functionality to trigger out-of-bounds memory reads in the kernel, potentially disclosing sensitive kernel memory contents. The CVSS assessment rates confidentiality, integrity, and availability impacts all as High, meaning a successful exploit could lead to kernel memory disclosure, data corruption, or system instability/crash. The attack is confined to the local system (no network-based exploitation), but could facilitate privilege escalation or information gathering to support further attacks (GitHub Advisory).
mmap(), gaining shared memory access to the TX metadata area.csum_start and csum_offset in the UMEM TX metadata with values that pass bounds validation.csum_start or csum_offset with out-of-bounds values immediately after the kernel's first read (bounds check) but before the second read (skb assignment) in xsk_skb_metadata().AF_XDP/SOCK_RAW) with UMEM registrations, especially from non-network-administrative users.dmesg or /var/log/kern.log referencing xsk_skb_metadata() or out-of-bounds access in the XSK transmit path.socket(AF_XDP, ...), mmap(), and setsockopt() calls related to XDP UMEM registration from unexpected processes or users.Apply the available kernel patches: the fix is included in Linux kernel 6.18.36, 7.0.13, and 7.1 (upstream commit). Administrators should update to a patched kernel version as the primary remediation. As a workaround, restrict unprivileged access to AF_XDP socket creation using Linux capabilities (CAP_NET_RAW) or seccomp/AppArmor/SELinux policies to limit which processes can create AF_XDP sockets. Monitor systems running vulnerable kernel versions (6.8 through pre-patch) for suspicious AF_XDP socket activity (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."