Bug 2311726 (CVE-2024-45028) - CVE-2024-45028 kernel: mmc: mmc_test: Fix NULL dereference on allocation failure
Summary: CVE-2024-45028 kernel: mmc: mmc_test: Fix NULL dereference on allocation failure
Keywords:
Status: NEW
Alias: CVE-2024-45028
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2311776
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-11 16:21 UTC by OSIDB Bzimport
Modified: 2024-09-13 10:14 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-09-11 16:21:28 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.