CVE-2024-45028

published 11 Sep 2024 · updated 11 May 2026

mmc: mmc_test: Fix NULL dereference on allocation failure

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2b507b03991f44dfb202fc2a82c9874d1b1f0c06, Kernel 3b4e76ceae5b5a46c968bd952f551ce173809f63, Kernel 9b9ba386d7bfdbc38445932c90fa9444c0524bea and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.27, >=2661081f5ab9cb25359d27f88707a018cf4e68e9 <2b507b03991f44dfb202fc2a82c9874d1b1f0c06, >=2661081f5ab9cb25359d27f88707a018cf4e68e9 <3b4e76ceae5b5a46c968bd952f551ce173809f63, >=2661081f5ab9cb25359d27f88707a018cf4e68e9 <9b9ba386d7bfdbc38445932c90fa9444c0524bea, >=2661081f5ab9cb25359d27f88707a018cf4e68e9 <a1e627af32ed60713941cbfc8075d44cad07f6dd, >=2661081f5ab9cb25359d27f88707a018cf4e68e9 <cac2815f49d343b2f0acc4973d2c14918ac3ab0c, >=2661081f5ab9cb25359d27f88707a018cf4e68e9 <e40515582141a9e7c84b269be699c05236a499a6, >=2661081f5ab9cb25359d27f88707a018cf4e68e9 <e97be13a9f51284da450dd2a592e3fa87b49cdc9, >=2661081f5ab9cb25359d27f88707a018cf4e68e9 <ecb15b8ca12c0cbdab81e307e9795214d8b908902b507b03991f44dfb202fc2a82c9874d1b1f0c06, 3b4e76ceae5b5a46c968bd952f551ce173809f63, 9b9ba386d7bfdbc38445932c90fa9444c0524bea, a1e627af32ed60713941cbfc8075d44cad07f6dd, cac2815f49d343b2f0acc4973d2c14918ac3ab0c, e40515582141a9e7c84b269be699c05236a499a6, e97be13a9f51284da450dd2a592e3fa87b49cdc9, ecb15b8ca12c0cbdab81e307e9795214d8b90890

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-45028 severity on Zeptric[![CVE-2024-45028](https://zeptric.io/badge/cve/CVE-2024-45028.svg)](https://zeptric.io/cve/CVE-2024-45028)