GRUB2 contains a race condition leading to a use-after-free vulnerability which can be triggered by redefining a function whilst the same function is already executing.
Ubuntu grub2 in Ubuntu
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Ubuntu grub2 in Ubuntu |
| No fix yet |
Original description
GRUB2 contains a race condition in grub_script_function_create() leading to a use-after-free vulnerability which can be triggered by redefining a function whilst the same function is already executing, leading to arbitrary code execution and secure boot restriction bypass. This issue affects GRUB2 version 2.04 and prior versions.