null_blk: fix validation of block size
In the Linux kernel, the following vulnerability has been resolved: null_blk: fix validation of block size Block size should be between 512 and PAGE_SIZE and be a power of 2. The current check does not validate this, so update the check. Without this patch, null_blk would Oops due to a null pointer deref when loaded with bs=1536 [1]. [axboe: remove unnecessary braces and != 0 check]
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.223, 5.15.164, 6.1.101, 6.6.42, 6.9.11
- CVEs
- CVE-2024-41077
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 16:36 UTC · Revision 1
Source evidence
In the Linux kernel, the following vulnerability has been resolved: null_blk: fix validation of block size Block size should be between 512 and PAGE_SIZE and be a power of 2. The current check does not validate this, so update the check. Without this patch, null_blk would Oops due to a null pointer deref when loaded with bs=1536 [1]. [axboe: remove unnecessary braces and != 0 check]
osv:CVE-2024-41077
Kernel
Fixed versions: 5.10.223, 5.15.164, 6.1.101, 6.6.42, 6.9.11
Complete source record
{
"id": "0b0fac7fa261c498f09e3ec4fe759cf051449e2284f7195da43699e437454999",
"url": "https://osv.dev/vulnerability/CVE-2024-41077",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "null_blk: fix validation of block size",
"summary": "In the Linux kernel, the following vulnerability has been resolved: null_blk: fix validation of block size Block size should be between 512 and PAGE_SIZE and be a power of 2. The current check does not validate this, so update the check. Without this patch, null_blk would Oops due to a null pointer deref when loaded with bs=1536 [1]. [axboe: remove unnecessary braces and != 0 check]",
"evidence": "osv:CVE-2024-41077",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.223",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.164",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.101",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.42",
"evidence": "/affected/1/ranges"
},
{
"value": "6.9.11",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2024-41077",
"aliases": [
"CVE-2024-41077"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "cedcafad8277b3a07e90bf2f68fff5c6b28a183e"
},
{
"fixed": "9625afe1dd4a158a14bb50f81af9e2dac634c0b1"
},
{
"fixed": "9b873bdaae64bddade9d8c6df23c8a31948d47d0"
},
{
"fixed": "2772ed2fc075eef7df3789906fc9dae01e4e132e"
},
{
"fixed": "08f03186b96e25e3154916a2e70732557c770ea7"
},
{
"fixed": "f92409a9da02f27d05d713bff5f865e386cef9b3"
},
{
"fixed": "c462ecd659b5fce731f1d592285832fd6ad54053"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41077.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.14.0"
},
{
"fixed": "5.10.223"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.164"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.101"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.42"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.9.11"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41077.json"
}
}
],
"modified": "2026-10-28T02:30:30.722726459Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/08f03186b96e25e3154916a2e70732557c770ea7",
"https://git.kernel.org/stable/c/2772ed2fc075eef7df3789906fc9dae01e4e132e",
"https://git.kernel.org/stable/c/9625afe1dd4a158a14bb50f81af9e2dac634c0b1",
"https://git.kernel.org/stable/c/9b873bdaae64bddade9d8c6df23c8a31948d47d0",
"https://git.kernel.org/stable/c/c462ecd659b5fce731f1d592285832fd6ad54053",
"https://git.kernel.org/stable/c/f92409a9da02f27d05d713bff5f865e386cef9b3",
"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41077.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-41077",
"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/41xxx/CVE-2024-41077.json"
}
},
"related_cves": [
{
"value": "CVE-2024-41077",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 497442,
"published_at": "2024-07-29T14:57:36.68+00:00"
}