{"id":"CVE-2026-99702","summary":"mm/vma: write lock source VMA before duplicating it in __split_vma()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/vma: write lock source VMA before duplicating it in __split_vma()\n\n__split_vma() duplicates the source VMA before taking its VMA write lock,\nand until the VMA is write-locked, a concurrent thread might set\nVMA_MAYBE_GUARD_BIT, resulting in the duplication missing the flag.\n\nIf this happens, then fork may fail to duplicate guard markers and, if a\nfile-backed mapping, THP collapse may also discard the markers.\n\nResolve this by taking the VMA write lock before vm_area_dup() and, since\nall callers of vm_area_dup() now hold the VMA write lock, assert that this\nis the case there, and add a comment to explain why it's needed.\n\n[ljs@kernel.org: add VMA write assert in vm_area_dup(), commit message touchup]","modified":"2026-11-20T07:01:10.994026474Z","published":"2026-11-20T05:50:44.005Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99702.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2c1393ecc3dd399561557c98d7f2e5251bb5bf92"},{"type":"WEB","url":"https://git.kernel.org/stable/c/769417e410dd19b2a438c6addb61b194b7a4c387"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99702.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99702"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2ab7f1bbafc927c69374d45578011c814c26ae2f"},{"fixed":"2c1393ecc3dd399561557c98d7f2e5251bb5bf92"},{"fixed":"769417e410dd19b2a438c6addb61b194b7a4c387"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99702.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99702.json"}}],"schema_version":"1.9.2"}