Bug 2273912 (CVE-2024-2312)

Summary: CVE-2024-2312 grub2: grub-efi crashes upon `exit`
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: gsuckevi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in GRUB2. GRUB2 do not call the module fini functions on exit, leading to Debian/Ubuntu's peimage GRUB2 module leaving the UEFI system table hooks after exit. This issue leads to a use-after-free condition, possibly leading to a secure boot bypass.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2273913, 2273914, 2273915    
Bug Blocks: 2273916    

Description Avinash Hanwate 2024-04-08 05:16:49 UTC
GRUB2 does not call the module fini functions on exit, leading to Debian/Ubuntu's peimage GRUB2 module leaving UEFI system table hooks after exit. This lead to a use-after-free condition, and could possibly lead to secure boot bypass.

https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2054127
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2312

Comment 1 Avinash Hanwate 2024-04-08 05:18:33 UTC
Created grub2 tracking bugs for this issue:

Affects: fedora-all [bug 2273914]


Created radare2 tracking bugs for this issue:

Affects: epel-all [bug 2273913]
Affects: fedora-all [bug 2273915]