-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
linux/upstreamDependent on upstream kernel work.Dependent on upstream kernel work.securityA security issue or hardening problem.A security issue or hardening problem.
Description
We need to have a pidfd-based interface to grab the equivalent of /proc/self/exe. Because it's possible to bind-mount over magic-links we can't trust /proc/self/exe and thus need a proc-less way to do this.
This is a prerequisite of #7 (while we don't use /proc/self/exe it's needed by container runtimes and thus is related to the feature-completeness of #15).
NOTE: #42 solves this problem for privileged users and regular users where an attacker cannot create mounts to exploit the TOCTOU check, but it would be nice for us to solve this completely.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
linux/upstreamDependent on upstream kernel work.Dependent on upstream kernel work.securityA security issue or hardening problem.A security issue or hardening problem.