CVE-2026-142817: fork: move the coredump and exec checks into create_io_thread()
In the Linux kernel, the following vulnerability has been resolved:
fork: move the coredump and exec checks into createiothread()
Only a PFUSERWORKER thread returns from getsignal() after a fatal signal and can go on to create a thread. getsignal() sets PFSIGNALED before it dumps core and before it lets a PFUSERWORKER thread return. That flags sticks.
The exec'ing thread itself is never signaled. But it doesn't need the check anyway as we moved cancellation of iouring requests before dethread(). createiothread() is the only way a signaled thread creates another one. vhosttaskcreate() is reached from ioctls alone.
ioshouldretrythread() doesn't retry -EINTR, so io-wq callers give up the same way they did when copyprocess() refused.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.61 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.2.15 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2