Ubuntu fixes Linux kernel flaws that could compromise systems
USN-9165-1 covers the cryptographic API, file systems, key management, io_uring, PID namespaces, and tracing.
Pid-namespace reaper busy-wait in the Linux kernel
In the Linux kernel, TIF_NOTIFY_SIGNAL can be raised again after the pid-namespace reaper clears it, so kernel_wait4() or schedule() in TASK_INTERRUPTIBLE returns at once and the reaper busy-waits instead of sleeping until a child exits or free_pid() wakes it. Kernel paths such as livepatch signal delivery can set the flag. Impact is a spinning reaper, not a stated privilege gain. Affected builds are not listed.
What to do: Apply the distribution kernel update that includes the no_notify_signal reaper fix (Ubuntu USN-9165-1 covers related kernel issues). No workaround is stated.
| Product | Affected |
|---|---|
| Linux kernel | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
In the Linux kernel, the following vulnerability has been resolved: pid_namespace: prevent TIF_NOTIFY_SIGNAL from interrupting the reaper Since commit 7fea700e04bd ("zap_pid_ns_processes: clear TIF_NOTIFY_SIGNAL along with TIF_SIGPENDING") zap_pid_ns_processes() clears TIF_NOTIFY_SIGNAL before every kernel_wait4() call. Otherwise kernel_wait4() doesn't sleep and returns -ERESTARTSYS if signal_pending() is true and the reaper busy-waits. But clearing TIF_NOTIFY_SIGNAL doesn't fix it. It can get raised again. For example, klp_send_signals() sets it raw against any task that hasn't transitioned yet. And it keeps sending it until the livepatch finishes. The sleep loop waiting for pid_allocated to drop has the same problem and it doesn't even clear anything. So a schedule() in TASK_INTERRUPTIBLE returns immediately. Use a no_notify_signal guard. signal_pending() will ignore TIF_NOTIFY_SIGNAL and the pid namespace reaper sleeps until a child exits or free_pid() wakes it.
USN-9165-1 covers the cryptographic API, file systems, key management, io_uring, PID namespaces, and tracing.
USN-9165-2 lists 19 CVEs across the cryptographic API, filesystems, key management, io_uring, PID namespaces and tracing.
Today 1.4K readers · 1.9K views · 224 reads · all time 220K views