summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGianfranco Trad <gianf.trad@gmail.com>2024-10-24 00:30:44 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-10-25 00:41:43 +0300
commit2045fc4295c427d420aa1ff551b4de8179b6e5d5 (patch)
treeecd78fa27c1db3b22f2827dfdf99cc0fc8f967e4 /tools/perf/scripts/python/exported-sql-viewer.py
parenta069f014797fdef8757f3adebc1c16416271a599 (diff)
downloadlinux-2045fc4295c427d420aa1ff551b4de8179b6e5d5.tar.xz
bcachefs: Fix invalid shift in validate_sb_layout()
Add check on layout->sb_max_size_bits against BCH_SB_LAYOUT_SIZE_BITS_MAX to prevent UBSAN shift-out-of-bounds in validate_sb_layout(). Reported-by: syzbot+089fad5a3a5e77825426@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=089fad5a3a5e77825426 Fixes: 03ef80b469d5 ("bcachefs: Ignore unknown mount options") Tested-by: syzbot+089fad5a3a5e77825426@syzkaller.appspotmail.com Signed-off-by: Gianfranco Trad <gianf.trad@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions