data built 2026-10-19T13:16:53Z

Look up another CVE · open CVE-2026-53250 in the interactive tracker

CVE-2026-53250

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

7.8 EPSS 0.1% AV:L

Published 2026-06-25 (4 months ago) by the Linux kernel CNA. Subsystem net/xdp. Debian urgency: unimportant.

What to do, per Debian release

Debian's own status for CVE-2026-53250 in every release this site tracks, and what each one means in practice. Every status below is the one the Debian Security Team publishes for this CVE. source

ReleaseStatus VersionWhat this means
Debian 12bookwormnot affected6.1.190-1Nothing to do. bookworm never shipped the vulnerable code.
Debian 13trixiefixedDSA-6528-1 · 2026-09-29 · text6.12.111-1Update the kernel and reboot. DSA-6528-1 shipped the fix on 2026-09-29, in 6.12.111-1. A running kernel keeps the old code until the machine restarts.
Debian 14forkyfixed7.0.13-1Update the kernel and reboot. Fixed in 7.0.13-1. A running kernel keeps the old code until the machine restarts.
Debian unstablesidfixed7.0.13-1Update the kernel and reboot. Fixed in 7.0.13-1. A running kernel keeps the old code until the machine restarts.
Debian 12bookworm · linux-6.12fixedDLA-4817-1 · 2026-10-04 · text6.12.111-1~deb12u1Update the kernel and reboot. DLA-4817-1 shipped the fix on 2026-10-04, in 6.12.111-1~deb12u1. A running kernel keeps the old code until the machine restarts.

The vulnerability

What the bug is

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.

Where it lives

The fix touches these files. If the subsystem is one you do not use, the practical exposure is lower, though the package is still the vulnerable one.

net/xdp/xsk.c

What this is
XDP SOCKETS (AF_XDP)MAINTAINERS section matched on net/xdp/ · netdev@vger.kernel.org · Maintained

Check it on the machine

grep -w CONFIG_XDP_SOCKETS /boot/config-$(uname -r)

Reads the booted kernel's own configuration, on the machine and nowhere else. =y is built in, =m is a module, and an is not set line means the code is not there.

Show whether Debian builds this, per release

Debian builds this code. Every release below compiles the affected file into the kernels it ships.

  • bookworm, trixie, forky, sid, bookworm · linux-6.12y
y
built into the kernel image on every flavour - only a patch removes it
Build switch
CONFIG_XDP_SOCKETS

From the configuration Debian publishes for every kernel flavour it builds. It covers only the architectures Debian ships a linux-config package for, and nothing about a kernel you built yourself. Debian's own status above stays authoritative about the source package.MAINTAINERS kbuild Makefiles Debian linux-config packages

Signals

Published
2026-06-25 (4 months ago)source
CVSS
7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hsource recompute it
Attack vector
local (AV:L)source
EPSS
0.10%, higher than 1.0% of all CVEssource
CISA KEV
not listedthe KEV catalogue
Debian urgency
unimportantsource
Subsystem
net/xdp

Upstream fixes

The versions the CNA records as introducing and fixing this, and the commit for each. source

IntroducedFixed inCommit
6.86.12.110eb778aed8a9b
6.86.18.360dfe05b93843
6.87.0.13bfdfd2706d5f
6.87.122ba97ea9cc1

Debian advisories

AdvisoryDateShipped toDebian
DLA-4817-12026-10-04bookworm 6.12.111-1~deb12u1tracker
DSA-6528-12026-09-29trixie 6.12.111-1tracker

Why the CNA scored it this way

Quoted from the kernel CNA's own scoring file, word for word. A highlighted metric carries the most severe value CVSS v3.1 defines for it, which is what pushes the score up. source

AV:LAttack vector, local
The vulnerable path is reached by a local process using AF_XDP socket setup, UMEM registration, TX ring submission, and send/poll-driven transmit; it is not reachable directly from remote network packets.
AC:LAttack complexity, low
The attacker controls the UMEM metadata and can trigger TX from the same process, so the TOCTOU race can be created with attacker-controlled concurrent writes.
PR:LPrivileges required, low
AF_XDP socket creation requires CAP_NET_RAW in the relevant network namespace, which is attainable by a low-privileged local user in user/network namespace deployments.
UI:NUser interaction, none
No victim action is needed after the attacker has local execution; the attacker sets up the socket, UMEM, metadata, and transmit operation directly.
S:UScope, unchanged
The vulnerability corrupts or reads kernel networking memory within the same kernel security authority; this is standard local kernel attack surface, not a VM or hardware boundary crossing.
C:HConfidentiality impact, high
Racing csum_start/csum_offset can bypass validation and drive out-of-bounds checksum reads in kernel transmit checksum handling, so potential kernel memory disclosure is high.
I:HIntegrity impact, high
The same unvalidated checksum offsets can cause checksum writes to an attacker-influenced out-of-bounds location relative to skb data, making kernel memory corruption plausible.
A:HAvailability impact, high
The out-of-bounds memory access in the kernel transmit path can trigger warnings, faults, or kernel crashes and can be repeatedly exercised by the local attacker.