CVE-2024-26632 block: Fix iterating over an empty bio with bio_for_each_folio_all
설명
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]
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.17
해결 버전
- 5.17 미만
- 6.1.75 이상
- 6.6.14 이상
- 6.7.2 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/7bed6f3d08b7af27b7015da8dc3acf2b9c1f21d7 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/a6bd8182137a12d22d3f2cee463271bdcb491659 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c6350b5cb78e9024c49eaee6fdb914ad2903a5fe (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ca3ede3f5893e2d26d4dbdef1eec28a8487fafde (새 창)