linux-stable/fs/jfs
Hoi Pok Wu 624843f1ba fs: jfs: fix shift-out-of-bounds in dbDiscardAG
[ Upstream commit 25e70c6162 ]

This should be applied to most URSAN bugs found recently by syzbot,
by guarding the dbMount. As syzbot feeding rubbish into the bmap
descriptor.

Signed-off-by: Hoi Pok Wu <wuhoipok@gmail.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-18 11:30:33 +01:00
..
acl.c jfs: preserve i_mode if __jfs_set_acl() fails 2017-07-18 14:28:06 -05:00
file.c fs: convert a pile of fsync routines to errseq_t based reporting 2017-08-01 08:39:29 -04:00
inode.c jfs: prevent NULL deref in diFree 2022-04-15 14:15:04 +02:00
ioctl.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
jfs_acl.h
jfs_btree.h
jfs_debug.c jfs: simplify procfs code 2018-05-16 07:24:30 +02:00
jfs_debug.h jfs: simplify procfs code 2018-05-16 07:24:30 +02:00
jfs_dinode.h jfs: Fix usercopy whitelist for inline inode data 2018-08-04 07:53:46 -07:00
jfs_discard.c
jfs_discard.h
jfs_dmap.c fs: jfs: fix shift-out-of-bounds in dbDiscardAG 2023-01-18 11:30:33 +01:00
jfs_dmap.h jfs: Fix array index bounds check in dbAdjTree 2020-12-30 11:26:13 +01:00
jfs_dtree.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
jfs_dtree.h
jfs_extent.c
jfs_extent.h
jfs_filsys.h JFS: more checks for invalid superblock 2021-03-07 12:18:54 +01:00
jfs_imap.c new helper: inode_fake_hash() 2018-08-03 16:03:32 -04:00
jfs_imap.h
jfs_incore.h Just one jfs patch for 4.19 2018-08-15 22:47:23 -07:00
jfs_inode.c jfs: don't bother with make_bad_inode() in ialloc() 2018-08-03 16:03:33 -04:00
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: simplify procfs code 2018-05-16 07:24:30 +02:00
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 jfs: fix bogus variable self-initialization 2020-01-27 14:50:33 +01:00
jfs_txnmgr.h
jfs_types.h
jfs_umount.c
jfs_unicode.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
jfs_unicode.h
jfs_uniupr.c
jfs_xattr.h
jfs_xtree.c jfs: simplify procfs code 2018-05-16 07:24:30 +02:00
jfs_xtree.h
Kconfig fs/*/Kconfig: drop links to 404-compliant http://acl.bestbits.at 2018-01-01 12:45:37 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
namei.c jfs: switch to discard_new_inode() 2018-08-03 16:03:31 -04:00
resize.c
super.c Merge branch 'work.mkdir' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-08-13 20:25:58 -07:00
symlink.c
xattr.c jfs: Fix inconsistency between memory allocation and ea_buf->max_size 2018-06-05 10:36:46 -05:00