CVE-2026-98961

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

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().

Key facts

Published
23 Oct 2026
Last changed
23 Oct 2026
Assigned by
Linux
EPSS
0.166% likely to be exploited in the next 30 days, higher than 5.957% of CVEs (scores for 17 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 34310c442e175f286b4c06ab5caa4e0b267ea31c up to but excluding 2797eb38773a96914ccedeec71eb2144645400b2 (affected)
  • 34310c442e175f286b4c06ab5caa4e0b267ea31c up to but excluding ada1fc725a4db407294ae90a0d40ef1c46f457f2 (affected)
  • 34310c442e175f286b4c06ab5caa4e0b267ea31c up to but excluding b6e8add5d79d1f6f819a054c833bab452bd7365d (affected)
LinuxLinux
  • Default status: affected
  • 6.13 (affected)
  • 0 up to but excluding 6.13 (unaffected)
  • 6.18.57 up to and including 6.18.* (unaffected)
  • 7.2.11 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 23 Oct 2026 Published

References