# CVE-2026-74558: xsk: reclaim invalid Tx descriptors in ZC batch path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-08-15T12:28:02.628Z
- **Modified:** 2026-10-21T13:19:46.933Z

## Who should check

- Anyone running Linux \>= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, \< 56036bdc445c468b1defd1780ed2af4a3fc7ddb2; \>= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, \< 2c0a8cc97a9d970a252f17aa0bbf4588768f7aad; \>= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, \< e7ce2bad0c33471c8da4dd73dff2119a68f96f3a; \>= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, \< 72f2b4516faf55d4dfac2414649d3cffa5fd2c5e
- Anyone running Linux 6.6

## Description

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

xsk: reclaim invalid Tx descriptors in ZC batch path

The zero-copy Tx batch parser stops when it encounters an invalid
descriptor. If this happens after one or more continuation descriptors,
the Tx consumer can be advanced past fragments that are neither submitted
to the driver nor returned to userspace through the completion ring.

A similar problem occurs when a packet exceeds xdp\_zc\_max\_segs. The
descriptors consumed up to the limit are released without completion, and
the remaining continuation descriptors can subsequently be interpreted
as the beginning of another packet.

Parse Tx batches in packet units and distinguish descriptors belonging to
complete valid packets from descriptors consumed while draining an
invalid or oversized packet. Return the former to the driver and append
the latter to the CQ address area so userspace can reclaim their UMEM
frames.

Treat a standalone invalid descriptor as a one-descriptor reclaim-only
packet. Advancing the Tx-ring consumer releases the ring slot, but does
not by itself return ownership of the referenced UMEM frame to userspace.

Once draining starts, continue until the packet's end-of-packet
descriptor is consumed. Preserve the drain state on the socket when EOP
has not yet been supplied, so draining can continue during a later call.
Leave incomplete but otherwise valid packets on the Tx ring.

Shared-UMEM pools using multi-buffer Tx also need packet-framed parsing.
Walk their Tx sockets one packet at a time, preserving the existing
per-socket fairness scheme, instead of using the legacy one-descriptor
fallback. Keep that fallback for shared pools that do not use
multi-buffer Tx. Since the drain state is maintained per socket and both
the singular and shared paths can resume an interrupted drain, changing
the socket list from singular to shared requires no special bind-time
transition.

CQ entries are positional, and drivers may complete only part of the Tx
work returned by xsk\_tx\_peek\_release\_desc\_batch(). Therefore, reclaim-only
entries cannot be published immediately when earlier driver-visible
descriptors are still outstanding.

Track the number of driver-visible CQ entries preceding the reclaim
entries. Let xsk\_tx\_completed() publish partial hardware Tx completions,
and publish the reclaim entries only after every earlier Tx descriptor
has completed. Complete a reclaim-only batch immediately when there is no
driver-visible work in front of it, and prevent another Tx batch from
being appended while reclaim entries remain pending.

Also cap batch processing by the size of the pool's temporary descriptor
array, as Tx rings belonging to sockets sharing a UMEM may have different
sizes.

This ensures that every invalid Tx descriptor consumed by the ZC batch
path is either submitted to the driver as part of a valid packet or
returned to userspace without violating CQ completion ordering.

## Affected and fixed versions

- Linux: \>= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, \< 56036bdc445c468b1defd1780ed2af4a3fc7ddb2; \>= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, \< 2c0a8cc97a9d970a252f17aa0bbf4588768f7aad; \>= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, \< e7ce2bad0c33471c8da4dd73dff2119a68f96f3a; \>= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, \< 72f2b4516faf55d4dfac2414649d3cffa5fd2c5e (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 72f2b4516faf55d4dfac2414649d3cffa5fd2c5e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74558. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74558.md
Affected: Linux >= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, < 56036bdc445c468b1defd1780ed2af4a3fc7ddb2; >= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, < 2c0a8cc97a9d970a252f17aa0bbf4588768f7aad; >= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, < e7ce2bad0c33471c8da4dd73dff2119a68f96f3a; >= cf24f5a5feeaae34c1a34d1…
Fixed in: Linux 56036bdc445c468b1defd1780ed2af4a3fc7ddb2, Linux 2c0a8cc97a9d970a252f17aa0bbf4588768f7aad, Linux 72f2b4516faf55d4dfac2414649d3cffa5fd2c5e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74558 being exploited?

There is no confirmed exploitation: CVE-2026-74558 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74558?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-74558?

Linux \>= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, \< 56036bdc445c468b1defd1780ed2af4a3fc7ddb2; \>= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, \< 2c0a8cc97a9d970a252f17aa0bbf4588768f7aad; \>= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, \< e7ce2bad0c33471c8da4dd73dff2119a68f96f3a; \>= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, \< 72f2b4516faf55d4dfac2414649d3cffa5fd2c5e; Linux 6.6.

### Is there a fix for CVE-2026-74558?

Yes. Fixed in Linux 56036bdc445c468b1defd1780ed2af4a3fc7ddb2, Linux 2c0a8cc97a9d970a252f17aa0bbf4588768f7aad, Linux 72f2b4516faf55d4dfac2414649d3cffa5fd2c5e. Upgrade Linux to 72f2b4516faf55d4dfac2414649d3cffa5fd2c5e or later.

### How do I check if I'm affected by CVE-2026-74558?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/56036bdc445c468b1defd1780ed2af4a3fc7ddb2>
- other: <https://git.kernel.org/stable/c/2c0a8cc97a9d970a252f17aa0bbf4588768f7aad>
- other: <https://git.kernel.org/stable/c/e7ce2bad0c33471c8da4dd73dff2119a68f96f3a>
- other: <https://git.kernel.org/stable/c/72f2b4516faf55d4dfac2414649d3cffa5fd2c5e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74558>

HTML: <https://flawdb.com/CVE-2026-74558> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74558>
