CVE-2026-80811

Source
https://cve.org/CVERecord?id=CVE-2026-80811
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80811.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80811
Downstream
Published
2026-09-04T15:13:31.761Z
Modified
2026-09-06T03:46:16.213273426Z
Summary
io_uring/cmd: fix iovec leak when the async cmd is not recycled
Details

In the Linux kernel, the following vulnerability has been resolved:

io_uring/cmd: fix iovec leak when the async cmd is not recycled

An ioasynccmd carries an iovec array in ->vec.iovec, allocated when the vec has to grow and kept across recycling through ctx->cmdcache. On two paths nothing frees it and iocleanop()'s kfree(req->asyncdata) drops the ioasynccmd without it.

iorequringcleanup() clears the async data flags only when ioalloccacheput() succeeds, and the cache holds IOALLOCCACHEMAX == 128 entries, so once it is full the put fails and the vec is left behind. An NVMe passthrough workload gets there without doing anything unusual: nvmeuringcmdio() returns -EIOCBQUEUED, so the ioasynccmd stays attached for the lifetime of the command and the live object count tracks the queue depth. Above 128 the puts start failing.

->cleanup is the last chance to free an inherited vec, since iorequringcleanup() returns early for an io-wq issued command and is not called at all for one completed without ever being issued. But iocleanop() calls ->cleanup only if REQFNEEDCLEANUP is set, and for uringcmd that happens only where the vec has to grow, so a command reusing a large enough cached vec never sets it. iorwallocasync() and iomsgallocasync() flag an inherited vec for exactly this reason; iouringcmdprep() does not.

Flag an inherited vec in iouringcmdprep(), and free the vec when the cache put fails, as ioreqrwcleanup() does.

The leak is invisible under KASAN, where ioalloccacheveckasan() frees the vec unconditionally.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80811.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
3a4689ac109f18f23ea0d0c1c79e055142796858
Fixed
b6a768aa975b9ca81b92f028bdd975d1f8237894
Fixed
b290de4d16d75b6c1ef42025b47f5d94eb1ec09f
Fixed
7068d3587a64a24943a7c9e232976da2c9e0e303
Fixed
bb34ae5da3365699d53a756f4c96b6ea9f8ba0c1

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.15.0
Fixed
6.18.47
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.11
Type
ECOSYSTEM
Events
Introduced
7.2.0
Fixed
7.2.1

Database specific

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