block: Fix iterating over an empty bio with bio_for_each_folio_all
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7bed6f3d08b7af27b7015da8dc3acf2b9c1f21d7, Kernel a6bd8182137a12d22d3f2cee463271bdcb491659, Kernel c6350b5cb78e9024c49eaee6fdb914ad2903a5fe and 1 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.17, >=640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662 <7bed6f3d08b7af27b7015da8dc3acf2b9c1f21d7, >=640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662 <a6bd8182137a12d22d3f2cee463271bdcb491659, >=640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662 <c6350b5cb78e9024c49eaee6fdb914ad2903a5fe, >=640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662 <ca3ede3f5893e2d26d4dbdef1eec28a8487fafde | 7bed6f3d08b7af27b7015da8dc3acf2b9c1f21d7, a6bd8182137a12d22d3f2cee463271bdcb491659, c6350b5cb78e9024c49eaee6fdb914ad2903a5fe, ca3ede3f5893e2d26d4dbdef1eec28a8487fafde |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket