CVE-2025-39754CWE-362

CVE-2025-39754

Medium · published September 11, 2025

CVSS v3.1
4.7
EPSS
0%
Percentile
1.4
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

mm/smaps: fix race between smaps_hugetlb_range and migration

smaps_hugetlb_range() handles the pte without holdling ptl, and may be

concurrenct with migration, leaing to BUG_ON in pfn_swap_entry_to_page().

The race is as follows.

smaps_hugetlb_range migrate_pages

huge_ptep_get

remove_migration_ptes

folio_unlock

pfn_swap_entry_folio

BUG_ON

To fix it, hold ptl lock in smaps_hugetlb_range().

The record
Technical detail
CVSS v3.1
4.7 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00114 · 1.4th percentile
Weakness
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Published
2025-09-11T21:15Z
Affected products (4)
ProductVersionsFixed in
linux/linux_kernel≥ 4.4, < 6.12.436.12.43
linux/linux_kernel≥ 6.13, < 6.15.116.15.11
linux/linux_kernel≥ 6.16, < 6.16.26.16.2
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 11 SEP 16:52Z
    mm/smaps: fix race between smaps_hugetlb_range and migration
    cvelistv5