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

VectorAV: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

Weakness Enumeration

Related Identifiers

BDU:2025-13601
CVE-2025-40006
DLA-4379-1
DLA-4404-1
DSA-6053-1
ECHO-893D-2A1A-5942
MGASA-2025-0309
MGASA-2025-0310
OESA-2025-2633
OESA-2025-2634
OESA-2025-2635
OPENSUSE-SU-2025:20172-1
SUSE-SU-2026:0278-1
SUSE-SU-2026:0281-1
SUSE-SU-2026:0293-1
SUSE-SU-2026:0315-1
SUSE-SU-2026:0316-1
SUSE-SU-2026:20012-1
SUSE-SU-2026:20015-1
SUSE-SU-2026:20021-1
SUSE-SU-2026:20477-1
SUSE-SU-2026:20498-1
SUSE-SU-2026:20845-1
SUSE-SU-2026:20876-1
USN-8033-1
USN-8033-2
USN-8033-3
USN-8033-4
USN-8033-5
USN-8033-6
USN-8033-7
USN-8033-8
USN-8034-1
USN-8034-2
USN-8095-1
USN-8095-2
USN-8095-3
USN-8095-4
USN-8095-5
USN-8100-1
USN-8125-1
USN-8126-1
USN-8141-1
USN-8163-1
USN-8163-2
USN-8165-1
USN-8243-1
USN-8261-1

Affected Products

Debian
Linuxmint
Linux Kernel
Ubuntu