CVE-2026-53250CWE-367

CVE-2026-53250

High · published June 25, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
1.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00104 · 1.0th percentile
Weakness
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition
Published
2026-06-25T13:16Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 6.8, < 6.18.366.18.36
linux/linux_kernel≥ 6.19, < 7.0.137.0.13
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 25 JUN 08:39Z
    xsk: cache csum_start/csum_offset to fix TOCTOU in xsk_skb_metadata()
    cvelistv5