CVE-2026-138997: signalfd: don't dequeue the forced fatal signals
In the Linux kernel, the following vulnerability has been resolved:
signalfd: don't dequeue the forced fatal signals
These signals should act like SIGKILL, in that userspace must never dequeue them. But as Kusaram explains, iouring-driven signalfdreaditer() called from getsignal() -> taskworkrun() paths can do this before getsignal() has a chance to dequeue such a signal and notice SAIMMUTABLE.
Change signalfdpoll() and signalfddequeue() to add pending SAIMMUTABLE signals to ctx->sigmask.
TODO: we should probably change forcesiginfototask(HANDLEREXIT) to make fatalsignalpending() true, or add a fatalorforcedsignalpending() helper. Then signalfddequeue() could just return -EINTR in this case. This also makes sense for getsignal(), which could prioritize a fatal signal sent by (say) forcesigseccomp(forcecoredump => true), just like it already prioritizes SIGKILL.