Skip to main content

In the Linux kernel, the following vulnerability has been resolved: btrfs: don't stash io_uring encoded data across -EAGAIN Returning -EAGAIN while… (CVE-2026-98960)

0
Medium
Published: 10/23/2026 (10/23/2026, 15:31:32 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's btrfs filesystem involving io_uring encoded data handling has been resolved. The issue occurs when returning -EAGAIN while leaving btrfs_uring_encoded_data in the command PDU, potentially causing data leaks if requests are cancelled or the ring exits before reissue. The vulnerability relates to improper freeing of driver PDU allocations on cleanup in io_uring operations. The fix ensures that allocations are freed appropriately on error returns to prevent leaks.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 18:58:29 UTC

Technical Analysis

The Linux kernel's btrfs filesystem had a vulnerability where io_uring encoded data was improperly retained across -EAGAIN error returns. Specifically, returning -EAGAIN while leaving btrfs_uring_encoded_data in the command PDU could leak data if the request was cancelled or the io_uring ring exited before the request was reissued. The io_uring interface did not free driver PDU allocations on cleanup, leading to potential memory leaks. The remediation involved ensuring that io_queue_sqe() issues with IO_URING_F_NONBLOCK first, returning -EAGAIN before allocating and freeing data on every exit, and freeing allocations on nowait -EAGAIN returns for reads, except when -EIOCBQUEUED is returned to keep allocations for completion.

Potential Impact

The vulnerability could lead to information leakage through retained encoded data in memory if requests are cancelled or the io_uring ring exits prematurely. This could expose sensitive data handled by the btrfs filesystem's io_uring operations. There is no indication of remote code execution or privilege escalation from the provided data.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to properly free io_uring encoded data allocations on error returns, preventing data leakage. Users should update to the Linux kernel version that includes this fix. Since no patch links or specific versions are provided, check the official Linux kernel advisories or vendor updates for the fixed version and apply the update accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-wr36-cvhp-r8q2
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98960"]

Threat ID: 6adbaad0d73cc49347b2057c

Added to database: 10/23/2026, 18:43:28 UTC

Last enriched: 10/23/2026, 18:58:29 UTC

Last updated: 10/23/2026, 22:25:11 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses