PT-2026-162663

CVE-2026-100094

·

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:
f2fs: fix defragment writeback range truncation on 32-bit
f2fs defragment range() flushes the range it is about to defragment:
filemap write and wait range(inode->i mapping,
			pg start << PAGE SHIFT,
			(pg end << PAGE SHIFT) - 1);
pg start and pg end are pgoff t, 32 bits on 32-bit kernels, so both shifts are evaluated in 32 bits and truncated before they are widened to the loff t parameters. pg end is only capped by the file's page count, so for a file larger than 4 GiB the shift wraps.
For a 5 GiB file pg end is 1310720 and the range collapses from [0, 5 GiB) to [0, 1 GiB), leaving the rest of the dirty pages unwritten before the blocks are moved. For 8 GiB the shift yields 0, the minus one makes it (loff t)-1, and the range becomes [0, LLONG MAX].
The matching call in f2fs collapse range() already casts:
filemap write and wait range(inode->i mapping,
			(loff t)index << PAGE SHIFT,
			((loff t)pg end << PAGE SHIFT) - 1);
Do the same here. On i386 the shift changes from "shl $0xc,%ecx" to "shld", i.e. from a 32-bit shift to a double-precision one.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾