◆ CVE Hub

CVE-2026-98960

btrfs: don't stash io_uring encoded data across -EAGAIN

Published
2026-10-23
Last modified
2026-10-23
CNA
Linux
NVD status
Received

Fetching some sources has been requested. Reload in about a minute to see them.

CVSS v3.1 (listed by NVD)
—
Not scored
CVSS v4.0 (listed by NVD)
—
Not scored
CVSS (listed by CVE.org)
—
Not scored
EPSS exploit probability
0.2%
Percentile 9.0%
as of 2026-10-24
CISA KEV
—
Not listed

Description

NVD

In the Linux kernel, the following vulnerability has been resolved: btrfs: don't stash io_uring encoded data across -EAGAIN Returning -EAGAIN while leaving btrfs_uring_encoded_data in the cmd PDU leaks if the request is cancelled or the ring exits before reissue. io_uring does not free driver PDU allocations on cleanup. Write: io_queue_sqe() always issues with IO_URING_F_NONBLOCK first, so return -EAGAIN before allocating and free data on every exit. Read: free on nowait -EAGAIN too; only -EIOCBQUEUED keeps the allocation for btrfs_uring_read_finished().

Affected products and packages

CNA (CVE.org)

VendorProductVersions
LinuxLinux
affected: 34310c442e175f286b4c06ab5caa4e0b267ea31c … < 4d9c1e0a7fb2cfb1cc924acafc194d2c15c3e83e
affected: 34310c442e175f286b4c06ab5caa4e0b267ea31c … < 51562a8cb11628d3a5e105b4c347ec5473e5745f
default: unaffected
LinuxLinux
affected: 6.13
unaffected: 0 … < 6.13
unaffected: 7.2.11 … <= 7.2.*
unaffected: 7.3 … <= *
default: affected

Open-source packages (GitHub Advisory / OSV)

btrfs: don't stash io_uring encoded data across -EAGAIN

EcosystemPackageAffected versionsFixed in
>= 34310c442e175f286b4c06ab5caa4e0b267ea31c, < 4d9c1e0a7fb2cfb1cc924acafc194d2c15c3e83e; < 51562a8cb11628d3a5e105b4c347ec5473e5745f4d9c1e0a7fb2cfb1cc924acafc194d2c15c3e83e, 51562a8cb11628d3a5e105b4c347ec5473e5745f
LinuxKernel>= 6.13.0, < 7.2.117.2.11

Linux distribution status

Red Hat ↗ Fetching

Debian ↗

ReleasePackageStatusFixed version / notes
bookwormlinuxnot-affected unimportant
forkylinuxresolved not yet assigned7.2.11-1
sidlinuxresolved not yet assigned7.2.11-1
trixielinuxnot-affected unimportant

Ubuntu ↗ Fetching

References (5)