io_uring/net: don't overconsume buffers when using MSG_TRUNC
Summary
| CVE | CVE-2026-97618 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-25 11:17:16 UTC |
| Updated | 2026-10-03 11:18:08 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: io_uring/net: don't overconsume buffers when using MSG_TRUNC When a recv/recvmsg is issued with MSG_TRUNC and the incoming packet is larger than the provided buffer, the net layer returns the full length of the packet rather than the number of bytes actually copied into the buffer. As a result, io_uring advances more of the provided buffer ring than was actually filled. Use the actual filled region size to consume the buffer, but still return the full size to preserve MSG_TRUNC semantics. Take care with multishot, because that seems to already truncate the consumption based on the available payload size. This was reported in https://github.com/axboe/liburing/issues/1619. [axboe: fold in size_t unsigned fix] |
Risk And Classification
EPSS: 0.002000000 probability, percentile 0.089110000 (date 2026-10-05)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected ae98dbf43d755b4e111fcd086e53939bef3e9a1a 41d24d2fb168fa05fcaf9ec4e55478411dbbf8e1 git | Not specified |
| CNA | Linux | Linux | affected ae98dbf43d755b4e111fcd086e53939bef3e9a1a 927d96f91c582b319d104ecf50ec935a8dc29193 git | Not specified |
| CNA | Linux | Linux | affected ae98dbf43d755b4e111fcd086e53939bef3e9a1a 2e70ea75c7bb38a6dc212975f887310f14f7c043 git | Not specified |
| CNA | Linux | Linux | affected ae98dbf43d755b4e111fcd086e53939bef3e9a1a 6028b543884f8735e057ec9eea4908cd61cab230 git | Not specified |
| CNA | Linux | Linux | affected 6.12 | Not specified |
| CNA | Linux | Linux | unaffected 6.12 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.112 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.53 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2.7 7.2.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3-rc3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/2e70ea75c7bb38a6dc212975f887310f14f7c043 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/6028b543884f8735e057ec9eea4908cd61cab230 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/927d96f91c582b319d104ecf50ec935a8dc29193 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/41d24d2fb168fa05fcaf9ec4e55478411dbbf8e1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.