Messages in this thread | | | Date | Wed, 14 Aug 2013 19:42:19 +0200 | Subject | DoS with unprivileged mounts | From | Miklos Szeredi <> |
| |
There's a simple and effective way to prevent unlink(2) and rename(2) from operating on any file or directory by simply mounting something on it. In any mount instance in any namespace.
Was this considered in the unprivileged mount design?
The solution is also theoretically simple: mounts in unpriv namespaces are marked "volatile" and are dissolved on an unlink type operation.
Such volatile mounts would be useful in general too.
Thanks, Miklos
| |