CVE-2024-45028
mmc: mmc_test: Fix NULL dereference on allocation failure
Check your servers for CVE-2024-45028
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-45028 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:
mmc: mmc_test: Fix NULL dereference on allocation failure
If the "test->highmem = alloc_pages()" allocation fails then calling __free_pages(test->highmem) will result in a NULL dereference. Also change the error code to -ENOMEM instead of returning success.
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 29 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 2661081f5ab9cb25359d27f88707a018cf4e68e9, before e97be13a9f51284da450dd2a592e3fa87b49cdc9 affected from 2661081f5ab9cb25359d27f88707a018cf4e68e9, before 2b507b03991f44dfb202fc2a82c9874d1b1f0c06 affected from 2661081f5ab9cb25359d27f88707a018cf4e68e9, before 9b9ba386d7bfdbc38445932c90fa9444c0524bea affected from 2661081f5ab9cb25359d27f88707a018cf4e68e9, before e40515582141a9e7c84b269be699c05236a499a6 affected from 2661081f5ab9cb25359d27f88707a018cf4e68e9, before 3b4e76ceae5b5a46c968bd952f551ce173809f63 affected from 2661081f5ab9cb25359d27f88707a018cf4e68e9, before cac2815f49d343b2f0acc4973d2c14918ac3ab0c affected from 2661081f5ab9cb25359d27f88707a018cf4e68e9, before ecb15b8ca12c0cbdab81e307e9795214d8b90890 affected from 2661081f5ab9cb25359d27f88707a018cf4e68e9, before a1e627af32ed60713941cbfc8075d44cad07f6dd
Other versions: unaffected
|
| Linux |
affected 2.6.27 unaffected before 2.6.27 unaffected from 4.19.321 up to and including 4.19.* unaffected from 5.4.283 up to and including 5.4.* unaffected from 5.10.225 up to and including 5.10.* unaffected from 5.15.166 up to and including 5.15.* unaffected from 6.1.107 up to and including 6.1.* unaffected from 6.6.48 up to and including 6.6.* unaffected from 6.10.7 up to and including 6.10.* unaffected 6.11 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-45028 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-45028
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-45028
trivy image --scanners vuln IMAGE | grep CVE-2024-45028
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/e97be13a9f51284da450dd2a592e3fa87b49cdc9 git.kernel.org
- https://git.kernel.org/stable/c/2b507b03991f44dfb202fc2a82c9874d1b1f0c06 git.kernel.org
- https://git.kernel.org/stable/c/9b9ba386d7bfdbc38445932c90fa9444c0524bea git.kernel.org
- https://git.kernel.org/stable/c/e40515582141a9e7c84b269be699c05236a499a6 git.kernel.org
- https://git.kernel.org/stable/c/3b4e76ceae5b5a46c968bd952f551ce173809f63 git.kernel.org
- https://git.kernel.org/stable/c/cac2815f49d343b2f0acc4973d2c14918ac3ab0c git.kernel.org
- https://git.kernel.org/stable/c/ecb15b8ca12c0cbdab81e307e9795214d8b90890 git.kernel.org
- https://git.kernel.org/stable/c/a1e627af32ed60713941cbfc8075d44cad07f6dd git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html lists.debian.org
Source: the record CVE-2024-45028 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