PT-2026-121965

CVE-2026-98988

·

Publicado

2026-10-23

·

Atualizado

2026-10-23

Descrição por

Pontuação
N/A
Não disponível

Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.

In the Linux kernel, the following vulnerability has been resolved:
namespace: keep covered mounts covered in OPEN TREE NAMESPACE
open tree(OPEN TREE NAMESPACE) creates a new mount namespace from a copy of the tree at the given path. The caller needs to be privileged over its current user namespace because the new mount namespace will be owned by it. It doesn't need to be privileged over the mount namespace the tree is copied from. An unprivileged user just needs to create a user namespace first.
The copy follows the rules of a detached bind mount. Without AT RECURSIVE only the mount itself is cloned and its children are left out. With AT RECURSIVE unbindable mounts are skipped. Both is fine when the caller has privileges over the source mount namespace because it could unmount those mounts anyway. Not so for an unprivileged user in that mount namespace. For them a mount namespace copy is what unshare() does. copy mnt ns() copies everything including unbindable mounts and lock mnt tree() makes sure nothing can be unmounted in the copy. Nothing that was covered gets revealed.
create new namespace() only does the locking and so the covered content is right there in the new mount namespace:

mount -t tmpfs none /tmp/otn; mkdir /tmp/otn/covered

echo hidden > /tmp/otn/covered/under.txt

mount -t tmpfs none /tmp/otn/covered

uid 1000, after unshare(CLONE NEWUSER): fd = open tree(AT FDCWD, "/tmp/otn", OPEN TREE NAMESPACE); setns(fd, CLONE NEWNS); open("/covered/under.txt", O RDONLY) -> "hidden"
Covering paths with mounts is how container runtimes mask parts of /proc and /sys and how admins hide things.
When the caller's user namespace doesn't own the source mount namespace copy the way unshare() does and refuse a non-recursive copy of a mount that has anything mounted below the requested directory and copy unbindable mounts in a recursive copy. A caller that is privileged over the source mount namespace sees no change.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾