From: Luca Boccassi Date: Fri, 1 Nov 2024 12:25:35 +0000 (+0000) Subject: coredump: lock down EnterNamespace= mount even more (#34975) X-Git-Tag: v257-rc1~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c77f4f5df7a01d101b69189f70a2671713cd1f65;p=thirdparty%2Fsystemd.git coredump: lock down EnterNamespace= mount even more (#34975) Let's disable symlink following if we attach a container's mount tree to our own mount namespace. We afte rall mount the tree to a different location in the mount tree than where it was inside the container, hence symlinks (if they exist) will all point to the wrong places (even if relative, some might point to other places). And since symlink attacks are a thing, and we let libdw operate on the tree, let's lock this down as much as we can and simply disable symlink traversal entirely. --- c77f4f5df7a01d101b69189f70a2671713cd1f65