Description
In the Linux kernel, the following vulnerability has been resolved:

xsk: cache csum_start/csum_offset to fix TOCTOU in xsk_skb_metadata()

The TX metadata area resides in the UMEM buffer which is memory-mapped
and concurrently writable by userspace. In xsk_skb_metadata(),
csum_start and csum_offset are read from shared memory for bounds
validation, then read again for skb assignment. A malicious userspace
application can race to overwrite these values between the two reads,
bypassing the bounds check and causing out-of-bounds memory access
during checksum computation in the transmit path.

Fix this by reading csum_start and csum_offset into local variables
once, then using the local copies for both validation and assignment.

Note that other metadata fields (flags, launch_time) and the cached
csum fields may be mutually inconsistent due to concurrent userspace
writes, but this is benign: the only security-critical invariant is
that each field's validated value is the same one used, which local
caching guarantees.
Published: 2026-06-25
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A race condition in the Linux kernel’s AF_XDP socket handling allows a malicious userspace program to overwrite certain checksum metadata fields between two reads, bypassing bounds checks and causing the kernel to perform an out‑of‑bounds memory access during checksum computation. The resulting out‑of‑bounds access can corrupt kernel memory or crash the system.

Affected Systems

All Linux kernel installations that expose the AF_XDP socket interface and use the default snapshot of the code before the patch that caches csum_start and csum_offset locally are affected. The vulnerability is present in the kernel source tree; thus any distribution building from that source without the patch is vulnerable.

Risk and Exploitability

The defect is a local race condition; the attacker must run a userspace process that can create an AF_XDP socket and map the UMEM buffer. The CVSS score of 7.8 indicates high severity, while the EPSS score of less than 1% suggests a very low yet non‑zero likelihood of exploitation. The flaw is not listed in CISA’s KEV catalog. A successful exploit can lead to kernel memory corruption or a denial of service, making it a high‑risk vulnerability.

Generated by OpenCVE AI on August 13, 2026 at 19:11 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the patch which caches csum_start and csum_offset locally (the commit that fixes this race condition).
  • If a kernel upgrade is not possible, prevent userspace from mapping UMEM buffers by disabling or restricting the af_xdp kernel module or limiting its use to trusted interfaces only.
  • As an additional mitigation, disable XDP programs on the affected interfaces or change the XDP mode to "skb" so traffic is not processed via the vulnerable transmit path.
  • Continuously monitor kernel logs (e.g., dmesg, journal) for signs of out‑of‑bounds memory accesses, crashes, or kernel panics, and enable kernel protection mechanisms such as CONFIG_DEBUG_BUGON or page‑table isolation.

Generated by OpenCVE AI on August 13, 2026 at 19:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
CWE-362

Tue, 30 Jun 2026 00:45:00 +0000


Sun, 28 Jun 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
CWE-362

Sun, 28 Jun 2026 11:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
CWE-362

Sun, 28 Jun 2026 08:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Thu, 25 Jun 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
CWE-362

Thu, 25 Jun 2026 09:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xsk: cache csum_start/csum_offset to fix TOCTOU in xsk_skb_metadata() The TX metadata area resides in the UMEM buffer which is memory-mapped and concurrently writable by userspace. In xsk_skb_metadata(), csum_start and csum_offset are read from shared memory for bounds validation, then read again for skb assignment. A malicious userspace application can race to overwrite these values between the two reads, bypassing the bounds check and causing out-of-bounds memory access during checksum computation in the transmit path. Fix this by reading csum_start and csum_offset into local variables once, then using the local copies for both validation and assignment. Note that other metadata fields (flags, launch_time) and the cached csum fields may be mutually inconsistent due to concurrent userspace writes, but this is benign: the only security-critical invariant is that each field's validated value is the same one used, which local caching guarantees.
Title xsk: cache csum_start/csum_offset to fix TOCTOU in xsk_skb_metadata()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:34:33.657Z

Reserved: 2026-06-09T07:44:35.394Z

Link: CVE-2026-53250

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-06-25T09:16:42.960

Modified: 2026-07-08T13:04:07.603

Link: CVE-2026-53250

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-06-25T00:00:00Z

Links: CVE-2026-53250 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T19:15:03Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition