{"id":"CVE-2026-98960","summary":"btrfs: don't stash io_uring encoded data across -EAGAIN","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: don't stash io_uring encoded data across -EAGAIN\n\nReturning -EAGAIN while leaving btrfs_uring_encoded_data in the cmd PDU\nleaks if the request is cancelled or the ring exits before reissue.\nio_uring does not free driver PDU allocations on cleanup.\n\nWrite: io_queue_sqe() always issues with IO_URING_F_NONBLOCK first, so\nreturn -EAGAIN before allocating and free data on every exit.\n\nRead: free on nowait -EAGAIN too; only -EIOCBQUEUED keeps the allocation\nfor btrfs_uring_read_finished().","modified":"2026-10-25T02:47:28.619589444Z","published":"2026-10-23T12:19:28.651Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98960.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4d9c1e0a7fb2cfb1cc924acafc194d2c15c3e83e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/51562a8cb11628d3a5e105b4c347ec5473e5745f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98960.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98960"},{"type":"PACKAGE","url":"https://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":"34310c442e175f286b4c06ab5caa4e0b267ea31c"},{"fixed":"4d9c1e0a7fb2cfb1cc924acafc194d2c15c3e83e"},{"fixed":"51562a8cb11628d3a5e105b4c347ec5473e5745f"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98960.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"7.2.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98960.json"}}],"schema_version":"1.9.2"}