Skip to content
OpenAdvisories
Low · 3.3 CVE-2024-1048 EUVD-2024-16824GHSA-3qrv-r8v8-pmw7

Grub2: grub2-set-bootflag can be abused by local (pseudo-)users

Published Feb 6, 2024 · Updated Nov 5, 2026 · Assigned by redhat

Description

A flaw was found in the grub2-set-bootflag utility of grub2. After the fix of CVE-2019-14865, grub2-set-bootflag will create a temporary file with the new grubenv content and rename it to the original grubenv file. If the program is killed before the rename operation, the temporary file will not be removed and may fill the filesystem when invoked multiple times, resulting in a filesystem out of free inodes or blocks.

Affected products

VendorProductAffectedFixed
— grub2 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 9 grub2 +15 1:2.06-77.el9 RHSA-2024:2456
RHEL 8 grub2 +18 1:2.02-156.el8 RHSA-2024:3184

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 grub2-pc +14 1:2.06-77.el9.alma.1 ALSA-2024:2456
AlmaLinux 8 grub2-pc +17 1:2.02-156.el8.alma.1 ALSA-2024:3184

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 grub2 1:2.02-156.el8.rocky.0.1 RLSA-2024:3184

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 grub2-pc +16 1:2.06-61.amzn2023.0.10 ALAS2023-2024-546
Amazon Linux 2 grub2 +17 1:2.06-14.amzn2.0.3 ALAS2-2024-2499

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 grub2-pc +12 1:2.06-77.0.1.el9 ELSA-2024-2456
Oracle Linux 8 grub2-pc +15 1:2.02-156.0.1.el8 ELSA-2024-3184

Advisories 12

References