{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99652","id":"CVE-2026-99652","title":"Linux kernel deadlock in mremap and UFFDIO_MOVE","description":"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 f","descriptionLong":"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 ]","published":"2026-11-20T05:50:05.321Z","updated":"2026-11-20T06:17:58.997Z","reserved":"2026-09-25T10:25:14.427Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"867a43a34ff8a38772212045262b2c9b77807ea3","lessThan":"3627d4eaa7f4426b979d497544ce23cb8884134b","status":"affected","versionType":"git"},{"version":"867a43a34ff8a38772212045262b2c9b77807ea3","lessThan":"d03df42ddae196f20e9cfb775704e60269eb6b44","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","lessThan":"6.9","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/3627d4eaa7f4426b979d497544ce23cb8884134b","tags":[]},{"url":"https://git.kernel.org/stable/c/d03df42ddae196f20e9cfb775704e60269eb6b44","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99652","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99652","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99652","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99652","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}