PT-2026-162811

CVE-2026-99844

·

Publicado

2026-11-30

·

Atualizado

2026-11-30

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:
mount: refuse setns() with a shared fs struct again
mntns install() refuses to switch the mount namespace of a task that shares its fs struct, since root and cwd of the others would move to a namespace they are not in. It looks at nsset->fs for that. If more than the mount namespace is asked for, that is a private copy made by prepare nsset(), which has one user by definition; commit nsset() then writes root and cwd of the copy to the fs struct of the task.
A thread of a process with two threads, pidfd of a task in another mount namespace:
setns(pidfd, CLONE NEWNS)			-EINVAL
setns(pidfd, CLONE NEWNS | CLONE NEWUTS)	0
and after the second call the other thread, still in the old mount namespace, has lost its cwd (/tmp became /) and sees the mounts of the other namespace under /.
Look at the fs struct that is going to be changed. The second call then fails with -EINVAL like the first one.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾