Loading
orangefs: fix a oob in orangefs_debug_write
mainline inclusion from mainline-v6.14-rc1 commit f7c848431632598ff9bce57a659db6af60d75b39 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBPC4Q Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f7c848431632598ff9bce57a659db6af60d75b39 -------------------------------- I got a syzbot report: slab-out-of-bounds Read in orangefs_debug_write... several people suggested fixes, I tested Al Viro's suggestion and made this patch. Signed-off-by:Mike Marshall <hubcap@omnibond.com> Reported-by:
<syzbot+fc519d7875f2d9186c1f@syzkaller.appspotmail.com> Signed-off-by:
Yifan Qiao <qiaoyifan4@huawei.com>