CVE-2024-39472xfs: fix log recovery buffer allocation for the legacy h_size fixup
- 7.3HighCVSS base score
- 0.25%Exploitation in 30 daysEPSS · top 83% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By Linux
- 10 days later
· 10 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.25% · top 83% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.3.
Affected products
- affected 0c771b99d6c9a0552fea5cc43669b726dad8f659 – < f754591b17d0ee91c2b45fe9509d0cdc420527cb
- affected 0c771b99d6c9a0552fea5cc43669b726dad8f659 – < 57835c0e7152e36b03875dd6c56dfeed685c1b1f
- affected 0c771b99d6c9a0552fea5cc43669b726dad8f659 – < c2389c074973aa94e34992e7f66dac0de37595b5
- affected 0c771b99d6c9a0552fea5cc43669b726dad8f659 – < 45cf976008ddef4a9c9a30310c9b4fb2a9a6602a
- affected 5.10
- unaffected < 5.10
- unaffected 5.15.165 – ≤ 5.15.*
- unaffected 6.1.105 – ≤ 6.1.*
- unaffected 6.6.46 – ≤ 6.6.*
- unaffected 6.10 – ≤ *
References
References5
- https://git.kernel.org/stable/c/f754591b17d0ee91c2b45fe9509d0cdc420527cb (opens in a new tab)
- https://git.kernel.org/stable/c/57835c0e7152e36b03875dd6c56dfeed685c1b1f (opens in a new tab)
- https://git.kernel.org/stable/c/c2389c074973aa94e34992e7f66dac0de37595b5 (opens in a new tab)
- https://git.kernel.org/stable/c/45cf976008ddef4a9c9a30310c9b4fb2a9a6602a (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-37997 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-39472)Record last updated .