{"identifier":"CVE-2026-99701","cve":{"id":"CVE-2026-99701","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/ksm: fix userfaultfd protection during merge and unmerge\n\nKSM loses userfaultfd protection when replace_page() builds a new PTE from\nvma->vm_page_prot.  Dropping its uffd bit lets a subsequent write go\nthrough ordinary COW instead of userfaultfd write protection handling. \nFor RWP, a merged page also becomes readable without faulting.\n\nKeeping the uffd bit and restoring PAGE_NONE fixes merging, but we also\nhave to handle unmerging.  An existing KSM page can be protected with RWP\nbefore MADV_UNMERGEABLE, so unmerging already needs fixing independently\nof preserving RWP during merging.\n\nUnsharing replaces a shared page with a private one and should leave\nuserfaultfd protection in place, as do_wp_page() already does for write\nprotection.  Currently, an unshare fault reaches do_uffd_rwp() before it\ncan proceed to do_wp_page().\n\n- With synchronous RWP, handle_userfault() returns VM_FAULT_SIGBUS.\n  break_ksm() then reports success with a KSM page still merged.\n\n- With asynchronous RWP, protection is cleared before unsharing.\n\nPreserve the uffd bit when merging, and restore PAGE_NONE for RWP.  Let\nFAULT_FLAG_UNSHARE skip RWP fault handling and keep PAGE_NONE on each\nprivate copy as well.  Unsharing can then complete with RWP still armed\nfor a subsequent access.","published":"2026-11-20T06:18:05.773000+00:00","modified":"2026-12-06T01:18:55.500000+00:00","status":"Received","score":null,"severity":"UNSCORED","vector":"","cvss_version":"","affected":[],"weaknesses":[],"references":[{"url":"https://git.kernel.org/stable/c/4712cc65a41d0e69117fbf5b977a4f3e3e7bed05","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/5cf7267b79f276c27825a2ebb95deda788a29e77","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/6231451bff59a5944616b53309ec11999e48781b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/990d6c2194a938a19a8cf94c6cfd75171345089b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c511c0af3653e753e1b7f00a1fb0c7c7a204a20a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/eacdf038ba20034236d7e597fd62dbdba09838b0","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"kev":null,"kev_checked":true,"metrics":{},"configurations":[],"source":"nvd","retrieved_at":"2026-12-06T03:34:51.406925+00:00","exploited":false,"kev_stale":false,"products":[],"priority":{"label":"Assess exposure and vendor guidance","reasons":["No higher-priority signal is available in the current stored evidence."]},"epss":{"probability":0.00168,"percentile":0.064,"date":"2026-12-04","stale":false},"version_assessment":null},"news":[],"campaigns":[],"domains":[{"domain":"git.kernel.org","source_url":"https://git.kernel.org/stable/c/4712cc65a41d0e69117fbf5b977a4f3e3e7bed05","investigate_url":"https://investigate.aeglixmind.com/#git.kernel.org"}],"arsenal_url":"https://arsenal.aeglixmind.com/?cve=CVE-2026-99701","catalog_url":"https://cves.aeglixmind.com/cve/CVE-2026-99701","research_url":"https://investigate.aeglixmind.com/research/cve/CVE-2026-99701","coverage":{"news_candidates_checked":0,"campaign_candidates_checked":0,"bounded":false,"notice":"Exact CVE mentions in stored public excerpts and reviewed campaign content only. A mention is not proof of exploitation, attribution or tool suitability. Missing matches do not establish absence."}}