{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-142817","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.331Z","datePublished":"2026-12-03T03:17:46.399Z","dateUpdated":"2026-12-04T03:25:08.369Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-04T03:25:08.369Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfork: move the coredump and exec checks into create_io_thread()\n\nOnly a PF_USER_WORKER thread returns from get_signal() after a fatal\nsignal and can go on to create a thread. get_signal() sets PF_SIGNALED\nbefore it dumps core and before it lets a PF_USER_WORKER thread return.\nThat flags sticks.\n\nThe exec'ing thread itself is never signaled. But it doesn't need the check\nanyway as we moved cancellation of io_uring requests before de_thread().\ncreate_io_thread() is the only way a signaled thread creates another\none. vhost_task_create() is reached from ioctls alone.\n\nio_should_retry_thread() doesn't retry -EINTR, so io-wq callers give up\nthe same way they did when copy_process() refused."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The missing PF_SIGNALED gate is in create_io_thread(), called by create_io_worker() from create_worker_cb() after io_sq_thread() returns from get_signal(). Entry is the local io_uring_setup(IORING_SETUP_SQPOLL) syscall plus execve() or a fatal signal in that task; no remote message carries the trigger.\nAC:L - The task queues create_worker task work, then execve() or a coredump runs zap_other_threads()/zap_process(). get_signal() sigdelset()s SIGKILL, sets PF_SIGNALED and returns, so copy_process()'s fatal_signal_pending() check passes. io_sq_thread() calls create_io_thread() and io_uring_cancel_generic() waits for that child to exit, so the child's coredump_task_exit() or __exit_signal() drops nr_threads or notify_count while the parent still runs.\nPR:L - io_uring_setup() is allowed for an unprivileged process when sysctl io_uring_disabled is 0, and io_sq_offload_create() imposes no capability check beyond the security_uring_sqpoll() LSM hook. That user can call execve() or raise the signal itself.\nUI:N - The attacker opens the SQPOLL ring, leaves create_worker task work queued, and invokes execve() or the fatal signal. No other principal has to mount, open, or acknowledge anything.\nS:U - The stray io thread is created with CLONE_THREAD inside the attacker's own thread group, and the damaged state is that group's signal->notify_count, posix_timers, and core_state. It does not cross a guest/host or IOMMU boundary.\nC:H - de_thread() returns once notify_count hits zero, and posixtimer_exec() then calls exit_itimers(), which frees every struct k_itimer on signal->posix_timers. The uncounted worker's __exit_signal() consumes that count while io_sq_thread() is still alive and shares that signal_struct, so the freed timer objects remain reachable.\nI:H - exit_itimers() frees those k_itimer objects and exec_mmap() calls futex_exit_exec_release() and swaps current->mm while CLONE_THREAD io_sq_thread() is still inside io_uring_cancel_generic() on the old mm. On the dump path the child inherits PF_SIGNALED from arch_dup_task_struct() and its coredump_task_exit() decrement lets coredump_wait() return early.\nA:H - exit_itimers() frees struct k_itimer objects still reachable from the live io_sq_thread() via signal->posix_timers, so a timer tick in that window dereferences freed heap and oopses. dump_vma_snapshot() likewise walks VMAs after coredump_wait() has returned early because the uncounted thread decremented core_state->nr_threads."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/fork.c"],"versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"eaa63cc350530b67b1f88c8f0ac24de08170aad8","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"a6b105726213d0366665e8d23572129c3f974bd8","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"c7ee0f9de827d01080376eb8750d86fe65383aef","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"c3b9c90f32c5d7034d8e4f5544b0b82933ff7c39","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"915fa76e2258945cd2a9d657ef3afe5b851cdf9b","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"0e8cff375cd6fd12064547abaa868c8bc856f88c","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"e760200370e4de054b6b5f568a7faa911e2956bb","status":"affected","versionType":"git"},{"version":"0","lessThan":"6.1.193","status":"affected","versionType":"semver"},{"version":"0","lessThan":"6.6.163","status":"affected","versionType":"semver"},{"version":"0","lessThan":"6.12.117","status":"affected","versionType":"semver"},{"version":"0","lessThan":"6.18.61","status":"affected","versionType":"semver"},{"version":"0","lessThan":"7.2.15","status":"affected","versionType":"semver"},{"version":"0","lessThan":"7.3.2","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/fork.c"],"versions":[{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.15","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3.2","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:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.15"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/eaa63cc350530b67b1f88c8f0ac24de08170aad8"},{"url":"https://git.kernel.org/stable/c/a6b105726213d0366665e8d23572129c3f974bd8"},{"url":"https://git.kernel.org/stable/c/c7ee0f9de827d01080376eb8750d86fe65383aef"},{"url":"https://git.kernel.org/stable/c/c3b9c90f32c5d7034d8e4f5544b0b82933ff7c39"},{"url":"https://git.kernel.org/stable/c/915fa76e2258945cd2a9d657ef3afe5b851cdf9b"},{"url":"https://git.kernel.org/stable/c/0e8cff375cd6fd12064547abaa868c8bc856f88c"},{"url":"https://git.kernel.org/stable/c/e760200370e4de054b6b5f568a7faa911e2956bb"}],"title":"fork: move the coredump and exec checks into create_io_thread()","x_generator":{"engine":"bippy-1.2.0"}}}}