CVE-2026-23423

MEDIUM

btrfs: free pages on error in btrfs_uring_read_extent()

Title source: cna
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: free pages on error in btrfs_uring_read_extent() In this function the 'pages' object is never freed in the hopes that it is picked up by btrfs_uring_read_finished() whenever that executes in the future. But that's just the happy path. Along the way previous allocations might have gone wrong, or we might not get -EIOCBQUEUED from btrfs_encoded_read_regular_fill_pages(). In all these cases, we go to a cleanup section that frees all memory allocated by this function without assuming any deferred execution, and this also needs to happen for the 'pages' allocation.

Scores

CVSS v3 5.5
EPSS 0.0001
EPSS Percentile 2.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (12)
Linux/Linux < 6.13
Linux/Linux 34310c442e175f286b4c06ab5caa4e0b267ea31c - 3f501412f2079ca14bf68a18d80a2b7a823f1f64
Linux/Linux 34310c442e175f286b4c06ab5caa4e0b267ea31c - 628895890b0c9ac9129129e89455da7db95ba343
Linux/Linux 34310c442e175f286b4c06ab5caa4e0b267ea31c - d4f210de01eaccac61eee657f676045ef9771d07
Linux/Linux 6.13
Linux/Linux 6.18.17 - 6.18.*
Linux/Linux 6.19.7 - 6.19.*
Linux/Linux 7.0
Linux/Linux 7.0-rc3
linux/linux_kernel 6.13
... and 2 more
Published Apr 03, 2026
Tracked Since Apr 03, 2026