What’s Vulnerable › Vulnerabilities

CVE-2024-45028: mmc: mmc_test: Fix NULL dereference on allocation failure

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 products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.321, 5.10.225, 5.15.166, 5.4.283. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-45028 or the next vulnerability affects your stack