CVE-2024-26632

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-26632
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26632.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-26632
Downstream
Related
Published
2024-03-18T10:07:48.908Z
Modified
2025-11-28T02:35:03.350413Z
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:

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]

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26632.json"
}
References

Affected packages

Git / 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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.17.0
Fixed
6.1.75
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.14
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.7.2