CVE-2024-47674mm: avoid leaving partial pfn mappings around in error case
- 7.8HighCVSS base score
- 0.25%Exploitation in 30 daysEPSS · top 84% 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: mm: avoid leaving partial pfn mappings around in error case As Jann points out, PFN mappings are special, because unlike normal memory mappings, there is no lifetime information associated with the mapping - it is just a raw mapping of PFNs with no reference counting of a 'struct page'. That's all very much intentional, but it does mean that it's easy to mess up the cleanup in case of errors. Yes, a failed mmap() will always eventually clean up any partial mappings, but without any explicit lifetime in the page table mapping itself, it's very easy to do the error handling in the wrong order. In particular, it's easy to mistakenly free the physical backing store before the page tables are actually cleaned up and (temporarily) have stale dangling PTE entries. To make this situation less error-prone, just make sure that any partial pfn mapping is torn down early, before any other error handling.
Timeline
ID reserved
By Linux
- 15 days later
· 15 days later
Published
- 22 months later
· 22 months 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.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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 84% of all CVEs (16 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.8.
Affected products
- affected b97a50adb37e98b940a30c4656565ff609aa8f94 – < 3213fdcab961026203dd587a4533600c70b3336b
- affected 69d4e1ce9087c8767f2fe9b9426fa2755c8e9072 – < 35770ca6180caa24a2b258c99a87bd437a1ee10f
- affected 74ffa5a3e68504dd289135b1cf0422c19ffb3f2e – < 5b2c8b34f6d76bfbd1dd4936eb8a0fbfb9af3959
- affected 74ffa5a3e68504dd289135b1cf0422c19ffb3f2e – < 65d0db500d7c07f0f76fc24a4d837791c4862cd2
- affected 74ffa5a3e68504dd289135b1cf0422c19ffb3f2e – < a95a24fcaee1b892e47d5e6dcc403f713874ee80
- affected 74ffa5a3e68504dd289135b1cf0422c19ffb3f2e – < 954fd4c81f22c4b6ba65379a81fd252971bf4ef3
- affected 74ffa5a3e68504dd289135b1cf0422c19ffb3f2e – < 79a61cc3fc0466ad2b7b89618a6157785f0293b3
- affected 5.13
- unaffected < 5.13
- unaffected 5.15.168 – ≤ 5.15.*
- unaffected 6.1.111 – ≤ 6.1.*
- unaffected 6.6.52 – ≤ 6.6.*
- unaffected 6.10.11 – ≤ 6.10.*
- unaffected 6.11 – ≤ *
References
References10
- https://git.kernel.org/stable/c/3213fdcab961026203dd587a4533600c70b3336b (opens in a new tab)
- https://git.kernel.org/stable/c/35770ca6180caa24a2b258c99a87bd437a1ee10f (opens in a new tab)
- https://git.kernel.org/stable/c/5b2c8b34f6d76bfbd1dd4936eb8a0fbfb9af3959 (opens in a new tab)
- https://git.kernel.org/stable/c/65d0db500d7c07f0f76fc24a4d837791c4862cd2 (opens in a new tab)
- https://git.kernel.org/stable/c/a95a24fcaee1b892e47d5e6dcc403f713874ee80 (opens in a new tab)
- https://git.kernel.org/stable/c/954fd4c81f22c4b6ba65379a81fd252971bf4ef3 (opens in a new tab)
- https://git.kernel.org/stable/c/79a61cc3fc0466ad2b7b89618a6157785f0293b3 (opens in a new tab)
- https://project-zero.issues.chromium.org/issues/366053091 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)
- 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-42595 (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-47674)Record last updated .