{"id":"CVE-2026-23423","aliases":["CVE-2026-23423"],"related":[],"kind":"vulnerability","state":"published","title":"btrfs: free pages on error in btrfs_uring_read_extent()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: free pages on error in btrfs_uring_read_extent()\n\nIn this function the 'pages' object is never freed in the hopes that it is\npicked up by btrfs_uring_read_finished() whenever that executes in the\nfuture. But that's just the happy path. Along the way previous\nallocations might have gone wrong, or we might not get -EIOCBQUEUED from\nbtrfs_encoded_read_regular_fill_pages(). In all these cases, we go to a\ncleanup section that frees all memory allocated by this function without\nassuming any deferred execution, and this also needs to happen for the\n'pages' allocation.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: free pages on error in btrfs_uring_read_extent()\n\nIn this function the 'pages' object is never freed in the hopes that it is\npicked up by btrfs_uring_read_finished() whenever that executes in the\nfuture. But that's just the happy path. Along the way previous\nallocations might have gone wrong, or we might not get -EIOCBQUEUED from\nbtrfs_encoded_read_regular_fill_pages(). In all these cases, we go to a\ncleanup section that frees all memory allocated by this function without\nassuming any deferred execution, and this also needs to happen for the\n'pages' allocation.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nbtrfs: liberar páginas en caso de error en btrfs_uring_read_extent()\n\nEn 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'.","source":"nvd"}],"published":"2026-04-03T13:24:31.966Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"34310c442e175f286b4c06ab5caa4e0b267ea31c","fixed":"d4f210de01eaccac61eee657f676045ef9771d07","status":"affected"},{"type":"git","introduced":"34310c442e175f286b4c06ab5caa4e0b267ea31c","fixed":"628895890b0c9ac9129129e89455da7db95ba343","status":"affected"},{"type":"git","introduced":"34310c442e175f286b4c06ab5caa4e0b267ea31c","fixed":"3f501412f2079ca14bf68a18d80a2b7a823f1f64","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.18.17","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.7","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.13.1","fixed":"6.18.17"},{"status":"affected","introduced":"6.19","fixed":"6.19.7"},{"status":"affected","version":"6.13"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d4f210de01eaccac61eee657f676045ef9771d07","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/628895890b0c9ac9129129e89455da7db95ba343","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3f501412f2079ca14bf68a18d80a2b7a823f1f64","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23423","url":"https://www.cve.org/CVERecord?id=CVE-2026-23423","licence":"CVE Terms of Use","modified":"2026-05-11T22:06:37.271Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23423","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23423","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:17.866Z","epss":{"score":0.00139,"percentile":0.03492,"date":"2026-12-01T12:00:22.000Z"}}