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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | 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.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | grub2 | 1:2.02-156.el8.rocky.0.1 | RLSA-2024:3184 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- ALSA-2024:2456 Moderate: grub2 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:3184 Moderate: grub2 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:3184 Red Hat Security Advisory: grub2 security update Red Hat Security Advisories (RHSA) · Jul 21, 2026
- RHSA-2024:2456 Red Hat Security Advisory: grub2 security update Red Hat Security Advisories (RHSA) · Jul 21, 2026
- RLSA-2024:3184 Moderate: grub2 security update Rocky Linux Security Advisories · Feb 5, 2026
- WID-SEC-2024-1905 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 3, 2025
- WID-SEC-2024-1307 Red Hat OpenShift Service Mesh Containers: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 5, 2025
- WID-SEC-2024-0308 Grub: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Oct 31, 2024
- ELSA-2024-3184 Moderate: grub2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 24, 2024
- ELSA-2024-2456 Moderate: grub2 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 3, 2024
- ALAS2-2024-2499 Low: grub2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Mar 18, 2024
- ALAS2023-2024-546 Low: grub2 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Mar 5, 2024
References
- RHSA-2024:2456 vendor-advisory
- RHSA-2024:3184 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-1048 vdb-entry
- RHBZ#2256827 issue-tracking
- https://www.openwall.com/lists/oss-security/2024/02/06/3