diff options
author | Gao Xiang <[email protected]> | 2022-09-09 10:39:48 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2022-09-20 07:59:32 +0800 |
commit | 1dd73601a1cba37a0ed5f89a8662c90191df5873 (patch) | |
tree | 657be8bb59e31a87bdbe5abbcfedd78c0c8c6eff /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 80e78fcce86de0288793a0ef0f6acf37656ee4cf (diff) |
erofs: fix order >= MAX_ORDER warning due to crafted negative i_size
As syzbot reported [1], the root cause is that i_size field is a
signed type, and negative i_size is also less than EROFS_BLKSIZ.
As a consequence, it's handled as fast symlink unexpectedly.
Let's fall back to the generic path to deal with such unusual i_size.
[1] https://lore.kernel.org/r/[email protected]
Reported-by: [email protected]
Fixes: 431339ba9042 ("staging: erofs: add inode operations")
Reviewed-by: Yue Hu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions