Skip to content
Heist/ feed
Unrated

mm/smaps: fix race between smaps_hugetlb_range and migration

Type: advisorySource: Official CVE List1 source record

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

Announced Group revision 1
Original source ↗

CVE-2025-39754

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-39754

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "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"
      }
    ],
    "programFiles": [
      "fs/proc/task_mmu.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.4"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.4",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.43",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.15.11",
        "versionType": "semver",
        "lessThanOrEqual": "6.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.16.2",
        "versionType": "semver",
        "lessThanOrEqual": "6.16.*"
      },
      {
        "status": "unaffected",
        "version": "6.17",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/proc/task_mmu.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-39754

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#46016 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement