1. Archivio CVE
  2. 2026
  3. CVE-2026-99844

CVE-2026-99844

– Gravità non disponibile CVSS n/d

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 5.8 < 5.10.275 –
linux linux kernel >= 5.8 < 5.15.226 –
linux linux kernel >= 5.8 < 6.1.193 –
linux linux kernel >= 5.8 < 6.6.163 –
linux linux kernel >= 5.8 < 6.12.117 –
linux linux kernel >= 5.8 < 6.18.63 –
linux linux kernel >= 5.8 < 7.3.4 –
linux linux kernel >= 5.8 < 7.4-rc1 –
Tutte le 24.085 vulnerabilità di Linux Kernel