CVE-2024-47674

Medium

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.

Package Linux Kernel
Published 2024-10-15
Last modified 2025-11-03
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-459

CVE-2024-47674 is classified as CWE-459

See CWE-459 on MITRE CWE for full details on this weakness type.

Affected versions

Linux kernel versions 5.13 and later are affected. Fixed in 5.15.168, 6.1.111, 6.6.52, 6.10.11, 6.11 and their respective stable series.

Affected from
≥ 5.13
Fixed in
✓ 5.15.168 5.15.x ✓ 6.1.111 6.1.x ✓ 6.6.52 6.6.x ✓ 6.10.11 6.10.x ✓ 6.11

References

The following references provide additional information about CVE-2024-47674 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2024-47674?

    CVE-2024-47674 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 5.13 onward and has been patched in 5.15.168, 6.1.111, 6.6.52 and others. CVE-2024-47674 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-47674?

    CVE-2024-47674 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2024-47674?

    Yes — CVE-2024-47674 has been patched. Fixed versions include 5.15.168, 6.1.111, 6.6.52 and others. If you are running Linux kernel 5.13 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-47674 actively exploited?

    No — CVE-2024-47674 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.