7.8

CVE-2024-47674: mm: avoid leaving partial pfn mappings around in error case

Modified
AliasesUBUNTU-CVE-2024-47674DEBIAN-CVE-2024-47674
Published 15-10-2024Last modified 05-08-2026

Vulnerability summary

CVE-2024-47674 is a high (CVSS 7.8) Incomplete Cleanup vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 15.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.25%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 65 · Related 63

Timeline

  1. 15-10-2024
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.25%

Chance of exploitation in the next 30 days

Percentile

16%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.25% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu130 products
  • linuxAll versions (No fix recorded) | < 5.4.0-208.228 | < 5.15.0-127.137 | < 6.8.0-50.51
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.4.0-1140.150 | < 5.15.0-1073.79 | < 6.8.0-1020.22
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ b97a50adb37e98b940a30c4656565ff609aa8f94, < 3213fdcab961026203dd587a4533600c70b3336b | ≥ 69d4e1ce9087c8767f2fe9b9426fa2755c8e9072, < 35770ca6180caa24a2b258c99a87bd437a1ee10f | ≥ 74ffa5a3e68504dd289135b1cf0422c19ffb3f2e, < 5b2c8b34f6d76bfbd1dd4936eb8a0fbfb9af3959 | ≥ 74ffa5a3e68504dd289135b1cf0422c19ffb3f2e, < 65d0db500d7c07f0f76fc24a4d837791c4862cd2 | ≥ 74ffa5a3e68504dd289135b1cf0422c19ffb3f2e, < a95a24fcaee1b892e47d5e6dcc403f713874ee80 | ≥ 74ffa5a3e68504dd289135b1cf0422c19ffb3f2e, < 954fd4c81f22c4b6ba65379a81fd252971bf4ef3 | ≥ 74ffa5a3e68504dd289135b1cf0422c19ffb3f2e, < 79a61cc3fc0466ad2b7b89618a6157785f0293b3 | 5.13
  • linux_kernel< 5.15.168 | ≥ 5.16, < 6.1.111 | ≥ 6.2, < 6.6.52 | ≥ 6.7, < 6.10.11 | 6.11:rc1 | 6.11:rc2 | 6.11:rc3 | 6.11:rc4 | 6.11:rc5 | 6.11:rc6 | 6.11:rc7
Debian1 product
  • linux< 6.1.112-1 | < 6.10.11-1

3 vendors · 133 products

References

38 links
Show all 38 references