{"id":"CVE-2026-143175","summary":"pidfd: restrict task access ioctls to the caller's pid namespace","details":"In the Linux kernel, the following vulnerability has been resolved:\n\npidfd: restrict task access ioctls to the caller's pid namespace\n\npidfds can cross pid namespace boundaries: a task may obtain one for a\nprocess outside of its own pid namespace hierarchy through SO_PASSPIDFD\nor SO_PEERPIDFD, via SCM_RIGHTS, or through file descriptor inheritance.\n\nThe namespace ioctls gate access with a ptrace check against the\ntarget's credentials only. That check does not account for the pid\nnamespace relationship between the caller and the target, so a task\ninside a pid namespace can use a pidfd obtained across that boundary to\nacquire namespace file descriptors of a task outside of its hierarchy.\n\nprocfs exposes the equivalent information only for tasks visible in the\nreader's pid namespace, and PIDFD_GET_INFO already answers with -EREMOTE\nfor targets outside the caller's hierarchy. Extend that policy to the\nnamespace ioctls: fail with -EREMOTE unless the target is visible in the\ncaller's active pid namespace. Callers in ancestor pid namespaces are\nunaffected.\n\nUnlike PIDFD_GET_INFO, the visibility check is performed after the task\nlookup here, so reaped targets outside of the caller's pid namespace\nhierarchy answer -ESRCH instead of -EREMOTE.","modified":"2026-12-03T11:01:31.185237757Z","published":"2026-12-03T09:20:09.525Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143175.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/22d32eff150b45dbf46913967209f45fd64378ea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2cdaf4f2b12be9801ab29d2002e227db13f9cc44"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee8323fdc827c580425644db605a4be776cace57"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143175.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143175"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5b08bd408534bfb3a7cf5778da5b27d4e4fffe12"},{"fixed":"2cdaf4f2b12be9801ab29d2002e227db13f9cc44"},{"fixed":"22d32eff150b45dbf46913967209f45fd64378ea"},{"fixed":"ee8323fdc827c580425644db605a4be776cace57"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143175.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143175.json"}}],"schema_version":"1.9.2"}