PT-2026-151635
CVE-2026-99424
·
Publicado
2026-11-19
·
Atualizado
2026-11-19
Descrição por
Pontuação
N/A
Não disponívelNã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:
ovl: set OVL WHITEOUTS before publishing the upper dir
Listing a directory while it is copied up causes a use-after-free of
the readdir cache.
A merge directory must never be iterated as a real upper directory:
that mode frees the cache in OVL I(inode)->cache without looking at
its refcount, while files opened in merged mode still use it.
ovl copy up workdir() publishes the upper dentry before it sets
OVL WHITEOUTS, and ovl dir open() samples both without a lock, so an
open between the two stores finds the upper directory and takes it
for a real one.
With a delay between the two stores, an unprivileged process that
listed a directory during its copy-up saw only "." and "..", and its
next getdents freed the readdir cache of another descriptor.
Fix this by setting OVL WHITEOUTS before ovl inode update(), so that
ovl dir reset() agrees with ovl dir open(), and by testing
OVL TYPE MERGE() of the path type in ovl dir open(), so that an open
that observes the upper dentry never iterates a merge dir as a real
dir, regardless of the order in which it observes the flag.
[amir: test OVL TYPE MERGE() instead of smp rmb() in ovl dir open()]
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾