CVE-2026-98961

btrfs: unlock inode and extent in caller when io_uring read extent fails

State
Published
Severity
Not scored
Published
Oct 23, 2026
Updated
Oct 23, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: unlock inode and extent in caller when io_uring read extent fails

btrfs_uring_read_extent() runs only after btrfs_encoded_read() has taken the inode shared lock and the extent lock. On failure it used to unlock in out_fail, and a pages-array allocation failure returned -ENOMEM without unlocking at all.

Unlock in the caller instead on all failure returns, matching the copy_to_user() error path. The deferred -EIOCBQUEUED path still unlocks in btrfs_uring_read_finished().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 34310c442e175f286b4c06ab5caa4e0b267ea31c to before 2797eb38773a96914ccedeec71eb2144645400b2Affected
  • 34310c442e175f286b4c06ab5caa4e0b267ea31c to before ada1fc725a4db407294ae90a0d40ef1c46f457f2Affected
  • 34310c442e175f286b4c06ab5caa4e0b267ea31c to before b6e8add5d79d1f6f819a054c833bab452bd7365dAffected
LinuxLinux
  • 6.13Affected
  • before 6.13Not affected
  • 6.18.57 through 6.18.*Not affected
  • 7.2.11 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.