CVE-2026-143175: pidfd: restrict task access ioctls to the caller's pid namespace

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

pidfd: restrict task access ioctls to the caller's pid namespace

pidfds can cross pid namespace boundaries: a task may obtain one for a process outside of its own pid namespace hierarchy through SOPASSPIDFD or SOPEERPIDFD, via SCMRIGHTS, or through file descriptor inheritance.

The namespace ioctls gate access with a ptrace check against the target's credentials only. That check does not account for the pid namespace relationship between the caller and the target, so a task inside a pid namespace can use a pidfd obtained across that boundary to acquire namespace file descriptors of a task outside of its hierarchy.

procfs exposes the equivalent information only for tasks visible in the reader's pid namespace, and PIDFDGETINFO already answers with -EREMOTE for targets outside the caller's hierarchy. Extend that policy to the namespace ioctls: fail with -EREMOTE unless the target is visible in the caller's active pid namespace. Callers in ancestor pid namespaces are unaffected.

Unlike PIDFDGETINFO, the visibility check is performed after the task lookup here, so reaped targets outside of the caller's pid namespace hierarchy answer -ESRCH instead of -EREMOTE.

Affected Software

3 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.11.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7

Event History

Dec 3, 2026
CVE Published
via MITRE·09:20 AM
Data Sourced
via MITRE·09:20 AM
Description
Data Sourced
via OSV·09:20 AM
DescriptionAffected Software
Data Sourced
via NVD·10:17 AM
Description

Frequently Asked Questions

1

Which environments are exposed to this issue?

Tasks running in a PID namespace are exposed if they can obtain a pidfd for a process outside their PID namespace hierarchy. The described paths include SO_PASSPIDFD or SO_PEERPIDFD, SCM_RIGHTS descriptor passing, and inherited file descriptors.

2

What does an attacker need to exploit it?

An attacker needs a cross-namespace pidfd and must be able to pass the existing ptrace-based access check against the target's credentials. They can then use the pidfd namespace ioctls to obtain namespace file descriptors for a target outside their hierarchy.

3

Are callers in ancestor PID namespaces affected?

No. The fix preserves access for callers in ancestor PID namespaces; it rejects namespace ioctl requests with -EREMOTE only when the target is not visible in the caller's active PID namespace.

4

What is the expected behavior after applying the fix?

Namespace ioctls on pidfds now enforce PID-namespace visibility in addition to the existing checks. Requests for targets outside the caller's PID namespace hierarchy fail with -EREMOTE.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203