What’s Vulnerable › Vulnerabilities

CVE-2024-45775: Grub2: commands/extcmd: missing check for failed allocation

Description

A flaw was found in grub2 where the grub_extcmd_dispatcher() function calls grub_arg_list_alloc() to allocate memory for the grub's argument list. However, it fails to check in case the memory allocation fails. Once the allocation fails, a NULL point will be processed by the parse_option() function, leading grub to crash or, in some rare scenarios, corrupt the IVT data.

Affected products

How to fix

Upgrade to a fixed version: Red Hat Enterprise Linux 9 1:2.06-104.el9_6. Check the vendor advisory for mitigations.

References

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