All reports
Medium

kernel: btrfs: always return -EIOCBQUEUED after btrfs_uring_read_extent_endio

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-98963

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-22

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: always return -EIOCBQUEUED after btrfs_uring_read_extent_endio If all bios finish before btrfs_encoded_read_regular_fill_pages() returns, it calls btrfs_uring_read_extent_endio() and previously returned the I/O status. A negative errno then made btrfs_uring_read_extent() unlock and free while btrfs_uring_read_finished() did the same again. Return -EIOCBQUEUED so only the deferred path cleans up.

A flaw was found in the Btrfs file system within the Linux kernel. During asynchronous read operations, an early I/O error can cause both the direct and deferred error handling paths to release the same resources. This double-free condition can be exploited by a local user to corrupt memory and cause a system crash, leading to a Denial of Service (DoS).