{"id":78513,"date":"2026-05-15T16:28:44","date_gmt":"2026-05-15T12:58:44","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-46333-ptrace-slightly-saner-get_dumpable-logic\/"},"modified":"2026-05-15T16:28:44","modified_gmt":"2026-05-15T12:58:44","slug":"cve-2026-46333-ptrace-slightly-saner-get_dumpable-logic","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-46333-ptrace-slightly-saner-get_dumpable-logic\/","title":{"rendered":"CVE-2026-46333 &#8211; ptrace: slightly saner &#8216;get_dumpable()&#8217; logic"},"content":{"rendered":"<p>CVE ID :CVE-2026-46333<\/p>\n<p>  Published : May 15, 2026, 12:58 p.m. | 59\u00a0minutes ago<\/p>\n<p>  Description :In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ptrace: slightly saner &#8216;get_dumpable()&#8217; logic<\/p>\n<p>The &#8216;dumpability&#8217; of a task is fundamentally about the memory image of<br \/>\nthe task &#8211; the concept comes from whether it can core dump or not &#8211; and<br \/>\nmakes no sense when you don&#8217;t have an associated mm.<\/p>\n<p>And almost all users do in fact use it only for the case where the task<br \/>\nhas a mm pointer.<\/p>\n<p>But we have one odd special case: ptrace_may_access() uses &#8216;dumpable&#8217; to<br \/>\ncheck various other things entirely independently of the MM (typically<br \/>\nexplicitly using flags like PTRACE_MODE_READ_FSCREDS).  Including for<br \/>\nthreads that no longer have a VM (and maybe never did, like most kernel<br \/>\nthreads).<\/p>\n<p>It&#8217;s not what this flag was designed for, but it is what it is.<\/p>\n<p>The ptrace code does check that the uid\/gid matches, so you do have to<br \/>\nbe uid-0 to see kernel thread details, but this means that the<br \/>\ntraditional &#8220;drop capabilities&#8221; model doesn&#8217;t make any difference for<br \/>\nthis all.<\/p>\n<p>Make it all make a *bit* more sense by saying that if you don&#8217;t have a<br \/>\nMM pointer, we&#8217;ll use a cached &#8220;last dumpability&#8221; flag if the thread<br \/>\never had a MM (it will be zero for kernel threads since it is never<br \/>\nset), and require a proper CAP_SYS_PTRACE capability to override.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-46333 Published : May 15, 2026, 12:58 p.m. | 59\u00a0minutes ago Description :In the Linux kernel, the following vulnerability has been resolved: ptrace: slightly saner &#8216;get_dumpable()&#8217; logic The &#8216;dumpability&#8217; of a task is fundamentally about the memory image of the task &#8211; the concept comes from whether it can core dump or not &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-78513","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=78513"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78513\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=78513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=78513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=78513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}