# CVE-2026-98960: btrfs: don't stash io_uring encoded data across -EAGAIN

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-10-23T12:19:28.651Z
- Modified: 2026-10-23T13:17:17.390Z
- Assigned by: Linux

## Description

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().

(As written by CVE List.)

## Affected

- Linux Linux: from 34310c442e175f286b4c06ab5caa4e0b267ea31c before 4d9c1e0a7fb2cfb1cc924acafc194d2c15c3e83e; from 34310c442e175f286b4c06ab5caa4e0b267ea31c before 51562a8cb11628d3a5e105b4c347ec5473e5745f; 6.13 (not affected: before 6.13; from 7.2.11 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/4d9c1e0a7fb2cfb1cc924acafc194d2c15c3e83e>
- <https://git.kernel.org/stable/c/51562a8cb11628d3a5e105b4c347ec5473e5745f>

## Sources

- CVE List: [CVE-2026-98960](https://www.cve.org/CVERecord?id=CVE-2026-98960), CVE Terms of Use, modified 2026-10-23
- NVD: [CVE-2026-98960](https://nvd.nist.gov/vuln/detail/CVE-2026-98960), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-98960 · Whole record: https://cve.day/CVE-2026-98960.json · Rebuilt by cve.day 2026-11-25T22:59:46.923Z
