LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A local user or process may be able to abuse faulty Linux kernel cleanup after a failed physical-memory mapping. Memory can be released before related page-table entries are removed, briefly leaving stale references. This could threaten confidentiality, integrity, and availability, although practical exploitation depends on reaching an affected mapping path.

Executive priority

Prioritize remediation on systems permitting untrusted local workloads or protecting sensitive data. This is not described as remotely exploitable or actively exploited, so it generally ranks below confirmed Internet-facing exploitation. Still, its potential kernel-level confidentiality, integrity, and availability impact supports prompt patching during the next expedited maintenance window.

Technical view

PFN mappings lack normal page lifetime tracking. During an error, partial mappings could remain while their physical backing store was freed, creating dangling page-table entries. The upstream correction tears down partial PFN mappings before other error handling. The supplied CVSS 3.1 score is 7.8, with local access and low privileges required.

Likely exposure

Exposure is most relevant on affected Linux systems where untrusted or compromised local processes can reach kernel or driver functionality that creates PFN mappings. Internet exposure alone is insufficient because the stated vector is local. Multi-user systems, workstations, container hosts, and Linux-based appliances warrant inventory review, but the bundle does not identify specific reachable drivers or configurations.

Exploitation context

The supplied bundle marks KEV false, and no cited source states that active exploitation is occurring. CVSS indicates local access, low privileges, low complexity, and no user interaction. A Project Zero issue is referenced, but the provided evidence is insufficient to characterize exploit maturity or real-world prevalence.

Researcher notes

The record links stable-branch commits but does not clearly express complete vulnerable ranges, required subsystem or driver paths, or distribution backport status. Treat the listed version strings cautiously. Establish applicability through vendor package guidance and fix-commit presence. The source bundle does not provide enough evidence to claim reliable exploitation.

Mitigation direction

  • Upgrade to a vendor-supported kernel package containing the applicable stable fix.
  • Follow distribution advisories for package-specific fixed versions and reboot requirements.
  • Restrict untrusted local code and shell access where practical until systems are patched.
  • Update and retire vulnerable golden images, host templates, and appliance firmware.

Validation and detection

  • Inventory running kernels with distribution and build metadata, not upstream version numbers alone.
  • Compare installed packages with vendor advisories and applicable upstream stable fixes.
  • After updating, confirm systems rebooted into the corrected kernel.
  • Review container hosts, multi-user systems, appliances, and reusable machine images.
Prepared
Confidence
medium
Sources
12

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2024-47674 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
11Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2024-47674Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxb97a50adb37e98b940a30c4656565ff609aa8f94, 69d4e1ce9087c8767f2fe9b9426fa2755c8e9072, 74ffa5a3e68504dd289135b1cf0422c19ffb3f2e, 74ffa5a3e68504dd289135b1cf0422c19ffb3f2e, 74ffa5a3e68504dd289135b1cf0422c19ffb3f2e, 74ffa5a3e68504dd289135b1cf0422c19ffb3f2e, 74ffa5a3e68504dd289135b1cf0422c19ffb3f2eunaffected
LinuxLinux5.13, 0, 5.15.168, 6.1.111, 6.6.52, 6.10.11, 6.11affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.