{"id":"CVE-2026-98961","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-10-23T13:17:17.500","lastModified":"2026-10-23T13:17:17.500","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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 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()."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/btrfs/ioctl.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"34310c442e175f286b4c06ab5caa4e0b267ea31c","lessThan":"2797eb38773a96914ccedeec71eb2144645400b2","versionType":"git","status":"affected"},{"version":"34310c442e175f286b4c06ab5caa4e0b267ea31c","lessThan":"ada1fc725a4db407294ae90a0d40ef1c46f457f2","versionType":"git","status":"affected"},{"version":"34310c442e175f286b4c06ab5caa4e0b267ea31c","lessThan":"b6e8add5d79d1f6f819a054c833bab452bd7365d","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/btrfs/ioctl.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.13","status":"affected"},{"version":"0","lessThan":"6.13","versionType":"semver","status":"unaffected"},{"version":"6.18.57","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.2.11","lessThanOrEqual":"7.2.*","versionType":"semver","status":"unaffected"},{"version":"7.3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/2797eb38773a96914ccedeec71eb2144645400b2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ada1fc725a4db407294ae90a0d40ef1c46f457f2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b6e8add5d79d1f6f819a054c833bab452bd7365d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}