{"id":"CVE-2026-98961","title":"btrfs: unlock inode and extent in caller when io_uring read extent fails","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: unlock inode and extent in caller when io_uring read extent fails\n\nbtrfs_uring_read_extent() runs only after btrfs_encoded_read() has taken\nthe inode shared lock…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 34310c442e175f286b4c06ab5caa4e0b267ea31c < 2797eb38773a96914ccedeec71eb2144645400b2","Linux >= 34310c442e175f286b4c06ab5caa4e0b267ea31c < ada1fc725a4db407294ae90a0d40ef1c46f457f2","Linux >= 34310c442e175f286b4c06ab5caa4e0b267ea31c < b6e8add5d79d1f6f819a054c833bab452bd7365d","Linux 6.13"],"published":"2026-10-23","updated":"2026-10-23","sourceUpdated":"2026-10-23T12:19:29.616Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98961","references":[{"url":"https://git.kernel.org/stable/c/2797eb38773a96914ccedeec71eb2144645400b2"},{"url":"https://git.kernel.org/stable/c/ada1fc725a4db407294ae90a0d40ef1c46f457f2"},{"url":"https://git.kernel.org/stable/c/b6e8add5d79d1f6f819a054c833bab452bd7365d"}],"tags":["cve.org"],"ingestedAt":"2026-10-23T13:24:55.554Z","slug":"CVE-2026-98961","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: unlock inode and extent in caller when io_uring read extent fails\n\nbtrfs_uring_read_extent() runs only after btrfs_encoded_read() has taken\nthe inode shared lock and the extent lock.  On failure it used to unlock\nin out_fail, and a pages-array allocation failure returned -ENOMEM\nwithout unlocking at all.\n\nUnlock in the caller instead on all failure returns, matching the\ncopy_to_user() error path.  The deferred -EIOCBQUEUED path still unlocks\nin btrfs_uring_read_finished().\n\n## Affected\n\n- `Linux >= 34310c442e175f286b4c06ab5caa4e0b267ea31c < 2797eb38773a96914ccedeec71eb2144645400b2`\n- `Linux >= 34310c442e175f286b4c06ab5caa4e0b267ea31c < ada1fc725a4db407294ae90a0d40ef1c46f457f2`\n- `Linux >= 34310c442e175f286b4c06ab5caa4e0b267ea31c < b6e8add5d79d1f6f819a054c833bab452bd7365d`\n- `Linux 6.13`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}