CVE-2024-41077
null_blk: fix validation of block size
Check your servers for CVE-2024-41077
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-41077 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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]
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from cedcafad8277b3a07e90bf2f68fff5c6b28a183e, before 9625afe1dd4a158a14bb50f81af9e2dac634c0b1 affected from cedcafad8277b3a07e90bf2f68fff5c6b28a183e, before 9b873bdaae64bddade9d8c6df23c8a31948d47d0 affected from cedcafad8277b3a07e90bf2f68fff5c6b28a183e, before 2772ed2fc075eef7df3789906fc9dae01e4e132e affected from cedcafad8277b3a07e90bf2f68fff5c6b28a183e, before 08f03186b96e25e3154916a2e70732557c770ea7 affected from cedcafad8277b3a07e90bf2f68fff5c6b28a183e, before f92409a9da02f27d05d713bff5f865e386cef9b3 affected from cedcafad8277b3a07e90bf2f68fff5c6b28a183e, before c462ecd659b5fce731f1d592285832fd6ad54053
Other versions: unaffected
|
| Linux |
affected 4.14 unaffected before 4.14 unaffected from 5.10.223 up to and including 5.10.* unaffected from 5.15.164 up to and including 5.15.* unaffected from 6.1.101 up to and including 6.1.* unaffected from 6.6.42 up to and including 6.6.* unaffected from 6.9.11 up to and including 6.9.* unaffected 6.10 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-41077 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-41077
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-41077
trivy image --scanners vuln IMAGE | grep CVE-2024-41077
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/9625afe1dd4a158a14bb50f81af9e2dac634c0b1 git.kernel.org
- https://git.kernel.org/stable/c/9b873bdaae64bddade9d8c6df23c8a31948d47d0 git.kernel.org
- https://git.kernel.org/stable/c/2772ed2fc075eef7df3789906fc9dae01e4e132e git.kernel.org
- https://git.kernel.org/stable/c/08f03186b96e25e3154916a2e70732557c770ea7 git.kernel.org
- https://git.kernel.org/stable/c/f92409a9da02f27d05d713bff5f865e386cef9b3 git.kernel.org
- https://git.kernel.org/stable/c/c462ecd659b5fce731f1d592285832fd6ad54053 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-41077 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse