CVE-2026-23423

btrfs: free pages on error in btrfs_uring_read_extent()

State
Published
Severity
Not scored
Published
Apr 3, 2026
Updated
May 11, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 34310c442e175f286b4c06ab5caa4e0b267ea31c to before d4f210de01eaccac61eee657f676045ef9771d07Affected
  • 34310c442e175f286b4c06ab5caa4e0b267ea31c to before 628895890b0c9ac9129129e89455da7db95ba343Affected
  • 34310c442e175f286b4c06ab5caa4e0b267ea31c to before 3f501412f2079ca14bf68a18d80a2b7a823f1f64Affected
LinuxLinux
  • 6.13Affected
  • before 6.13Not affected
  • 6.18.17 through 6.18.*Not affected
  • 6.19.7 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.