diff options
| author | David Lee <david.lee@trailofbits.com> | 2026-07-18 01:56:21 +0900 |
|---|---|---|
| committer | Viacheslav Dubeyko <slava@dubeyko.com> | 2026-07-28 16:46:37 -0700 |
| commit | 7cb2f76a6a2ba2130b577cb8ac13e1e46c4fc689 (patch) | |
| tree | 56b70f586d4796a2b5a08ed2281edc362cc6252d /tools/unittests/git@git.tavy.me:linux.git | |
| parent | ce5a5ad1a8330a2fcfdd9ec2ab341be739e89a18 (diff) | |
nilfs2: prevent out-of-bounds read in super root block parsing
super-root inode metadata size is trusted before nilfs_read_inode_common().
Reject super-root inode sizes whose computed on-disk footprint exceeds the
filesystem block size. This prevents malformed filesystem images from
making nilfs_read_inode_common() read past the end of the super-root block.
[ryusuke: clarify the commit title]
Fixes: 8a9d2191e9f4 ("nilfs2: operations for the_nilfs core object")
Signed-off-by: David Lee <david.lee@trailofbits.com>
Assisted-by: Codex:gpt-5.5
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Viacheslav Dubeyko <slava@dubeyko.com>
Diffstat (limited to 'tools/unittests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
