CVE-2024-26632
JSON

7.8high

block: Fix iterating over an empty bio with bio_for_each_folio_all

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: block: Fix iterating over an empty bio with bio_for_each_folio_all If the bio contains no data, bio_first_folio() calls page_folio() on a NULL pointer and oopses. Move the test that we've reached the end of the bio from bio_next_folio() to bio_first_folio(). [axboe: add unlikely() to error case]

Affected

Product or packageVersionsReported by
Linux Linuxfrom 640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662 before c6350b5cb78e9024c49eaee6fdb914ad2903a5fe, from 640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662 before a6bd8182137a12d22d3f2cee463271bdcb491659, from 640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662 before ca3ede3f5893e2d26d4dbdef1eec28a8487fafde, from 640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662 before 7bed6f3d08b7af27b7015da8dc3acf2b9c1f21d7, 5.17
Not affected: before 5.17, from 6.1.75 up to 6.1.*, from 6.6.14 up to 6.6.*, from 6.7.2 up to 6.7.*, from 6.8 up to *
CVE List
linux linux_kernelfrom 5.17 before 6.1.75, from 6.2 before 6.6.14, from 6.7 before 6.7.2NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: block: Fix iterating over an empty bio with bio_for_each_folio_all If the bio contains no data, bio_first_folio() calls page_folio() on a NULL pointer and oopses. Move the test that we've reached the end of the bio from bio_next_folio() to bio_first_folio(). [axboe: add unlikely() to error case]

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: bloque: corrige la iteración sobre una biografía vacía con bio_for_each_folio_all Si la biografía no contiene datos, bio_first_folio() llama a page_folio() en un puntero NULL y ¡vaya! Mueve la prueba de que hemos llegado al final de la biografía de bio_next_folio() a bio_first_folio(). [axboe: agregue improbable() al caso de error]

References

Sources

SourceRecordLicence
CVE ListCVE-2024-26632 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-26632 changed 2026-08-04Public domain