CVE-2024-45028

mmc: mmc_test: Fix NULL dereference on allocation failure

MEDIUM
5.5
CVSS Score
Published: September 11, 2024 at 03:13 PM UTC
Updated: June 17, 2026 at 07:53 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.27 ≤ v < 4.19.3212.6.27 ≤ v < 5.10.2252.6.27 ≤ v < 5.15.1662.6.27 ≤ v < 5.4.2832.6.27 ≤ v < 6.1.1072.6.27 ≤ v < 6.10.72.6.27 ≤ v < 6.112.6.27 ≤ v < 6.6.484.20 ≤ v < 5.4.2835.11 ≤ v < 5.15.1665.16 ≤ v < 6.1.1075.5 ≤ v < 5.10.2256.2 ≤ v < 6.6.486.7 ≤ v < 6.10.72661081f5ab9cb25359d27f88707a018cf4e68e96.11 rc16.11 rc26.11 rc36.11 rc4
Vendor states this is fixed in 2b507b03991f44dfb202fc2a82c9874d1b1f0c06 (fixed)
Vendor states this is fixed in 3b4e76ceae5b5a46c968bd952f551ce173809f63 (fixed)
Vendor states this is fixed in 9b9ba386d7bfdbc38445932c90fa9444c0524bea (fixed)
Vendor states this is fixed in a1e627af32ed60713941cbfc8075d44cad07f6dd (fixed)
Vendor states this is fixed in cac2815f49d343b2f0acc4973d2c14918ac3ab0c (fixed)
Vendor states this is fixed in e40515582141a9e7c84b269be699c05236a499a6 (fixed)
Vendor states this is fixed in e97be13a9f51284da450dd2a592e3fa87b49cdc9 (fixed)
Vendor states this is fixed in ecb15b8ca12c0cbdab81e307e9795214d8b90890 (fixed)
Vendor states this is fixed in 2.6.27 (unaffected)
Vendor states this is fixed in 4.19.321 (unaffected)
Vendor states this is fixed in 5.10.225 (unaffected)
Vendor states this is fixed in 5.15.166 (unaffected)
Vendor states this is fixed in 5.4.283 (unaffected)
Vendor states this is fixed in 6.1.107 (unaffected)
Vendor states this is fixed in 6.10.7 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.48 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2b507b03991f44dfb202fc2a82c9874d1b1f0c06
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3b4e76ceae5b5a46c968bd952f551ce173809f63
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9b9ba386d7bfdbc38445932c90fa9444c0524bea
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a1e627af32ed60713941cbfc8075d44cad07f6dd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cac2815f49d343b2f0acc4973d2c14918ac3ab0c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e40515582141a9e7c84b269be699c05236a499a6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e97be13a9f51284da450dd2a592e3fa87b49cdc9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ecb15b8ca12c0cbdab81e307e9795214d8b90890

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card