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://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-2312.json"
[ { "events": [ { "introduced": "0" }, { "fixed": "2.12-1ubuntu5" } ] } ]