{"id":"CVE-2024-26632","published":"2024-03-18T10:07:48Z","modified":"2026-08-05T11:26:25Z","title":"block: Fix iterating over an empty bio with bio_for_each_folio_all","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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]","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00238,"percentile":0.15166,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/c6350b5cb78e9024c49eaee6fdb914ad2903a5fe","tags":[]},{"url":"https://git.kernel.org/stable/c/a6bd8182137a12d22d3f2cee463271bdcb491659","tags":[]},{"url":"https://git.kernel.org/stable/c/ca3ede3f5893e2d26d4dbdef1eec28a8487fafde","tags":[]},{"url":"https://git.kernel.org/stable/c/7bed6f3d08b7af27b7015da8dc3acf2b9c1f21d7","tags":[]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":3.03},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662, < c6350b5cb78e9024c49eaee6fdb914ad2903a5fe",">= 640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662, < a6bd8182137a12d22d3f2cee463271bdcb491659",">= 640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662, < ca3ede3f5893e2d26d4dbdef1eec28a8487fafde",">= 640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662, < 7bed6f3d08b7af27b7015da8dc3acf2b9c1f21d7"]},{"vendor":"Linux","product":"Linux","versions":["5.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-18T15:42:33.391380Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-23894","exploited":false,"provenance":"source"}}