android_kernel_motorola_sm6225/fs/jfs
Manas Ghandat cf7e3e84df 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:46:32 +00:00
..
acl.c
file.c
inode.c jfs: prevent NULL deref in diFree 2022-04-15 14:15:04 +02:00
ioctl.c
jfs_acl.h
jfs_btree.h
jfs_debug.c
jfs_debug.h
jfs_dinode.h
jfs_discard.c
jfs_discard.h
jfs_dmap.c jfs: fix array-index-out-of-bounds in dbFindLeaf 2023-11-28 16:46:32 +00:00
jfs_dmap.h
jfs_dtree.c
jfs_dtree.h
jfs_extent.c jfs: validate max amount of blocks before allocation. 2023-09-23 10:48:06 +02:00
jfs_extent.h
jfs_filsys.h jfs: jfs_dmap: Validate db_l2nbperpage while mounting 2023-08-11 11:45:20 +02:00
jfs_imap.c jfs: fix array-index-out-of-bounds in diAlloc 2023-11-28 16:46:32 +00:00
jfs_imap.h
jfs_incore.h
jfs_inode.c
jfs_inode.h
jfs_lock.h
jfs_logmgr.c fs/jfs: Fix missing error code in lmLogInit() 2021-07-20 16:16:08 +02:00
jfs_logmgr.h
jfs_metapage.c
jfs_metapage.h
jfs_mount.c JFS: fix memleak in jfs_mount 2021-11-26 11:36:12 +01:00
jfs_superblock.h
jfs_txnmgr.c FS: JFS: Check for read-only mounted filesystem in txBegin 2023-08-30 16:31:43 +02:00
jfs_txnmgr.h
jfs_types.h
jfs_umount.c
jfs_unicode.c
jfs_unicode.h
jfs_uniupr.c
jfs_xattr.h
jfs_xtree.c
jfs_xtree.h
Kconfig
Makefile
namei.c FS: JFS: Fix null-ptr-deref Read in txBegin 2023-08-30 16:31:42 +02:00
resize.c
super.c
symlink.c
xattr.c