Manas Ghandat 64f062baf2 jfs: fix array-index-out-of-bounds in diAlloc
[ Upstream commit 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: Sasha Levin <sashal@kernel.org>
2023-11-28 16:56:18 +00:00
..
2021-04-12 15:04:29 +02:00
2022-04-13 20:59:13 +02:00
2021-04-12 15:04:29 +02:00
2021-04-12 15:04:29 +02:00
2021-11-18 19:16:48 +01:00
2021-06-23 09:21:52 -05:00
2021-01-24 14:27:17 +01:00