In the Linux kernel, the following vulnerability has been resolved: btrfs: unlock inode and extent in caller when io_uring read extent fails… (CVE-2026-98961)
Description
A vulnerability in the Linux kernel's Btrfs filesystem code related to io_uring read extent failure handling has been resolved. The issue involved improper unlocking of inode and extent locks on failure paths, potentially leading to resource management inconsistencies. The fix ensures that unlocking occurs in the caller on all failure returns, aligning with the expected error handling behavior.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's Btrfs filesystem concerned the function btrfs_uring_read_extent(), which acquires inode shared and extent locks before proceeding. On failure, specifically when a pages-array allocation failed returning -ENOMEM, the function previously did not unlock these locks, leading to potential lock retention. The fix moves the unlocking responsibility to the caller on all failure returns, consistent with the copy_to_user() error path. The deferred -EIOCBQUEUED path continues to unlock in btrfs_uring_read_finished(). This correction prevents improper lock retention on failure.
Potential Impact
Improper unlocking of inode and extent locks on failure could lead to resource locking issues within the Btrfs filesystem, potentially causing system instability or deadlocks. However, no active exploits are known in the wild, and the vulnerability pertains to internal kernel resource management rather than direct code execution or privilege escalation.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by ensuring proper unlocking on all failure paths. Users should update to the patched kernel versions once available. No additional mitigation steps are indicated beyond applying the official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-3xcr-f59c-pjvq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98961"]
Threat ID: 6adbaad0d73cc49347b20591
Added to database: 10/23/2026, 18:43:28 UTC
Last enriched: 10/23/2026, 18:59:54 UTC
Last updated: 10/23/2026, 22:05:09 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.