CVE-2026-99919
publisheduserfaultfd: fix UFFDIO_MOVE livelock on large folio with extra references
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxadef440691bab824e39c1b17382322d195e1fab0 to < f6ebda09bdc3b88ca370e37e2df2163de1bf7530 · adef440691bab824e39c1b17382322d195e1fab0 to < 87f6bb4b82ac4334ff4b5ff0becff9690fe39911 · adef440691bab824e39c1b17382322d195e1fab0 to < 285b62e0b489ffb54f9d501da48ccb3020a99351 · adef440691bab824e39c1b17382322d195e1fab0 to < 454143aeb4c6c85ca7d50df36d1a66a64d88283e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: userfaultfd: fix UFFDIO_MOVE livelock on large folio with extra references To move one page out of a large folio, move_pages_ptes() first has to split the folio. __folio_split() refuses if the folio has any reference beyond its page table mappings and the caller's own, and it reports the refusal as -EAGAIN. move_pages() treats returned -EAGAIN as a transient race and keeps retrying the same address, holding the VMA read locks the whole time. This is incorrect since in some cases userspace can hold such a reference indefinitely, such as by registering the page as an io_uring buffer. An unprivileged user can trigger this with three threads: first holds such a reference on a page of a THP, second calls UFFDIO_MOVE on another page of the same THP and spins in the kernel forever holding the VMA read locks, and third calls fork() or mprotect(), which takes mmap_lock for writing and then waits forever for those read locks. From then on every mmap_lock user of that mm hangs, including other processes inspecting it through /proc/<pid>/, until the process is SIGKILLed. The hung task detector reports the blocked tasks (third one), and with kernel.hung_task_panic=1 the machine panics: INFO: task wedge:95 blocked for more than 122 seconds. task:wedge state:D stack:12528 pid:95 tgid:95 ppid:94 Call Trace: __schedule+0x596/0x1110 schedule+0x36/0xf0 __vma_start_exclude_readers+0x100/0x170 __vma_start_write+0x51/0xd0 __split_vma+0x208/0x3d0 vma_modify+0x6a8/0x840 vma_modify_flags+0xce/0x110 mprotect_fixup+0xbe/0x480 do_mprotect_pkey+0x2d9/0x580 __x64_sys_mprotect+0x1a/0x30 Fix by returning -EBUSY instead of -EAGAIN in move_pages_ptes(), the caller of split_folio(), when the split fails. Thus, move_pages() does not retry -EBUSY and the ioctl drops its locks and returns to userspace instead of spinning.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | adef440691bab824e39c1b17382322d195e1fab0 to < f6ebda09bdc3b88ca370e37e2df2163de1bf7530 (affected · git)adef440691bab824e39c1b17382322d195e1fab0 to < 87f6bb4b82ac4334ff4b5ff0becff9690fe39911 (affected · git)adef440691bab824e39c1b17382322d195e1fab0 to < 285b62e0b489ffb54f9d501da48ccb3020a99351 (affected · git)adef440691bab824e39c1b17382322d195e1fab0 to < 454143aeb4c6c85ca7d50df36d1a66a64d88283e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
userfaultfd: fix UFFDIO_MOVE livelock on large folio with extra references
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a2de6f58d8fe257318ac341d585dfbfaab20ee00230f2a7defcc7560a15896e1
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record