summaryrefslogtreecommitdiffstats
path: root/net/9p
diff options
context:
space:
mode:
authorLiu Shixin via Jfs-discussion <jfs-discussion@lists.sourceforge.net>2022-11-03 04:01:59 +0100
committerDave Kleikamp <dave.kleikamp@oracle.com>2023-01-03 17:43:37 +0100
commitfad376fce0af58deebc5075b8539dc05bf639af3 (patch)
treeba76dc74298fa11094b794c8d637b0e7500c063a /net/9p
parentMerge tag 'for-6.2-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadlinux-fad376fce0af58deebc5075b8539dc05bf639af3.tar.xz
linux-fad376fce0af58deebc5075b8539dc05bf639af3.zip
fs/jfs: fix shift exponent db_agl2size negative
As a shift exponent, db_agl2size can not be less than 0. Add the missing check to fix the shift-out-of-bounds bug reported by syzkaller: UBSAN: shift-out-of-bounds in fs/jfs/jfs_dmap.c:2227:15 shift exponent -744642816 is negative Reported-by: syzbot+0be96567042453c0c820@syzkaller.appspotmail.com Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Liu Shixin <liushixin2@huawei.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions