PT-2026-166982
CVE-2026-143124
·
Publicado
2026-12-03
·
Atualizado
2026-12-03
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:
ntfs: open the index allocation before reading or writing an index block
ntfs ib write() and ntfs ib read() use icx->ia ni without checking it.
ntfs ir reparent() only opens the index allocation through
ntfs ia add() when the root is a small index. For a root that is already
marked as a large index it calls ntfs ib write() directly.
The lookup does not open the index allocation either when it ends in the
root. If the last entry of the root has no child node, ia ni is still
NULL when the root has to be moved into an index block, and the write
dereferences it:
Oops: general protection fault, KASAN: null-ptr-deref in range
[0x0000000000000128-0x000000000000012f]
RIP: 0010:ntfs inode attr pwrite+0x52/0x1600
ntfs ir make space
ntfs ie add
ntfs index add filename
ntfs link
ntfs link
vfs link
A single byte of an image from mkntfs is enough. In a directory that has
one empty index block, clear INDEX ENTRY NODE (flags 3 -> 2) of the last
entry of the $INDEX ROOT and link() a file into the directory.
Commit 9365c4a1357e ("ntfs: fix NULL dereference on index allocation open failure")
covers the case where ntfs ia open() fails in the lookup. Here it was
never tried. Open the index allocation on demand in both
helpers and fail with -EIO if that does not work.
ntfs ia open() also succeeds for a directory that has no
$INDEX ALLOCATION attribute. The inode it returns is then an empty resident
stub that does not describe an index allocation, so reject that case too.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾