CVE-2024-39472: xfs: fix log recovery buffer allocation for the legacy h_size fixup
Vulnerability summary
CVE-2024-39472 is a high (CVSS 7.3) vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 16.6% of scored vulnerabilities.
Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 24 · Related 18Timeline
- 05-07-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
17%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.25% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu117 products
- linux< 5.15.0-125.135 | < 6.8.0-50.51
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1072.78 | < 6.8.0-1020.22
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 0c771b99d6c9a0552fea5cc43669b726dad8f659, < f754591b17d0ee91c2b45fe9509d0cdc420527cb | ≥ 0c771b99d6c9a0552fea5cc43669b726dad8f659, < 57835c0e7152e36b03875dd6c56dfeed685c1b1f | ≥ 0c771b99d6c9a0552fea5cc43669b726dad8f659, < c2389c074973aa94e34992e7f66dac0de37595b5 | ≥ 0c771b99d6c9a0552fea5cc43669b726dad8f659, < 45cf976008ddef4a9c9a30310c9b4fb2a9a6602a | 5.10
- linux_kernel≤ 6.9.3
Debian1 product
- linux< 6.1.106-1 | < 6.10.3-1
3 vendors · 120 products