diff options
author | Phillip Lougher <phillip@squashfs.org.uk> | 2023-11-13 19:09:01 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-11 04:21:26 +0300 |
commit | 12427de9439d68b8e96ba6f50b601ef15f437612 (patch) | |
tree | ff3571cb2a307d3c05c9d58653e2e64ba7e6f55a /COPYING | |
parent | 44e3876d268be49ee810481ee3c95d8d650bf22e (diff) | |
download | linux-12427de9439d68b8e96ba6f50b601ef15f437612.tar.xz |
Squashfs: fix variable overflow triggered by sysbot
Sysbot reports a slab out of bounds write in squashfs_readahead().
This is ultimately caused by a file reporting an (infeasibly) large file
size (1407374883553280 bytes) with the minimum block size of 4K.
This causes variable overflow.
Link: https://lkml.kernel.org/r/20231113160901.6444-1-phillip@squashfs.org.uk
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Reported-by: syzbot+604424eb051c2f696163@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/all/000000000000b1fda20609ede0d1@google.com/
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions