FKIE_CVE-2026-99652

Vulnerability from fkie_nvd - Published: 2026-11-20 06:17 - Updated: 2026-11-23 08:18
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: mm: fix deadlock of mremap() against UFFDIO_MOVE With per-VMA locks, UFFDIO_MOVE can run concurrently with mremap() on different VMAs in the same mm. Those VMAs can share page tables, so both operations can acquire the same pair of page-table locks. UFFDIO_MOVE orders the locks by address, while mremap() takes the source lock first. These conflicting orders can deadlock; mremap() holding mmap_lock for writing no longer helps. Move double_pt_lock() and double_pt_unlock() to mm/internal.h and use them for all page-table moves in mremap(). Preserve the source entry checks after acquiring both locks. Remove the comments claiming that exclusive mmap_lock makes lock ordering irrelevant. In move_ptes(), make sure to just recheck source and destination PMD after taking the locks and drop the overly-long comment. Fix generated by an LLM and sent by Chris Mason in private. [ david: use new helpers consistently; simplify description and comments; move_ptes() fixup ]
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "include/linux/userfaultfd_k.h",
            "mm/huge_memory.c",
            "mm/hugetlb.c",
            "mm/internal.h",
            "mm/mremap.c",
            "mm/userfaultfd.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "1acdf007989ffe56af434998f0d330e8473d1b07",
              "status": "affected",
              "version": "867a43a34ff8a38772212045262b2c9b77807ea3",
              "versionType": "git"
            },
            {
              "lessThan": "3627d4eaa7f4426b979d497544ce23cb8884134b",
              "status": "affected",
              "version": "867a43a34ff8a38772212045262b2c9b77807ea3",
              "versionType": "git"
            },
            {
              "lessThan": "d03df42ddae196f20e9cfb775704e60269eb6b44",
              "status": "affected",
              "version": "867a43a34ff8a38772212045262b2c9b77807ea3",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "include/linux/userfaultfd_k.h",
            "mm/huge_memory.c",
            "mm/hugetlb.c",
            "mm/internal.h",
            "mm/mremap.c",
            "mm/userfaultfd.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.9"
            },
            {
              "lessThan": "6.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.65",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm: fix deadlock of mremap() against UFFDIO_MOVE\n\nWith per-VMA locks, UFFDIO_MOVE can run concurrently with mremap()\non different VMAs in the same mm. Those VMAs can share page tables, so\nboth operations can acquire the same pair of page-table locks.\n\nUFFDIO_MOVE orders the locks by address, while mremap() takes the source\nlock first. These conflicting orders can deadlock; mremap() holding\nmmap_lock for writing no longer helps.\n\nMove double_pt_lock() and double_pt_unlock() to mm/internal.h and use\nthem for all page-table moves in mremap(). Preserve the source entry\nchecks after acquiring both locks. Remove the comments claiming that\nexclusive mmap_lock makes lock ordering irrelevant.\n\nIn move_ptes(), make sure to just recheck source and destination PMD\nafter taking the locks and drop the overly-long comment.\n\nFix generated by an LLM and sent by Chris Mason in private.\n\n[ david: use new helpers consistently; simplify description and comments;\n         move_ptes() fixup ]"
    }
  ],
  "id": "CVE-2026-99652",
  "lastModified": "2026-11-23T08:18:06.213",
  "metrics": {},
  "published": "2026-11-20T06:17:58.997",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/1acdf007989ffe56af434998f0d330e8473d1b07"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/3627d4eaa7f4426b979d497544ce23cb8884134b"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/d03df42ddae196f20e9cfb775704e60269eb6b44"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…