CVE-2026-53250 Details
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.
A vulnerability in the Linux kernel's handling of checksum metadata in the xsk (eXpress Data Path) subsystem can lead to out-of-bounds memory access. This issue arises because the TX metadata area is in a memory-mapped buffer that userspace can write to concurrently. The vulnerability occurs in the function xsk_skb_metadata(), where the fields csum_start and csum_offset are read from shared memory for validation, and then read again for assignment. A malicious userspace application can exploit the timing of these operations to overwrite the checksum values, bypassing the validation and causing memory access errors during checksum processing in the transmission path. The vulnerability has been addressed by modifying the code to read the checksum values into local variables before performing validation and assignment, ensuring that the validated values are consistent and reducing the risk of exploitation.
Users can upgrade to the patched version of the Linux kernel available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0dfe05b938435892875e07771170051346412df9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/22ba97ea9cc1f63a0d0244fae38057ed452b6ac7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/bfdfd2706d5fb2cd496a1506e680daf979309c8b | kernel.org | Patch |
| https://git.kernel.org/stable/c/eb778aed8a9b2381668fcb1247ae4fa011224768 | kernel.org |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.8, < 6.18.36 >= 6.19, < 7.0.13 7.1 rc1 7.1 rc2 7.1 rc3 7.1 rc4 7.1 rc5 7.1 rc6 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 14, 2026 | CVE Modified | kernel.org |
| Jul 8, 2026 | Initial Analysis | [email protected] |
| Jun 28, 2026 | CVE Modified | kernel.org |
| Jun 25, 2026 | New CVE Received | kernel.org |