Linux kernel ptrace authorization bypass and exit-time file-descriptor theft
CVE-2026-46333 is an authorization flaw in Linux kernel ptrace access checks for tasks without an associated memory-management structure. The __ptrace_may_access() path does not preserve the intended dumpability restrictions after a task loses its memory image during exit. When credential checks align, an unprivileged local process can race a terminating privileged process and use pidfd_getfd() to duplicate privileged file descriptors. The same authorization weakness permits matching-credential access to kernel-thread details despite dropped capabilities. The correction preserves the task's last dumpability state, treats kernel threads as non-dumpable, and requires CAP_SYS_PTRACE to override the restriction.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can disclose root-owned secrets without directly granting root privileges. Public proofs of concept demonstrate theft of descriptors exposing SSH host private keys and password hashes from privileged helpers during process termination. Disclosure can enable subsequent impersonation, credential attacks, or elevated access, depending on the exposed material. The flaw also weakens capability-based privilege separation for access to kernel-thread details. Arbitrary kernel code execution or a root shell is not an established direct outcome of the demonstrated descriptor-theft attacks.
If you can’t patch tonight, do this now.
Until patching is complete, restrict ptrace-related functionality and limit untrusted local execution and interactive-shell access. For affected Siemens industrial devices without fixed firmware, restrict the additional GNU/Linux subsystem to trusted personnel and run only trusted applications. Dropping capabilities alone does not prevent the affected matching-credential access checks. These measures reduce exposure but do not replace the kernel fix.
Patch, then assume compromise.
Install a vendor-supported kernel update containing the ptrace/get_dumpable() correction and reboot into the updated kernel, or apply an explicitly supported live patch for the running kernel. Fixed builds include RHEL 9.4 kernel 5.14.0-427.126.1.el9_4, RHEL 9.6 kernel 5.14.0-570.116.1.el9_6, and affected Google COS kernel packages at version 18867.381.132 or later. Other distributions and appliances require their corresponding vendor security updates; these version identifiers are not universal upstream minimums. Verify that the corrected kernel or live patch is active.
7 exploits validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
220 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.