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]
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.75, 6.6.14, 6.7.2
- CVEs
- CVE-2024-26632
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 05:26 UTC · Revision 1
Source evidence
block: Fix iterating over an empty bio with bio_for_each_folio_all
core-osv · Original sourcePublished 18 Mar 2024, 10:07 UTC
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]
osv:CVE-2024-26632
Kernel
Fixed versions: 6.1.75, 6.6.14, 6.7.2
Complete source record
{
"id": "b31c3e9233f5f9f17edf8dce966b3f959573b8a18a964f570e8fa2870cecbdc0",
"url": "https://osv.dev/vulnerability/CVE-2024-26632",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "block: Fix iterating over an empty bio with bio_for_each_folio_all",
"summary": "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]",
"evidence": "osv:CVE-2024-26632",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.75",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.14",
"evidence": "/affected/1/ranges"
},
{
"value": "6.7.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2024-26632",
"aliases": [
"CVE-2024-26632"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "640d1930bef4f87ec8d8d2b05f0f6edc1dfcf662"
},
{
"fixed": "c6350b5cb78e9024c49eaee6fdb914ad2903a5fe"
},
{
"fixed": "a6bd8182137a12d22d3f2cee463271bdcb491659"
},
{
"fixed": "ca3ede3f5893e2d26d4dbdef1eec28a8487fafde"
},
{
"fixed": "7bed6f3d08b7af27b7015da8dc3acf2b9c1f21d7"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26632.json"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26632.json"
}
}
],
"modified": "2026-10-28T02:30:26.198050026Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/7bed6f3d08b7af27b7015da8dc3acf2b9c1f21d7",
"https://git.kernel.org/stable/c/a6bd8182137a12d22d3f2cee463271bdcb491659",
"https://git.kernel.org/stable/c/c6350b5cb78e9024c49eaee6fdb914ad2903a5fe",
"https://git.kernel.org/stable/c/ca3ede3f5893e2d26d4dbdef1eec28a8487fafde",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26632.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-26632",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26632.json"
}
},
"related_cves": [
{
"value": "CVE-2024-26632",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492713,
"published_at": "2024-03-18T10:07:48.908+00:00"
}