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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
grub2
Default version status: unaffected
0 to < *unaffected
Red Hat Red Hat Enterprise Linux 8
Default version status: affected
1:2.02-156.el8 to < *unaffected
Red Hat Red Hat Enterprise Linux 9
Default version status: affected
1:2.06-77.el9 to < *unaffected
Red Hat Red Hat Enterprise Linux 6
Default version status: unaffected
Red Hat Red Hat Enterprise Linux 7
Default version status: unaffected
References
- https://access.redhat.com/errata/RHSA-2024:2456 ↗
- https://access.redhat.com/errata/RHSA-2024:3184 ↗
- https://access.redhat.com/security/cve/CVE-2024-1048 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=2256827 ↗
- https://www.openwall.com/lists/oss-security/2024/02/06/3 ↗
- http://www.openwall.com/lists/oss-security/2024/02/06/3 ↗
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XRZQCVZ3XOASVFT6XLO7F2ZXOLOHIJZQ/ ↗
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YSJAEGRR3XHMBBBKYOVMII4P34IXEYPE/ ↗
- https://security.netapp.com/advisory/ntap-20240223-0007/ ↗