CVE-2025-40046

Source
https://cve.org/CVERecord?id=CVE-2025-40046
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40046.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40046
Downstream
Related
Published
2025-10-28T11:48:24.022Z
Modified
2026-03-20T12:43:09.369890Z
Summary
io_uring/zcrx: fix overshooting recv limit
Details

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 iozcrxrecv_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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40046.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6699ec9a23f85f1764183430209c741847c45f12
Fixed
8bcc9eaf1b19f1a7029cba19f6bd4122b40f6c4f
Fixed
09cfd3c52ea76f43b3cb15e570aeddf633d65e80

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40046.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.15.0
Fixed
6.17.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40046.json"