CVE-2024-45028
mmc: mmc_test: Fix NULL dereference on allocation failure
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < e97be13a9f51284da450dd2a592e3fa87b49cdc9; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < 2b507b03991f44dfb202fc2a82c9874d1b1f0c06; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < 9b9ba386d7bfdbc38445932c90fa9444c0524bea; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < e40515582141a9e7c84b269be699c05236a499a6; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < 3b4e76ceae5b5a46c968bd952f551ce173809f63; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < cac2815f49d343b2f0acc4973d2c14918ac3ab0c; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < ecb15b8ca12c0cbdab81e307e9795214d8b90890; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < a1e627af32ed60713941cbfc8075d44cad07f6dd
- Anyone running Linux 2.6.27
Vulnerability facts
- Affected
- Linux >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < e97be13a9f51284da450dd2a592e3fa87b49cdc9; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < 2b507b03991f44dfb202fc2a82c9874d1b1f0c06; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < 9b9ba386d7bfdbc38445932c90fa9444c0524bea; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < e40515582141a9e7c84b269be699c05236a499a6; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < 3b4e76ceae5b5a46c968bd952f551ce173809f63; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < cac2815f49d343b2f0acc4973d2c14918ac3ab0c; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < ecb15b8ca12c0cbdab81e307e9795214d8b90890; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < a1e627af32ed60713941cbfc8075d44cad07f6dd; Linux 2.6.27
- Fixed in
- Linux 2b507b03991f44dfb202fc2a82c9874d1b1f0c06, Linux 9b9ba386d7bfdbc38445932c90fa9444c0524bea, Linux 3b4e76ceae5b5a46c968bd952f551ce173809f63
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-476
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < e97be13a9f51284da450dd2a592e3fa87b49cdc9; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < 2b507b03991f44dfb202fc2a82c9874d1b1f0c06; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < 9b9ba386d7bfdbc38445932c90fa9444c0524bea; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < e40515582141a9e7c84b269be699c05236a499a6; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < 3b4e76ceae5b5a46c968bd952f551ce173809f63; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < cac2815f49d343b2f0acc4973d2c14918ac3ab0c; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < ecb15b8ca12c0cbdab81e307e9795214d8b90890; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < a1e627af32ed60713941cbfc8075d44cad07f6dd | — | cvelist |
| Linux | 2.6.27 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-45028. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-45028.md Affected: Linux >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < e97be13a9f51284da450dd2a592e3fa87b49cdc9; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < 2b507b03991f44dfb202fc2a82c9874d1b1f0c06; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < 9b9ba386d7bfdbc38445932c90fa9444c0524bea; >= 2661081f5ab9cb25359d27f… Fixed in: Linux 2b507b03991f44dfb202fc2a82c9874d1b1f0c06, Linux 9b9ba386d7bfdbc38445932c90fa9444c0524bea, Linux 3b4e76ceae5b5a46c968bd952f551ce173809f63 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/e97be13a9f51284da450dd2a592e3fa87b49cdc9
- https://git.kernel.org/stable/c/2b507b03991f44dfb202fc2a82c9874d1b1f0c06
- https://git.kernel.org/stable/c/9b9ba386d7bfdbc38445932c90fa9444c0524bea
- https://git.kernel.org/stable/c/e40515582141a9e7c84b269be699c05236a499a6
- https://git.kernel.org/stable/c/3b4e76ceae5b5a46c968bd952f551ce173809f63
- https://git.kernel.org/stable/c/cac2815f49d343b2f0acc4973d2c14918ac3ab0c
- https://git.kernel.org/stable/c/ecb15b8ca12c0cbdab81e307e9795214d8b90890
- https://git.kernel.org/stable/c/a1e627af32ed60713941cbfc8075d44cad07f6dd
FAQ
Is CVE-2024-45028 being exploited?
There is no confirmed exploitation: CVE-2024-45028 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-45028?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-45028?
Linux >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < e97be13a9f51284da450dd2a592e3fa87b49cdc9; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < 2b507b03991f44dfb202fc2a82c9874d1b1f0c06; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < 9b9ba386d7bfdbc38445932c90fa9444c0524bea; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < e40515582141a9e7c84b269be699c05236a499a6; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < 3b4e76ceae5b5a46c968bd952f551ce173809f63; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < cac2815f49d343b2f0acc4973d2c14918ac3ab0c; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < ecb15b8ca12c0cbdab81e307e9795214d8b90890; >= 2661081f5ab9cb25359d27f88707a018cf4e68e9, < a1e627af32ed60713941cbfc8075d44cad07f6dd; Linux 2.6.27.
Is there a fix for CVE-2024-45028?
Yes. Fixed in Linux 2b507b03991f44dfb202fc2a82c9874d1b1f0c06, Linux 9b9ba386d7bfdbc38445932c90fa9444c0524bea, Linux 3b4e76ceae5b5a46c968bd952f551ce173809f63. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-45028?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.