{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99919","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.445Z","datePublished":"2026-11-30T13:18:16.794Z","dateUpdated":"2026-11-30T13:18:16.794Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:18:16.794Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nuserfaultfd: fix UFFDIO_MOVE livelock on large folio with extra references\n\nTo move one page out of a large folio, move_pages_ptes() first has to\nsplit the folio.  __folio_split() refuses if the folio has any reference\nbeyond its page table mappings and the caller's own, and it reports the\nrefusal as -EAGAIN.  move_pages() treats returned -EAGAIN as a transient\nrace and keeps retrying the same address, holding the VMA read locks the\nwhole time.  This is incorrect since in some cases userspace can hold such\na reference indefinitely, such as by registering the page as an io_uring\nbuffer.\n\nAn unprivileged user can trigger this with three threads: first holds such\na reference on a page of a THP, second calls UFFDIO_MOVE on another page\nof the same THP and spins in the kernel forever holding the VMA read\nlocks, and third calls fork() or mprotect(), which takes mmap_lock for\nwriting and then waits forever for those read locks.  From then on every\nmmap_lock user of that mm hangs, including other processes inspecting it\nthrough /proc/<pid>/, until the process is SIGKILLed.  The hung task\ndetector reports the blocked tasks (third one), and with\nkernel.hung_task_panic=1 the machine panics:\n\n  INFO: task wedge:95 blocked for more than 122 seconds.\n  task:wedge  state:D stack:12528 pid:95 tgid:95 ppid:94\n  Call Trace:\n   __schedule+0x596/0x1110\n   schedule+0x36/0xf0\n   __vma_start_exclude_readers+0x100/0x170\n   __vma_start_write+0x51/0xd0\n   __split_vma+0x208/0x3d0\n   vma_modify+0x6a8/0x840\n   vma_modify_flags+0xce/0x110\n   mprotect_fixup+0xbe/0x480\n   do_mprotect_pkey+0x2d9/0x580\n   __x64_sys_mprotect+0x1a/0x30\n\nFix by returning -EBUSY instead of -EAGAIN in move_pages_ptes(), the\ncaller of split_folio(), when the split fails.  Thus, move_pages() does\nnot retry -EBUSY and the ioctl drops its locks and returns to userspace\ninstead of spinning."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/userfaultfd.c"],"versions":[{"version":"adef440691bab824e39c1b17382322d195e1fab0","lessThan":"f6ebda09bdc3b88ca370e37e2df2163de1bf7530","status":"affected","versionType":"git"},{"version":"adef440691bab824e39c1b17382322d195e1fab0","lessThan":"87f6bb4b82ac4334ff4b5ff0becff9690fe39911","status":"affected","versionType":"git"},{"version":"adef440691bab824e39c1b17382322d195e1fab0","lessThan":"285b62e0b489ffb54f9d501da48ccb3020a99351","status":"affected","versionType":"git"},{"version":"adef440691bab824e39c1b17382322d195e1fab0","lessThan":"454143aeb4c6c85ca7d50df36d1a66a64d88283e","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/userfaultfd.c"],"versions":[{"version":"6.8","status":"affected"},{"version":"0","lessThan":"6.8","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/f6ebda09bdc3b88ca370e37e2df2163de1bf7530"},{"url":"https://git.kernel.org/stable/c/87f6bb4b82ac4334ff4b5ff0becff9690fe39911"},{"url":"https://git.kernel.org/stable/c/285b62e0b489ffb54f9d501da48ccb3020a99351"},{"url":"https://git.kernel.org/stable/c/454143aeb4c6c85ca7d50df36d1a66a64d88283e"}],"title":"userfaultfd: fix UFFDIO_MOVE livelock on large folio with extra references","x_generator":{"engine":"bippy-1.2.0"}}}}