CVE-2025-39754

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().
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*

History

30 Oct 2026, 13:18

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/37ee0d97298b0547cb26b6957ccfea2d356bd0e7 -

21 Oct 2026, 13:18

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/f76089018b34dbe0c2e9b67c5b7d8860668748bb -

19 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: mm/smaps: corrección de una condición de carrera entre smaps_hugetlb_range y migration smaps_hugetlb_range() maneja el pte sin mantener ptl, y puede ser concurrente con migration, lo que lleva a un BUG_ON en pfn_swap_entry_to_page(). La condición de carrera es la siguiente. smaps_hugetlb_range migrate_pages huge_ptep_get remove_migration_ptes folio_unlock pfn_swap_entry_folio BUG_ON Para solucionarlo, mantener el bloqueo ptl en smaps_hugetlb_range().

Information

Published : 2025-09-11 17:15

Updated : 2026-11-05 22:17


NVD link : CVE-2025-39754

Mitre link : CVE-2025-39754

CVE.ORG link : CVE-2025-39754


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')