commit | 74ecdda68242b174920fe7c6133a856fb7d8559b | [log] [tgz] |
---|---|---|
author | Manas Ghandat <ghandatmanas@gmail.com> | Tue Oct 17 17:33:56 2023 +0530 |
committer | Dave Kleikamp <dave.kleikamp@oracle.com> | Tue Nov 21 15:26:33 2023 -0600 |
tree | cd2ffaf9e0701562cfc93f6ab43e910a09493714 | |
parent | fa5492ee89463a7590a1449358002ff7ef63529f [diff] |
jfs: fix array-index-out-of-bounds in dbAdjTree Currently there is a bound check missing in the dbAdjTree while accessing the dmt_stree. To add the required check added the bool is_ctl which is required to determine the size as suggest in the following commit. https://lore.kernel.org/linux-kernel-mentees/f9475918-2186-49b8-b801-6f0f9e75f4fa@oracle.com/ Reported-by: syzbot+39ba34a099ac2e9bd3cb@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=39ba34a099ac2e9bd3cb Signed-off-by: Manas Ghandat <ghandatmanas@gmail.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>