{"id":"CVE-2025-39754","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-09-11T17:15:39.200","lastModified":"2026-11-05T22:17:30.210","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/smaps: fix race between smaps_hugetlb_range and migration\n\nsmaps_hugetlb_range() handles the pte without holdling ptl, and may be\nconcurrenct with migration, leaing to BUG_ON in pfn_swap_entry_to_page(). \nThe race is as follows.\n\nsmaps_hugetlb_range              migrate_pages\n  huge_ptep_get\n                                   remove_migration_ptes\n\t\t\t\t   folio_unlock\n  pfn_swap_entry_folio\n    BUG_ON\n\nTo fix it, hold ptl lock in smaps_hugetlb_range()."},{"lang":"es","value":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmm/smaps: corrección de una condición de carrera entre smaps_hugetlb_range y migration\n\nsmaps_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.\n\nsmaps_hugetlb_range              migrate_pages\n  huge_ptep_get\n                                   remove_migration_ptes\n\t\t\t\t   folio_unlock\n  pfn_swap_entry_folio\n    BUG_ON\n\nPara solucionarlo, mantener el bloqueo ptl en smaps_hugetlb_range()."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/proc/task_mmu.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"25ee01a2fca02dfb5a3ce316e77910c468108199","lessThan":"37ee0d97298b0547cb26b6957ccfea2d356bd0e7","versionType":"git","status":"affected"},{"version":"25ee01a2fca02dfb5a3ce316e77910c468108199","lessThan":"f76089018b34dbe0c2e9b67c5b7d8860668748bb","versionType":"git","status":"affected"},{"version":"25ee01a2fca02dfb5a3ce316e77910c468108199","lessThan":"2a1f3663974162b8f1e098196f557cfc1d160138","versionType":"git","status":"affected"},{"version":"25ee01a2fca02dfb5a3ce316e77910c468108199","lessThan":"09fc018f48871123ad5dbd7b03c956580232ed76","versionType":"git","status":"affected"},{"version":"25ee01a2fca02dfb5a3ce316e77910c468108199","lessThan":"b625883ccbcc2b57808db51d1375b1d7b9bcb3e5","versionType":"git","status":"affected"},{"version":"25ee01a2fca02dfb5a3ce316e77910c468108199","lessThan":"45d19b4b6c2d422771c29b83462d84afcbb33f01","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/proc/task_mmu.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.4","status":"affected"},{"version":"0","lessThan":"4.4","versionType":"semver","status":"unaffected"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.43","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.15.11","lessThanOrEqual":"6.15.*","versionType":"semver","status":"unaffected"},{"version":"6.16.2","lessThanOrEqual":"6.16.*","versionType":"semver","status":"unaffected"},{"version":"6.17","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":4.7,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.0,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-05T21:10:55.460794Z","id":"CVE-2025-39754","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-362"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"6.12.43","matchCriteriaId":"1B4F5217-B7BD-4806-975B-17BF26B8F81C"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.15.11","matchCriteriaId":"BC242347-F722-43AE-B910-BE0B22386977"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.16.2","matchCriteriaId":"BD7C087D-2415-4521-B624-30003352F899"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*","matchCriteriaId":"327D22EF-390B-454C-BD31-2ED23C998A1C"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/09fc018f48871123ad5dbd7b03c956580232ed76","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/2a1f3663974162b8f1e098196f557cfc1d160138","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/37ee0d97298b0547cb26b6957ccfea2d356bd0e7","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/45d19b4b6c2d422771c29b83462d84afcbb33f01","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b625883ccbcc2b57808db51d1375b1d7b9bcb3e5","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/f76089018b34dbe0c2e9b67c5b7d8860668748bb","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}