PT-2025-42775 · Linux+3 · Linux Kernel+3
Published
2025-09-12
·
Updated
2026-05-07
·
CVE-2025-40006
CVSS v2.0
4.6
Medium
| Vector | AV:L/AC:L/Au:S/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.17.0-rc5-00044-g7aac71907bde
Description
The Linux kernel contains a flaw in the hugetlb subsystem related to folio management. Specifically, a race condition can occur during folio deletion when migration is in progress, potentially leading to a folio being incorrectly reported as not mapped. This can result in a bug within the filemap subsystem, specifically in
filemap unaccount folio. The issue arises because the folio lock is not held when checking if a folio is mapped, allowing a race with migration. This can lead to the folio being mapped again after migration has attempted to unmap it.Recommendations
Update to a version of the Linux kernel that is later than 6.17.0-rc5-00044-g7aac71907bde.
Exploit
Fix
Improper Locking
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Linuxmint
Linux Kernel
Ubuntu