PT-2025-42775 · Linux+3 · Linux Kernel+3
CVE-2025-40006
·
Published
2025-09-12
·
Updated
2026-08-30
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
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