{"id":21688,"date":"2026-09-12T04:31:31","date_gmt":"2026-09-11T20:31:31","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89766"},"modified":"2026-09-12T04:31:31","modified_gmt":"2026-09-11T20:31:31","slug":"cve-2026-89766","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89766","title":{"rendered":"CVE-2026-89766 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\npidfd: hold exec_upda"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>pidfd: hold exec_update_lock around namespace ioctl<\/p>\n<p>The PIDFD_GET_*_NAMESPACE ioctls in pidfd_ioctl() perform a filesystem<br \/>\ncredentials ptrace access check before handing out a namespace file<br \/>\ndescriptor.  The accompanying comment states that the code &#8220;mirrors nsfs<br \/>\nbehavior&#8221;, but, unlike the corresponding procfs paths, it does so without<br \/>\nholding the target task&#8217;s exec_update_lock.<\/p>\n<p>proc_ns_get_link() and proc_ns_readlink() both take exec_update_lock for<br \/>\nreading around the ptrace check and the namespace lookup, so that the<br \/>\ncredentials used for the access decision match those of the task when its<br \/>\nnamespace is read.  Without it, a caller can pass the check against the<br \/>\ntarget&#8217;s old credentials and then read the namespace after the target has<br \/>\nexecve()&#8217;d a setuid binary and committed new credentials &#8212; accessing<br \/>\nnamespace information it should have been denied.<\/p>\n<p>Hold exec_update_lock for reading around the ptrace check and the<br \/>\nnamespace lookup so that pidfd truly mirrors nsfs behavior, as the comment<br \/>\nalready claims.  open_namespace() itself runs outside the lock: once a<br \/>\nnamespace reference is obtained it carries its own refcount and is opened<br \/>\nwith the caller&#8217;s own credentials, so a concurrent execve() on the target<br \/>\ncan no longer affect the outcome.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>pidfd: hold exec_update_lock around namespace ioctl<\/p>\n<p>The PIDFD_GET_*_NAMESPACE ioctls in pidfd_ioctl() perform a filesystem<br \/>\ncredent<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21688","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}