Bug 2337481 (CVE-2024-45775) - CVE-2024-45775 grub2: commands/extcmd: Missing check for failed allocation
Summary: CVE-2024-45775 grub2: commands/extcmd: Missing check for failed allocation
Keywords:
Status: NEW
Alias: CVE-2024-45775
Deadline: 2025-01-28
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2346324 2346321 2346322 2346323 2346325
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-13 23:11 UTC by OSIDB Bzimport
Modified: 2025-05-13 08:41 UTC (History)
7 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:6990 0 None None None 2025-05-13 08:41:10 UTC

Description OSIDB Bzimport 2025-01-13 23:11:03 UTC
In grub_extcmd_dispatcher() function grub2 calls grub_arg_list_alloc() to allocate memory for the grub's argument list, however it misses to check in case the memory allocation failed. Once the allocation failed, a NULL point will be processed by the parse_option() function leading grub to crash or in some rare scenarios corrupt the IVT data.

Comment 4 errata-xmlrpc 2025-05-13 08:41:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:6990 https://access.redhat.com/errata/RHSA-2025:6990


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