CVE-2026-138997

signalfd: don't dequeue the forced fatal signals

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
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, io_uring-driven signalfd_read_iter() called
from get_signal() -> task_work_run() paths can do this before get_signal()
has a chance to dequeue such a signal and notice SA_IMMUTABLE.

Change signalfd_poll() and signalfd_dequeue() to add pending SA_IMMUTABLE
signals to ctx->sigmask.

TODO: we should probably change force_sig_info_to_task(HANDLER_EXIT) to
make fatal_signal_pending() true, or add a fatal_or_forced_signal_pending()
helper. Then signalfd_dequeue() could just return -EINTR in this case.
This also makes sense for get_signal(), which could prioritize a fatal
signal sent by (say) force_sig_seccomp(force_coredump => true), just like
it already prioritizes SIGKILL.

Analysis

AI-generated

Technical impact

The Linux kernel’s signalfd implementation incorrectly dequeues signals marked as SA_IMMUTABLE, which are intended to be treated like SIGKILL and never removed by userspace. Because of this, a process can read or clear a forced fatal signal, potentially allowing the process to survive or behave unexpectedly. The patch updates signalfd_poll() and signalfd_dequeue() to add pending SA_IMMUTABLE signals to the signalfd context mask, ensuring they are not dequeued.

Affected Systems

This flaw exists in all Linux kernels that include the signalfd subsystem before the application of the referenced commit, regardless of distribution. No specific version ranges are listed, so any kernel that had not yet received the patch is vulnerable. Operators should verify their running kernel against the commit IDs provided in the references and consider upgrades to the latest stable release.

Risk and Exploitability

The vulnerability does not expose a remote attack vector and the EPSS score is unavailable, but it permits local processes to manipulate fatal signals, leading to denial‑of‑service or unintended process behavior. A local attacker could exploit this via a simple signalfd read operation. The risk is moderate to high in environments where signalfd and io_uring are employed frequently, and it is not currently listed in the CISA KEV catalog. Applying the vendor patch is strongly recommended to mitigate this potential attack surface.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the signalfd patch referenced in the commit logs.
  • If an immediate kernel upgrade is not possible, disable io_uring or signalfd usage in applications or apply a kernel blacklist if supported.
  • Monitor system logs and kernel crash dumps for abnormal signal handling anomalies; verify that SA_IMMUTABLE signals are not being dequeued.

Generated by OpenCVE AI on November 30, 2026 at 18:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-547
Type Values Removed Values Added
Description 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, io_uring-driven signalfd_read_iter() called from get_signal() -> task_work_run() paths can do this before get_signal() has a chance to dequeue such a signal and notice SA_IMMUTABLE. Change signalfd_poll() and signalfd_dequeue() to add pending SA_IMMUTABLE signals to ctx->sigmask. TODO: we should probably change force_sig_info_to_task(HANDLER_EXIT) to make fatal_signal_pending() true, or add a fatal_or_forced_signal_pending() helper. Then signalfd_dequeue() could just return -EINTR in this case. This also makes sense for get_signal(), which could prioritize a fatal signal sent by (say) force_sig_seccomp(force_coredump => true), just like it already prioritizes SIGKILL.
Title signalfd: don't dequeue the forced fatal signals
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-547

    Use of Hard-coded, Security-relevant Constants

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:26 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM