VDB

CVE-2026-74558

CVE-2026-74558 PUBLISHED

xsk: reclaim invalid Tx descriptors in ZC batch path

Reported by linux · Published August 15, 2026

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.

EPSS 0.16% · 4.8th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-toolsAmazon Linux1:6.12.114-139.210.amzn2023
bpftool6.12Amazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.114-139.210.amzn2023
perf6.12Amazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-develAmazon Linux1:6.12.114-139.210.amzn2023
kernel-livepatch-6.12.114-139.210Amazon Linux1:1.0-0.amzn2023
kernel6.12-headersAmazon Linux1:6.12.114-139.210.amzn2023
LinuxLinux6.6, 56036bdc445c468b1defd1780ed2af4a3fc7ddb2, 2c0a8cc97a9d970a252f17aa0bbf4588768f7aad

Risk scores

EPSS Score
0.16%
4.8th percentile

Affected products

VendorProductVersions
LinuxLinuxcf24f5a5feeaae34c1a34d1e04f8ac697290427a, cf24f5a5feeaae34c1a34d1e04f8ac697290427a, cf24f5a5feeaae34c1a34d1e04f8ac697290427a
LinuxLinux6.6, 0, 6.12.114
amazon:2023kernel6.12-tools0
amazon:2023bpftool6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023perf6.120
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.12.114-139.2100
amazon:2023kernel6.12-headers0
LinuxLinux6.12.114, *, *
amazon:2023kernel6.12-tools-devel0
amazon:2023python3-perf6.120
linuxlinux_kernel6.6, 6.6, 6.6
amazon:2023kernel6.120

Timeline

  • Aug 15, 2026 CVE Published
  • Aug 16, 2026 EPSS Score (13 in total, the first dated here)
  • Aug 19, 2026 Security Advisory
  • Oct 21, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74558
vulnetix vdb fixes CVE-2026-74558

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74558/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›