jfs: fix array-index-out-of-bounds in diAlloc
mainline inclusion from mainline-v6.7-rc1 commit 05d9ea1ceb62a55af6727a69269a4fd310edf483 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9RFMU CVE: CVE-2023-52805 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=05d9ea1ceb62a55af6727a69269a4fd310edf483 -------------------------------- Currently there is not check against the agno of the iag while allocating new inodes to avoid fragmentation problem. Added the check which is required. Reported-by:<syzbot+79d792676d8ac050949f@syzkaller.appspotmail.com> Closes: https://syzkaller.appspot.com/bug?extid=79d792676d8ac050949f Signed-off-by:
Manas Ghandat <ghandatmanas@gmail.com> Signed-off-by:
Dave Kleikamp <dave.kleikamp@oracle.com> Signed-off-by:
Li Lingfeng <lilingfeng3@huawei.com>
Loading
Please sign in to comment