PT-2026-61134 · Linux · Linux
CVE-2026-63818
·
Publicado
2026-07-19
·
Atualizado
2026-07-19
CVSS v3.1
8.4
Alta
| Vetor | AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
In the Linux kernel, the following vulnerability has been resolved:
f2fs: validate orphan inode entry count
f2fs recover orphan inodes() trusts the orphan block entry count when
replaying orphan inodes from the checkpoint pack. A corrupted entry count
larger than F2FS ORPHANS PER BLOCK makes the recovery loop read past the
ino[] array and interpret footer or following data as inode numbers.
On a crafted image, mounting an unpatched kernel can drive orphan recovery
into f2fs bug on() and panic the kernel. Validate entry count before
consuming entries so corrupted checkpoint data fails the mount with
-EFSCORRUPTED and requests fsck instead.
Set ERROR INCONSISTENT ORPHAN as well, so the corruption reason can be
recorded in the superblock s errors[] field. This gives fsck a persistent
hint even though mount-time orphan recovery failure may leave no chance to
persist SBI NEED FSCK through a checkpoint.
Correção
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Linux