CVE-2026-23423
JSON

5.5medium

btrfs: free pages on error in btrfs_uring_read_extent()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 34310c442e175f286b4c06ab5caa4e0b267ea31c before d4f210de01eaccac61eee657f676045ef9771d07, from 34310c442e175f286b4c06ab5caa4e0b267ea31c before 628895890b0c9ac9129129e89455da7db95ba343, from 34310c442e175f286b4c06ab5caa4e0b267ea31c before 3f501412f2079ca14bf68a18d80a2b7a823f1f64, 6.13
Not affected: before 6.13, from 6.18.17 up to 6.18.*, from 6.19.7 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.13.1 before 6.18.17, from 6.19 before 6.19.7, 6.13, 7.0NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: btrfs: liberar páginas en caso de error en btrfs_uring_read_extent() En esta función, el objeto 'pages' nunca se libera con la esperanza de que sea recogido por btrfs_uring_read_finished() cada vez que se ejecute en el futuro. Pero ese es solo el camino feliz. En el camino, asignaciones anteriores podrían haber salido mal, o podríamos no obtener -EIOCBQUEUED de btrfs_encoded_read_regular_fill_pages(). En todos estos casos, vamos a una sección de limpieza que libera toda la memoria asignada por esta función sin asumir ninguna ejecución diferida, y esto también debe ocurrir para la asignación de 'pages'.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23423 changed 2026-05-11CVE Terms of Use
NVDCVE-2026-23423 changed 2026-07-24Public domain