In the Linux kernel, the following vulnerability has been resolved:
block: Fix iterating over an empty bio with bioforeachfolioall
If the bio contains no data, biofirstfolio() calls pagefolio() on a NULL pointer and oopses. Move the test that we've reached the end of the bio from bionextfolio() to biofirst_folio().
[axboe: add unlikely() to error case]
{ "vanir_signatures": [ { "signature_version": "v1", "signature_type": "Function", "target": { "file": "include/linux/bio.h", "function": "bio_next_folio" }, "id": "CVE-2024-26632-0afc236c", "digest": { "length": 455.0, "function_hash": "102163908219902532756891385882048033442" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bed6f3d08b7af27b7015da8dc3acf2b9c1f21d7" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "include/linux/bio.h", "function": "bio_next_folio" }, "id": "CVE-2024-26632-1af3e755", "digest": { "length": 455.0, "function_hash": "102163908219902532756891385882048033442" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ca3ede3f5893e2d26d4dbdef1eec28a8487fafde" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "include/linux/bio.h" }, "id": "CVE-2024-26632-2969ab49", "digest": { "line_hashes": [ "138025692121899345761385652977429011936", "184117942759696757997582924404530992835", "146062848987302507654289474677311804757", "284437172116498583073682813043596617174", "80200470726292752175846760954812457957", "199642928093456624042212099995314961702", "273138664604862382054508933651854417843", "91748250778080389754144619530801356862", "164425192119443587756939974136108204468", "86434438279169801147094789376097336810" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bed6f3d08b7af27b7015da8dc3acf2b9c1f21d7" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "include/linux/bio.h", "function": "bio_next_folio" }, "id": "CVE-2024-26632-41e729aa", "digest": { "length": 455.0, "function_hash": "102163908219902532756891385882048033442" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a6bd8182137a12d22d3f2cee463271bdcb491659" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "include/linux/bio.h" }, "id": "CVE-2024-26632-46a000ce", "digest": { "line_hashes": [ "138025692121899345761385652977429011936", "184117942759696757997582924404530992835", "146062848987302507654289474677311804757", "284437172116498583073682813043596617174", "80200470726292752175846760954812457957", "199642928093456624042212099995314961702", "273138664604862382054508933651854417843", "91748250778080389754144619530801356862", "164425192119443587756939974136108204468", "86434438279169801147094789376097336810" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c6350b5cb78e9024c49eaee6fdb914ad2903a5fe" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "include/linux/bio.h", "function": "bio_next_folio" }, "id": "CVE-2024-26632-4d8cd51e", "digest": { "length": 455.0, "function_hash": "102163908219902532756891385882048033442" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c6350b5cb78e9024c49eaee6fdb914ad2903a5fe" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "include/linux/bio.h" }, "id": "CVE-2024-26632-559cd53f", "digest": { "line_hashes": [ "138025692121899345761385652977429011936", "184117942759696757997582924404530992835", "146062848987302507654289474677311804757", "284437172116498583073682813043596617174", "80200470726292752175846760954812457957", "199642928093456624042212099995314961702", "273138664604862382054508933651854417843", "91748250778080389754144619530801356862", "164425192119443587756939974136108204468", "86434438279169801147094789376097336810" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ca3ede3f5893e2d26d4dbdef1eec28a8487fafde" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "include/linux/bio.h" }, "id": "CVE-2024-26632-7a9ab2ee", "digest": { "line_hashes": [ "138025692121899345761385652977429011936", "184117942759696757997582924404530992835", "146062848987302507654289474677311804757", "284437172116498583073682813043596617174", "80200470726292752175846760954812457957", "199642928093456624042212099995314961702", "273138664604862382054508933651854417843", "91748250778080389754144619530801356862", "164425192119443587756939974136108204468", "86434438279169801147094789376097336810" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a6bd8182137a12d22d3f2cee463271bdcb491659" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "include/linux/bio.h", "function": "bio_first_folio" }, "id": "CVE-2024-26632-87dc3de1", "digest": { "length": 475.0, "function_hash": "220811977262102250368551161651715893938" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a6bd8182137a12d22d3f2cee463271bdcb491659" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "include/linux/bio.h", "function": "bio_first_folio" }, "id": "CVE-2024-26632-aa479484", "digest": { "length": 475.0, "function_hash": "220811977262102250368551161651715893938" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c6350b5cb78e9024c49eaee6fdb914ad2903a5fe" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "include/linux/bio.h", "function": "bio_first_folio" }, "id": "CVE-2024-26632-b7cd346e", "digest": { "length": 475.0, "function_hash": "220811977262102250368551161651715893938" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bed6f3d08b7af27b7015da8dc3acf2b9c1f21d7" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "include/linux/bio.h", "function": "bio_first_folio" }, "id": "CVE-2024-26632-f6829476", "digest": { "length": 475.0, "function_hash": "220811977262102250368551161651715893938" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ca3ede3f5893e2d26d4dbdef1eec28a8487fafde" } ] }