4

Is it possible to mount an Overlayfs filesystem as an unprivileged user in a user namespace in Linux kernels >4.3.3; it seems that the fix to this vulnerability has blocked this functionality entirely.

When I create a new user namespace with clone(), passing the CLONE_NEWNS flag and attempt to invoke mount with an overlayfs filesystem, I'm given permission denied. I can mount any other filesystem though.

Is there a way to work around this/am I missing something?

0

Its not allowed to mount overlayfs within unprivileged usernamespace. Not sure but if you can try a bind mount of the overlayfs into the usernamespace.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.