CVE-2024-41077

Source
https://cve.org/CVERecord?id=CVE-2024-41077
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-41077.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-41077
Downstream
Related
Published
2024-07-29T14:57:36.680Z
Modified
2026-05-28T03:55:37.862421323Z
Summary
null_blk: fix validation of block size
Details

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]

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41077.json",
    "cna_assigner": "Linux"
}
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
cedcafad8277b3a07e90bf2f68fff5c6b28a183e
Fixed
9625afe1dd4a158a14bb50f81af9e2dac634c0b1
Fixed
9b873bdaae64bddade9d8c6df23c8a31948d47d0
Fixed
2772ed2fc075eef7df3789906fc9dae01e4e132e
Fixed
08f03186b96e25e3154916a2e70732557c770ea7
Fixed
f92409a9da02f27d05d713bff5f865e386cef9b3
Fixed
c462ecd659b5fce731f1d592285832fd6ad54053

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-41077.json"

Linux / Kernel

Package

Name
Kernel

Affected 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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-41077.json"