CVE-2025-40046
published high CVSS 3.1 · 8.6io_uring/zcrx: fix overshooting recv limit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux6699ec9a23f85f1764183430209c741847c45f12 to < 8bcc9eaf1b19f1a7029cba19f6bd4122b40f6c4f · 6699ec9a23f85f1764183430209c741847c45f12 to < 09cfd3c52ea76f43b3cb15e570aeddf633d65e80 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.17.3 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 6.17.7-1.1 | OPENSUSE-SU-2025:15702-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1011-oem | Advisory build | 6.17.0-1011.11 | USN-8048-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 6.17.7-1.1 | OPENSUSE-SU-2025:15702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 6.17.7-1.1 | OPENSUSE-SU-2025:15702-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 6.17.7-1.1 | OPENSUSE-SU-2025:15702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermaarch64 | Advisory build | 6.18.16-1.1 | OPENSUSE-SU-2026:10301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermppc64le | Advisory build | 6.18.16-1.1 | OPENSUSE-SU-2026:10301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longterms390x | Advisory build | 6.18.16-1.1 | OPENSUSE-SU-2026:10301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermx86_64 | Advisory build | 6.18.16-1.1 | OPENSUSE-SU-2026:10301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 6.17.7-1.1 | OPENSUSE-SU-2025:15702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 6.17.7-1.1 | OPENSUSE-SU-2025:15702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 6.17.7-1.1 | OPENSUSE-SU-2025:15702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 6.17.7-1.1 | OPENSUSE-SU-2025:15702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 6.17.7-1.1 | OPENSUSE-SU-2025:15702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 6.17.7-1.1 | OPENSUSE-SU-2025:15702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 6.17.7-1.1 | OPENSUSE-SU-2025:15702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 6.17.7-1.1 | OPENSUSE-SU-2025:15702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermaarch64 | Advisory build | 6.18.16-1.1 | OPENSUSE-SU-2026:10301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermppc64le | Advisory build | 6.18.16-1.1 | OPENSUSE-SU-2026:10301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longterms390x | Advisory build | 6.18.16-1.1 | OPENSUSE-SU-2026:10301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermx86_64 | Advisory build | 6.18.16-1.1 | OPENSUSE-SU-2026:10301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 6.17.7-1.1 | OPENSUSE-SU-2025:15702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 6.17.7-1.1 | OPENSUSE-SU-2025:15702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 6.17.7-1.1 | OPENSUSE-SU-2025:15702-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 6.17.7-1.1 | OPENSUSE-SU-2025:15702-1 |
| Ubuntu | noble | linux-headers-6.17.0-1011-oem | Advisory build | 6.17.0-1011.11 | USN-8048-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1011-oem | Advisory build | 6.17.0-1011.11 | USN-8048-1 |
| Ubuntu | noble | linux-modules-6.17.0-1011-oem | Advisory build | 6.17.0-1011.11 | USN-8048-1 |
| Ubuntu | noble | linux-modules-evdi-6.17.0-1011-oem | Advisory build | 6.17.0-1011.11 | USN-8048-1 |
| Ubuntu | noble | linux-modules-ipu6-6.17.0-1011-oem | Advisory build | 6.17.0-1011.11 | USN-8048-1 |
| Ubuntu | noble | linux-modules-ipu7-6.17.0-1011-oem | Advisory build | 6.17.0-1011.11 | USN-8048-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1011-oem | Advisory build | 6.17.0-1011.11 | USN-8048-1 |
| Ubuntu | noble | linux-modules-usbio-6.17.0-1011-oem | Advisory build | 6.17.0-1011.11 | USN-8048-1 |
| Ubuntu | noble | linux-modules-vision-6.17.0-1011-oem | Advisory build | 6.17.0-1011.11 | USN-8048-1 |
| Ubuntu | noble | linux-oem-6.17 | Advisory build | 6.17.0-1011.11 | USN-8048-1 |
| Ubuntu | noble | linux-oem-6.17-headers-6.17.0-1011 | Advisory build | 6.17.0-1011.11 | USN-8048-1 |
| Ubuntu | noble | linux-oem-6.17-tools-6.17.0-1011 | Advisory build | 6.17.0-1011.11 | USN-8048-1 |
| Ubuntu | noble | linux-tools-6.17.0-1011-oem | Advisory build | 6.17.0-1011.11 | USN-8048-1 |
| Ubuntu | questing | bpftool | Advisory build | 7.7.0+6.17.0-14.14 | USN-8029-1 |
| Ubuntu | questing | linux | Advisory build | 6.17.0-14.14 | USN-8029-1 |
| Ubuntu | questing | linux-aws | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-aws-cloud-tools-6.17.0-1007 | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-aws-headers-6.17.0-1007 | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-aws-tools-6.17.0-1007 | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-azure | Advisory build | 6.17.0-1008.8 | USN-8029-3 |
| Ubuntu | questing | linux-azure-cloud-tools-6.17.0-1008 | Advisory build | 6.17.0-1008.8 | USN-8029-3 |
| Ubuntu | questing | linux-azure-headers-6.17.0-1008 | Advisory build | 6.17.0-1008.8 | USN-8029-3 |
| Ubuntu | questing | linux-azure-tools-6.17.0-1008 | Advisory build | 6.17.0-1008.8 | USN-8029-3 |
| Ubuntu | questing | linux-buildinfo-6.17.0-1006-realtime | Advisory build | 6.17.0-1006.7 | USN-8029-1 |
| Ubuntu | questing | linux-buildinfo-6.17.0-1007-aws | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-buildinfo-6.17.0-1007-aws-64k | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-buildinfo-6.17.0-1007-gcp | Advisory build | 6.17.0-1007.7 | USN-8030-1 |
| Ubuntu | questing | linux-buildinfo-6.17.0-1007-gcp-64k | Advisory build | 6.17.0-1007.7 | USN-8030-1 |
| Ubuntu | questing | linux-buildinfo-6.17.0-1007-oracle | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-buildinfo-6.17.0-1007-oracle-64k | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-buildinfo-6.17.0-1008-azure | Advisory build | 6.17.0-1008.8 | USN-8029-3 |
| Ubuntu | questing | linux-buildinfo-6.17.0-1008-raspi | Advisory build | 6.17.0-1008.8 | USN-8029-1 |
| Ubuntu | questing | linux-buildinfo-6.17.0-14-generic | Advisory build | 6.17.0-14.14 | USN-8029-1 |
| Ubuntu | questing | linux-buildinfo-6.17.0-14-generic-64k | Advisory build | 6.17.0-14.14 | USN-8029-1 |
| Ubuntu | questing | linux-cloud-tools-6.17.0-1006-realtime | Advisory build | 6.17.0-1006.7 | USN-8029-1 |
| Ubuntu | questing | linux-cloud-tools-6.17.0-1007-aws | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-cloud-tools-6.17.0-1007-aws-64k | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-cloud-tools-6.17.0-1008-azure | Advisory build | 6.17.0-1008.8 | USN-8029-3 |
| Ubuntu | questing | linux-cloud-tools-6.17.0-14 | Advisory build | 6.17.0-14.14 | USN-8029-1 |
| Ubuntu | questing | linux-cloud-tools-6.17.0-14-generic | Advisory build | 6.17.0-14.14 | USN-8029-1 |
| Ubuntu | questing | linux-cloud-tools-common | Advisory build | 6.17.0-14.14 | USN-8029-1 |
| Ubuntu | questing | linux-gcp | Advisory build | 6.17.0-1007.7 | USN-8030-1 |
| Ubuntu | questing | linux-gcp-headers-6.17.0-1007 | Advisory build | 6.17.0-1007.7 | USN-8030-1 |
| Ubuntu | questing | linux-gcp-tools-6.17.0-1007 | Advisory build | 6.17.0-1007.7 | USN-8030-1 |
| Ubuntu | questing | linux-headers-6.17.0-1006-realtime | Advisory build | 6.17.0-1006.7 | USN-8029-1 |
| Ubuntu | questing | linux-headers-6.17.0-1007-aws | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-headers-6.17.0-1007-aws-64k | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-headers-6.17.0-1007-gcp | Advisory build | 6.17.0-1007.7 | USN-8030-1 |
| Ubuntu | questing | linux-headers-6.17.0-1007-gcp-64k | Advisory build | 6.17.0-1007.7 | USN-8030-1 |
| Ubuntu | questing | linux-headers-6.17.0-1007-oracle | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-headers-6.17.0-1007-oracle-64k | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-headers-6.17.0-1008-azure | Advisory build | 6.17.0-1008.8 | USN-8029-3 |
| Ubuntu | questing | linux-headers-6.17.0-1008-raspi | Advisory build | 6.17.0-1008.8 | USN-8029-1 |
| Ubuntu | questing | linux-headers-6.17.0-14 | Advisory build | 6.17.0-14.14 | USN-8029-1 |
| Ubuntu | questing | linux-headers-6.17.0-14-generic | Advisory build | 6.17.0-14.14 | USN-8029-1 |
| Ubuntu | questing | linux-headers-6.17.0-14-generic-64k | Advisory build | 6.17.0-14.14 | USN-8029-1 |
| Ubuntu | questing | linux-image-6.17.0-1008-raspi | Advisory build | 6.17.0-1008.8 | USN-8029-1 |
| Ubuntu | questing | linux-image-6.17.0-14-generic | Advisory build | 6.17.0-14.14 | USN-8029-1 |
| Ubuntu | questing | linux-image-unsigned-6.17.0-1006-realtime | Advisory build | 6.17.0-1006.7 | USN-8029-1 |
| Ubuntu | questing | linux-image-unsigned-6.17.0-1007-aws | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-image-unsigned-6.17.0-1007-aws-64k | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-image-unsigned-6.17.0-1007-gcp | Advisory build | 6.17.0-1007.7 | USN-8030-1 |
| Ubuntu | questing | linux-image-unsigned-6.17.0-1007-gcp-64k | Advisory build | 6.17.0-1007.7 | USN-8030-1 |
| Ubuntu | questing | linux-image-unsigned-6.17.0-1007-oracle | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-image-unsigned-6.17.0-1007-oracle-64k | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-image-unsigned-6.17.0-1008-azure | Advisory build | 6.17.0-1008.8 | USN-8029-3 |
| Ubuntu | questing | linux-image-unsigned-6.17.0-14-generic | Advisory build | 6.17.0-14.14 | USN-8029-1 |
| Ubuntu | questing | linux-image-unsigned-6.17.0-14-generic-64k | Advisory build | 6.17.0-14.14 | USN-8029-1 |
| Ubuntu | questing | linux-lib-rust-6.17.0-14-generic | Advisory build | 6.17.0-14.14 | USN-8029-1 |
| Ubuntu | questing | linux-modules-6.17.0-1006-realtime | Advisory build | 6.17.0-1006.7 | USN-8029-1 |
| Ubuntu | questing | linux-modules-6.17.0-1007-aws | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-modules-6.17.0-1007-aws-64k | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
| Ubuntu | questing | linux-modules-6.17.0-1007-gcp | Advisory build | 6.17.0-1007.7 | USN-8030-1 |
| Ubuntu | questing | linux-modules-6.17.0-1007-gcp-64k | Advisory build | 6.17.0-1007.7 | USN-8030-1 |
| Ubuntu | questing | linux-modules-6.17.0-1007-oracle | Advisory build | 6.17.0-1007.7 | USN-8029-2 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: io_uring/zcrx: fix overshooting recv limit It's reported that sometimes a zcrx request can receive more than was requested. It's caused by io_zcrx_recv_skb() adjusting desc->count for all received buffers including frag lists, but then doing recursive calls to process frag list skbs, which leads to desc->count double accounting and underflow.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
- Scenarios
- en: AV:N - The vulnerable function is a TCP read actor operating on skbs received from the remote peer, and the triggering condition — a `frag_list`-chained skb built by `skb_gro_receive()` when frags exceed `MAX_SKB_FRAGS` — is determined entirely by the remote sender's traffic pattern, not by any local action. A client connected to a zcrx-enabled network server triggers it over the wire. AC:L - A peer sending a sustained burst of TCP segments reliably drives GRO into the frag-list merge path, and the double-accounting underflow follows deterministically once the remaining `desc->count` budget is smaller than twice the frag-list bytes. No race and no attacker-uncontrollable state is involved. PR:N - The remote peer needs no credentials or privileges on the target — it only needs an established TCP connection to the zcrx-using service, which for a public-facing server is unauthenticated. The `capable(CAP_NET_ADMIN)` check in `io_register_zcrx_ifq()` is a property of the victim's own service setup, not a privilege the attacker must hold. UI:N - The overshoot occurs purely from processing inbound TCP data on an already-armed multishot `IORING_OP_RECV_ZC` request; no victim action beyond running the service is needed. S:U - The underflow, the over-read and the resulting request breakage are all confined to the kernel and the io_uring context that owns the socket and the registered zcrx area — no VM, IOMMU or sandbox boundary is crossed. C:L - The request is delivered socket data beyond the byte limit it explicitly requested, bypassing the read boundary that `IORING_OP_RECV_ZC`'s `len` is supposed to enforce; in designs where that limit demarcates data handed off to a different consumer the extra bytes are disclosed to the wrong one. There is no out-of-bounds read or kernel-memory leak, so the exposure is bounded to the connection's own stream. I:L - The kernel writes more data into the application's registered zcrx area than requested and advances the socket's `copied_seq` past the limit, consuming stream state that should have stayed queued, and `zc->len` is corrupted by an unsigned wrap. All writes remain within correctly sized objects, so there is no arbitrary-write or control-flow primitive. A:H - With `zc->len` wrapped to ~4 G the multishot recvzc request's completion condition can never be satisfied, so the request hangs indefinitely while unboundedly draining the socket, exhausting the zcrx area's niovs and overflowing the completion queue until it fails with a spurious `-ENOMEM`/`-ENOSPC`. A remote peer can reproduce this on every connection, rendering the affected network service non-functional.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 6699ec9a23f85f1764183430209c741847c45f12 to < 8bcc9eaf1b19f1a7029cba19f6bd4122b40f6c4f (affected · git)6699ec9a23f85f1764183430209c741847c45f12 to < 09cfd3c52ea76f43b3cb15e570aeddf633d65e80 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15 (affected)0 to < 6.15 (unaffected · semver)6.17.3 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
io_uring/zcrx: fix overshooting recv limit
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 09c5fbd97596fcab61a28d50729b4a3d5afb72d20437041035acce81554bc849
- Ingested
- 23 Sep 2026, 08:48:04 UTC
- Source record
- Official CVE record