FlawAtlas
Search the atlas
CVE-2026-46333 Not scored

ptrace: slightly saner 'get_dumpable()' logic

In the Linux kernel, the following vulnerability has been resolved: ptrace: slightly saner 'get_dumpable()' logic The 'dumpability' of a task is fundamentally about the memory image of the task - the concept comes from whether it can core dump or not - and makes no sense when you don't have an associated mm. And almost all users do in fact use it only for the case where the task has a mm pointer. But we have one odd special case: ptrace_may_access() uses 'dumpable' to check various other things entirely independently of the MM (typically explicitly using flags like PTRACE_MODE_READ_FSCREDS). Including for threads that no longer have a VM (and maybe never did, like most kernel threads). It's not what this flag was designed for, but it is what it is. The ptrace code does check that the uid/gid matches, so you do have to be uid-0 to see kernel thread details, but this means that the traditional "drop capabilities" model doesn't make any difference for this all. Make it all make a *bit* more sense by saying that if you don't have a MM pointer, we'll use a cached "last dumpability" flag if the thread ever had a MM (it will be zero for kernel threads since it is never set), and require a proper CAP_SYS_PTRACE capability to override.

Exploit probability 1.4%
Published May 15, 2026
Required by Not available
Last source change July 16, 2026

02 / AFFECTED SOFTWARE

Affected packages

Linux Kernel
Unknown Unknown

550 explicit affected versions

03 / CONNECTIONS

Connected vulnerabilities

related ALSA-2026:19664
related ALSA-2026:19666
related ALSA-2026:A008
related ALSA-2026:A009
related ALSA-2026:A010
related OPENSUSE-RU-2026:20779-1
related OPENSUSE-SU-2026:10825-1
related OPENSUSE-SU-2026:20826-1
related SUSE-RU-2026:21753-1
related SUSE-RU-2026:21783-1
related SUSE-RU-2026:21820-1
related SUSE-SU-2026:1899-1
related SUSE-SU-2026:1900-1
related SUSE-SU-2026:1904-1
related SUSE-SU-2026:1907-1
related SUSE-SU-2026:1908-1
related SUSE-SU-2026:1909-1
related SUSE-SU-2026:1959-1
related SUSE-SU-2026:1978-1
related SUSE-SU-2026:2068-1
related SUSE-SU-2026:2111-1
related SUSE-SU-2026:2131-1
related SUSE-SU-2026:2133-1
related SUSE-SU-2026:2134-1
related SUSE-SU-2026:2137-1
related SUSE-SU-2026:2141-1
related SUSE-SU-2026:2148-1
related SUSE-SU-2026:2149-1
related SUSE-SU-2026:2153-1
related SUSE-SU-2026:2158-1
related SUSE-SU-2026:2159-1
related SUSE-SU-2026:2168-1
related SUSE-SU-2026:2172-1
related SUSE-SU-2026:21721-1
related SUSE-SU-2026:21724-1
related SUSE-SU-2026:21734-1
related SUSE-SU-2026:21735-1
related SUSE-SU-2026:2176-1
related SUSE-SU-2026:2178-1
related SUSE-SU-2026:2181-1
related SUSE-SU-2026:21841-1
related SUSE-SU-2026:21845-1
related SUSE-SU-2026:21860-1
related SUSE-SU-2026:2189-1
related SUSE-SU-2026:2191-1
related SUSE-SU-2026:2199-1
related SUSE-SU-2026:2200-1
related SUSE-SU-2026:2202-1
related SUSE-SU-2026:2207-1
related SUSE-SU-2026:2214-1
related SUSE-SU-2026:2215-1

04 / EVIDENCE

Source records

Open Source Vulnerabilities CVE-2026-46333

In the Linux kernel, the following vulnerability has been resolved: ptrace: slightly saner 'get_dumpable()' logic The 'dumpability' of a task is fundamentally about the memory image of the task - the concept comes from whether it can core dump or not - and makes no sense when you don't have an associated mm. And almost all users do in fact use it only for the case where the task has a mm pointer. But we have one odd special case: ptrace_may_access() uses 'dumpable' to check various other things entirely independently of the MM (typically explicitly using flags like PTRACE_MODE_READ_FSCREDS). Including for threads that no longer have a VM (and maybe never did, like most kernel threads). It's not what this flag was designed for, but it is what it is. The ptrace code does check that the uid/gid matches, so you do have to be uid-0 to see kernel thread details, but this means that the traditional "drop capabilities" model doesn't make any difference for this all. Make it all make a *bit* more sense by saying that if you don't have a MM pointer, we'll use a cached "last dumpability" flag if the thread ever had a MM (it will be zero for kernel threads since it is never set), and require a proper CAP_SYS_PTRACE capability to override.

View original source

05 / REFERENCES

Further evidence