{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98961","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.382Z","datePublished":"2026-10-23T12:19:29.616Z","dateUpdated":"2026-10-23T12:19:29.616Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-10-23T12:19:29.616Z"},"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":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/btrfs/ioctl.c"],"versions":[{"version":"34310c442e175f286b4c06ab5caa4e0b267ea31c","lessThan":"2797eb38773a96914ccedeec71eb2144645400b2","status":"affected","versionType":"git"},{"version":"34310c442e175f286b4c06ab5caa4e0b267ea31c","lessThan":"ada1fc725a4db407294ae90a0d40ef1c46f457f2","status":"affected","versionType":"git"},{"version":"34310c442e175f286b4c06ab5caa4e0b267ea31c","lessThan":"b6e8add5d79d1f6f819a054c833bab452bd7365d","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/btrfs/ioctl.c"],"versions":[{"version":"6.13","status":"affected"},{"version":"0","lessThan":"6.13","status":"unaffected","versionType":"semver"},{"version":"6.18.57","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.11","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.57"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.2.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.3"}]}]}],"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"}],"title":"btrfs: unlock inode and extent in caller when io_uring read extent fails","x_generator":{"engine":"bippy-1.2.0"}}}}