CVE-2024-39472: xfs: fix log recovery buffer allocation for the legacy h_size fixup

Published Jul 5, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

xfs: fix log recovery buffer allocation for the legacy hsize fixup

Commit a70f9fe52daa ("xfs: detect and handle invalid iclog size set by mkfs") added a fixup for incorrect hsize 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 hsize value to size the log recovery buffer, which can lead to an out of bounds access when the incorrect hsize does not come from the old mkfs tool, but a fuzzer.

Fix this by open coding xloglogrechblks and taking the fixed hsize into account for this calculation.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

xfs: fix log recovery buffer allocation for the legacy hsize fixup

The Linux kernel CVE team has assigned CVE-2024-39472 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024070512-CVE-2024-39472-f977@gregkh/T

Red Hat

Linux Kernel is vulnerable to a denial of service, caused by incorrect hsize values used for the initial umount record in xfslogrecover.c. A local authenticated attacker could exploit this vulnerability to cause a denial of service.

IBM

Affected Software

8 affected componentsFixes available
Linux Linux kernel<=6.9.3
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
redhat/kernel<6.10
6.10
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.25-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1

Event History

Jul 5, 2024
CVE Published
via MITRE·06:42 AM
Data Sourced
via MITRE·06:42 AM
Description
Data Sourced
via NVD·07:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 29, 2025
Data Sourced
via Ubuntu·06:21 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-39472?

CVE-2024-39472 is classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-39472?

To fix CVE-2024-39472, you should upgrade your Linux kernel to the recommended versions provided by your distribution.

3

Which versions of the Linux kernel are affected by CVE-2024-39472?

CVE-2024-39472 affects multiple versions of the Linux kernel up to 6.9.3 and includes specific Debian and Red Hat kernel versions.

4

Is there a workaround for CVE-2024-39472?

No specific workaround for CVE-2024-39472 has been documented; updating the kernel is the best approach.

5

What distribution sources are associated with CVE-2024-39472?

CVE-2024-39472 is relevant to Red Hat and Debian distributions with specific kernel versions that need upgrading.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203