CVE-2024-47674
MEDIUMDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Exploit Intelligence
Low risk: more likely to be exploited than 15% of all known CVEs.
References
Related Vulnerabilities
Other CWE-459 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2017-17090 | High | 7.5 | 82% | - | Fix |
| CVE-2021-39327 | Medium | 5.3 | 72% | - | - |
| CVE-2025-31650 | High | 7.5 | 67% | - | Fix |
| CVE-2022-1552 | High | 8.8 | 12% | - | Fix |
| CVE-2018-18924 | High | 8.8 | 9.5% | - | - |
| CVE-2022-21125 | Medium | 5.5 | 6.5% | - | Fix |
Embed a live status badge for CVE-2024-47674
Markdown
[](https://tridentstack.com/cve/CVE-2024-47674)HTML
<a href="https://tridentstack.com/cve/CVE-2024-47674"><img src="https://tridentstack.com/cve/badge/CVE-2024-47674.svg" alt="CVE-2024-47674"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.