CVE-2026-97618

Source
https://cve.org/CVERecord?id=CVE-2026-97618
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97618.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-97618
Downstream
Published
2026-09-25T10:22:25Z
Modified
2026-09-26T03:48:27Z
Summary
io_uring/net: don't overconsume buffers when using MSG_TRUNC
Details

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]

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97618.json"
}
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
ae98dbf43d755b4e111fcd086e53939bef3e9a1a
Fixed
927d96f91c582b319d104ecf50ec935a8dc29193
Fixed
2e70ea75c7bb38a6dc212975f887310f14f7c043
Fixed
6028b543884f8735e057ec9eea4908cd61cab230

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97618.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.18.53
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97618.json"