{"id":"CVE-2024-26632","summary":"block: Fix iterating over an empty bio with bio_for_each_folio_all","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: Fix iterating over an empty bio with bio_for_each_folio_all\n\nIf the bio contains no data, bio_first_folio() calls page_folio() on a\nNULL pointer and oopses.  Move the test that we've reached the end of\nthe bio from bio_next_folio() to bio_first_folio().\n\n[axboe: add unlikely() to error case]","modified":"2026-04-02T09:55:22.493081Z","published":"2024-03-18T10:07:48.908Z","related":["SUSE-SU-2024:2135-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","USN-6818-2","USN-6819-2"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26632.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/7bed6f3d08b7af27b7015da8dc3acf2b9c1f21d7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a6bd8182137a12d22d3f2cee463271bdcb491659"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c6350b5cb78e9024c49eaee6fdb914ad2903a5fe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ca3ede3f5893e2d26d4dbdef1eec28a8487fafde"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26632.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26632"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662"},{"fixed":"c6350b5cb78e9024c49eaee6fdb914ad2903a5fe"},{"fixed":"a6bd8182137a12d22d3f2cee463271bdcb491659"},{"fixed":"ca3ede3f5893e2d26d4dbdef1eec28a8487fafde"},{"fixed":"7bed6f3d08b7af27b7015da8dc3acf2b9c1f21d7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26632.json"}}],"schema_version":"1.7.5"}