pid_namespace: prevent TIF_NOTIFY_SIGNAL from interrupting the reaper

State
Published
Severity
Not Scored
Published
Nov 3, 2026
Updated
Nov 3, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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.

ProductVersions
Linux Linuxedd2754a62bee8d97b4808a15de024f66a1ddccf to before 2c20ace1698d03a23467351be1d281e89b36ade3 Affected3466abafa9f4f81a869da828e52a12f693175ec2 to before 9ab0324f4868eeb20c63f063a1e5bc01d5539212 Affected7fea700e04bd3f424c2d836e98425782f97b494e to before 30b274508c743f243c82904954c4e416d7143d4c Affected7fea700e04bd3f424c2d836e98425782f97b494e to before 70178691c467c8f9f722765299fd8524c3121a35 Affected7fea700e04bd3f424c2d836e98425782f97b494e to before 3d15ac36ce174477efa5365e424dbd47950fd2b9 Affected7fea700e04bd3f424c2d836e98425782f97b494e to before f46cd8241d9b83f2279cc0db3e9d3e181b548a59 Affected7fea700e04bd3f424c2d836e98425782f97b494e to before 5c0985dd3c32fc2bbd0e8beaf13cf52cd97376a2 Affected82c7acf9a12c9b4e4b0aba531de82b4e39a345c8 Affected8e69e589f233ca2c9631f5af2b94f95dfc2ba804 Affected09ab5b424b17cfe633db58bb2f9edbaf9484cf20 Affected6.1.95 to before 6.1.191 Affected6.6.35 to before 6.6.161 Affected5.10.221 to before 5.11 Affected5.15.162 to before 5.16 Affected6.9.6 to before 6.10 Affected
Linux Linux6.10 Affectedbefore 6.10 Not Affected6.1.191 through 6.1.* Not Affected6.6.161 through 6.6.* Not Affected6.12.115 through 6.12.* Not Affected6.18.60 through 6.18.* Not Affected7.2.14 through 7.2.* Not Affected7.3.1 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.