In the Linux kernel, the following vulnerability has been resolved: xfs: fix log recovery buffer allocation for the legacy h_size fixup Commit a70f9fe52daa ("xfs: detect and handle invalid iclog size set by mkfs") added a fixup for incorrect h_size values used for the initial umount record in old xfsprogs versions. Later commit 0c771b99d6c9 ("xfs: clean up calculation of LR header blocks") cleaned up the log reover buffer calculation, but stoped using the fixed up h_size value to size the log recovery buffer, which can lead to an out of bounds access when the incorrect h_size does not come from the old mkfs tool, but a fuzzer. Fix this by open coding xlog_logrec_hblks and taking the fixed h_size into account for this calculation.
History

Wed, 11 Sep 2024 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 19 Aug 2024 04:45:00 +0000


Wed, 14 Aug 2024 14:00:00 +0000


Thu, 08 Aug 2024 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:8::nfv
cpe:/o:redhat:enterprise_linux:8
Vendors & Products Redhat
Redhat enterprise Linux

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-07-05T06:42:03.495Z

Updated: 2024-09-11T17:34:41.426Z

Reserved: 2024-06-25T14:23:23.745Z

Link: CVE-2024-39472

cve-icon Vulnrichment

Updated: 2024-09-11T12:42:25.222Z

cve-icon NVD

Status : Modified

Published: 2024-07-05T07:15:10.020

Modified: 2024-08-19T05:15:06.543

Link: CVE-2024-39472

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-07-05T00:00:00Z

Links: CVE-2024-39472 - Bugzilla