7.1high
ptrace: slightly saner 'get_dumpable()' logic
- Severity
- 7.1high CVSS:3.1 by Linux
- Exploit likelihood
- 4.30% (higher than 91% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from bfedb589252c01fa505ac9f6f2a3d5d68d707ef4 before 93d4ba49d18e3d7fb41a9927c2d0cca5e9dfefd6, from bfedb589252c01fa505ac9f6f2a3d5d68d707ef4 before 15b828a46f305ae9f05a7c16914b3ce273474205, from bfedb589252c01fa505ac9f6f2a3d5d68d707ef4 before 4709234fd1b95136ceb789f639b1e7ea5de1b181, from bfedb589252c01fa505ac9f6f2a3d5d68d707ef4 before 8f907d345bae8f4b3f004c5abc56bf2dfb851ea7, from bfedb589252c01fa505ac9f6f2a3d5d68d707ef4 before 6e5b51e74a40d377bcd3081dd33fbaa0e1aa7e3d, from bfedb589252c01fa505ac9f6f2a3d5d68d707ef4 before 2a93a4fac7b6051d3be7cd1b015fe7320cd0404d, from bfedb589252c01fa505ac9f6f2a3d5d68d707ef4 before 01363cb3fbd0238ffdeb09f53e9039c9edf8a730, from bfedb589252c01fa505ac9f6f2a3d5d68d707ef4 before 31e62c2ebbfdc3fe3dbdf5e02c92a9dc67087a3a and 9 more Not affected: before 4.10, from 5.10.256 up to 5.10.*, from 5.15.207 up to 5.15.*, from 6.1.173 up to 6.1.*, from 6.6.139 up to 6.6.*, from 6.12.89 up to 6.12.* | CVE List |
| kernel | Not specified Not affected: from 0:6.12.0-211.8.el10nv before *, from 0:6.12.0-231.12.el10nv before *, from 0:6.12.0-211.16.1.el10_2 before *, from 0:6.12.0-55.75.1.el10_0 before *, from 0:4.18.0-553.125.1.el8_10 before *, from 0:4.18.0-305.192.1.el8_4 before * | CVE List |
| kernel-rt | Not specified Not affected: from 0:4.18.0-553.125.1.rt7.466.el8_10 before *, from 0:5.14.0-70.180.1.rt21.252.el9_0 before *, from 0:5.14.0-284.172.1.rt14.457.el9_2 before * | CVE List |
| kpatch-patch | Not specified | CVE List |
| cri-o | Not specified Not affected: from 0:1.33.12-3.rhaos4.20.git64c6a00.el9 before * | CVE List |
| openshift | Not specified Not affected: from 0:4.20.0-202605141748.p2.g2a0461f.assembly.stream.el8 before * | CVE List |
| openshift-clients | Not specified Not affected: from 0:4.20.0-202605211651.p2.g02b0b2d.assembly.stream.el8 before * | CVE List |
| rhcos | Not specified Not affected: from 4.20.9.6.202605270908-0 before * | CVE List |
| openshift/ose-rhel-coreos-9 | Not specified | CVE List |
| linux linux_kernel | from 3.16.52 before 3.17, from 4.4.40 before 4.5, from 4.8.16 before 4.9, from 4.9.1 before 5.10.256, from 5.11 before 5.15.207, from 5.16 before 6.1.173, from 6.2 before 6.6.139, from 6.7 before 6.12.89 and 3 more | NVD |
| debian debian_linux | 11.0 | NVD |
All scores
| Linux | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| redhat-SADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-46333 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2026-46333 changed 2026-11-10 | Public domain |