CVE-2025-40046
N/A
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 6699ec9a23f85f1764183430209c741847c45f12 < 8bcc9eaf1b19f1a7029cba19f6bd4122b40f6c4f | affected |
| Linux | Linux | 6699ec9a23f85f1764183430209c741847c45f12 < 09cfd3c52ea76f43b3cb15e570aeddf633d65e80 | affected |
| Linux | Linux | 6.15 | affected |
| Linux | Linux | 0 < 6.15 | unaffected |
| Linux | Linux | 6.17.3 <= 6.17.* | unaffected |
| Linux | Linux | 6.18 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/8bcc9eaf1b19f1a7029cba19f6bd4122b40f6c4f
- https://git.kernel.org/stable/c/09cfd3c52ea76f43b3cb15e570aeddf633d65e80
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.