CVE-2024-45028Published Sep 11, 2024 · Sep 11Updated Oct 28
mmc: mmc_test: Fix NULL dereference on allocation failure
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2661081f5ab9cb25359d27f88707a018cf4e68e9 · < cac2815f49d343b2f0acc4973d2c14918ac3ab0c| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's mmc_test component can dereference a NULL pointer when a page allocation fails and the failure path tries to free it. The input does not specify how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running Linux kernels with mmc_test should check whether their kernel includes the fix; affected versions are not specified.