PT-2024-36982 · Linux+3 · Linux Kernel+3
Published
2024-12-11
·
Updated
2025-09-29
·
CVE-2024-56673
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.12.0-00982-gf2a4f1682d07
Description
The issue is related to the vmemmap page table code in the Linux kernel for RV64 with SPARSEMEM VMEMMAP. The pmd allocation does not use the generic mechanism, resulting in the pmd constructor not being called. When tearing down a vmemmap page table pmd, the cleanup code incorrectly calls the pmd destructor, leading to a crash. This issue was found when running the HMM selftests.
Recommendations
To resolve this issue, apply a patch that adds a check to avoid calling the pmd dtor if the calling context is vmemmap free(). Update to a version of the Linux kernel that includes this fix.
Exploit
Fix
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Linuxmint
Linux Kernel
Ubuntu