{"id":"CVE-2026-46333","published":"2026-05-15T12:58:44Z","modified":"2026-11-10T12:47:32Z","title":"ptrace: slightly saner 'get_dumpable()' logic","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nptrace: slightly saner 'get_dumpable()' logic\n\nThe 'dumpability' of a task is fundamentally about the memory image of\nthe task - the concept comes from whether it can core dump or not - and\nmakes no sense when you don't have an associated mm.\n\nAnd almost all users do in fact use it only for the case where the task\nhas a mm pointer.\n\nBut we have one odd special case: ptrace_may_access() uses 'dumpable' to\ncheck various other things entirely independently of the MM (typically\nexplicitly using flags like PTRACE_MODE_READ_FSCREDS).  Including for\nthreads that no longer have a VM (and maybe never did, like most kernel\nthreads).\n\nIt's not what this flag was designed for, but it is what it is.\n\nThe ptrace code does check that the uid/gid matches, so you do have to\nbe uid-0 to see kernel thread details, but this means that the\ntraditional \"drop capabilities\" model doesn't make any difference for\nthis all.\n\nMake it all make a *bit* more sense by saying that if you don't have a\nMM pointer, we'll use a cached \"last dumpability\" flag if the thread\never had a MM (it will be zero for kernel threads since it is never\nset), and require a proper CAP_SYS_PTRACE capability to override.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04299,"percentile":0.91287,"provenance":"source"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"references":[{"url":"https://git.kernel.org/stable/c/93d4ba49d18e3d7fb41a9927c2d0cca5e9dfefd6","tags":[]},{"url":"https://git.kernel.org/stable/c/15b828a46f305ae9f05a7c16914b3ce273474205","tags":[]},{"url":"https://git.kernel.org/stable/c/4709234fd1b95136ceb789f639b1e7ea5de1b181","tags":[]},{"url":"https://git.kernel.org/stable/c/8f907d345bae8f4b3f004c5abc56bf2dfb851ea7","tags":[]},{"url":"https://git.kernel.org/stable/c/6e5b51e74a40d377bcd3081dd33fbaa0e1aa7e3d","tags":[]},{"url":"https://git.kernel.org/stable/c/2a93a4fac7b6051d3be7cd1b015fe7320cd0404d","tags":[]},{"url":"https://git.kernel.org/stable/c/01363cb3fbd0238ffdeb09f53e9039c9edf8a730","tags":[]},{"url":"https://git.kernel.org/stable/c/31e62c2ebbfdc3fe3dbdf5e02c92a9dc67087a3a","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/15/9","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2026/05/msg00032.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2026/05/msg00035.html","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/20/14","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/20/16","tags":[]},{"url":"https://github.com/0xdeadbeefnetwork/ssh-keysign-pwn/","tags":["exploit"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-46333","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2477802","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46333.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19540","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:33486","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:21701","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:21702","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:20299","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19569","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19705","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:20593","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:20054","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:20129","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19568","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19666","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:23470","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:20130","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:20051","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19521","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:23471","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:23469","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:24814","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:23468","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19664","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19711","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19875","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[]}],"priority":{"score":28.2,"factors":[{"name":"EPSS percentile","points":18.26},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.97}]},"exploitSources":{"pocGithub":{"count":5,"skipped":1,"earliest":"2026-05-16","earliestUrl":"https://github.com/KaraZajac/CHARON","repos":[{"name":"ashrafzaryouh/CVE-2026-46333","url":"https://github.com/ashrafzaryouh/CVE-2026-46333","stars":43,"created":"2026-05-17"},{"name":"KaraZajac/CHARON","url":"https://github.com/KaraZajac/CHARON","stars":8,"created":"2026-05-16"},{"name":"studiogangster/CVE-2026-46333","url":"https://github.com/studiogangster/CVE-2026-46333","stars":6,"created":"2026-05-17"},{"name":"st4rburn/public-passwd","url":"https://github.com/st4rburn/public-passwd","stars":4,"created":"2026-05-17"},{"name":"Luscious8/Poc-CVE-2026-46333","url":"https://github.com/Luscious8/Poc-CVE-2026-46333","stars":0,"created":"2026-11-21"}]},"metasploit":[{"name":"Linux Kernel __ptrace_may_access() Exit Race chage File Disclosure","module":"post/linux/gather/cve_2026_46333_chage","type":"post","disclosureDate":"2026-05-14","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/post/linux/gather/cve_2026_46333_chage.rb"}],"first":{"date":"2026-05-14","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/post/linux/gather/cve_2026_46333_chage.rb"},"provenance":"source"},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= bfedb589252c01fa505ac9f6f2a3d5d68d707ef4, < 93d4ba49d18e3d7fb41a9927c2d0cca5e9dfefd6",">= bfedb589252c01fa505ac9f6f2a3d5d68d707ef4, < 15b828a46f305ae9f05a7c16914b3ce273474205",">= bfedb589252c01fa505ac9f6f2a3d5d68d707ef4, < 4709234fd1b95136ceb789f639b1e7ea5de1b181",">= bfedb589252c01fa505ac9f6f2a3d5d68d707ef4, < 8f907d345bae8f4b3f004c5abc56bf2dfb851ea7",">= bfedb589252c01fa505ac9f6f2a3d5d68d707ef4, < 6e5b51e74a40d377bcd3081dd33fbaa0e1aa7e3d",">= bfedb589252c01fa505ac9f6f2a3d5d68d707ef4, < 2a93a4fac7b6051d3be7cd1b015fe7320cd0404d",">= bfedb589252c01fa505ac9f6f2a3d5d68d707ef4, < 01363cb3fbd0238ffdeb09f53e9039c9edf8a730",">= bfedb589252c01fa505ac9f6f2a3d5d68d707ef4, < 31e62c2ebbfdc3fe3dbdf5e02c92a9dc67087a3a","d5b3e840dbf6dd2c0f30b5982b6f5ecd49e46b12","03eed7afbc09e061f66b448daf7863174c3dc3f3"]},{"vendor":"Linux","product":"Linux","versions":["4.10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-21T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"summary":{"text":"The Linux kernel's ptrace access check, ptrace_may_access(), relied on a task's \"dumpable\" flag even for tasks that no longer have a memory descriptor (mm), where that flag has no meaningful basis, which amounts to improper privilege management. An attacker with local access and low privileges, and who must already be able to run code on the system, can potentially inspect or interfere with the details of threads such as kernel threads, provided the uid/gid check is satisfied, which in practice requires root.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:29:25Z"},"euvd":{"id":"EUVD-2026-30540","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/0xdeadbeefnetwork/ssh-keysign-pwn/"]}