android_kernel_motorola_sm6375/fs/jfs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Arnaud Lecomte 5bdb9553fb jfs: upper bound check of tree index in dbAllocAG
[ Upstream commit c214006856ff52a8ff17ed8da52d50601d54f9ce ]

When computing the tree index in dbAllocAG, we never check if we are
out of bounds realative to the size of the stree.
This could happen in a scenario where the filesystem metadata are
corrupted.

Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=cffd18309153948f3c3e
Tested-by: [email protected]
Signed-off-by: Arnaud Lecomte <[email protected]>
Signed-off-by: Dave Kleikamp <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2025-08-28 16:21:28 +02:00
..
acl.c
file.c jfs: Regular file corruption check 2025-08-28 16:21:28 +02:00
inode.c jfs: truncate good inode pages when hard link is 0 2025-08-28 16:21:28 +02:00
ioctl.c
jfs_acl.h
jfs_btree.h
jfs_debug.c
jfs_debug.h
jfs_dinode.h
jfs_discard.c jfs: Fix null-ptr-deref in jfs_ioc_trim 2025-06-27 11:02:54 +01:00
jfs_discard.h
jfs_dmap.c jfs: upper bound check of tree index in dbAllocAG 2025-08-28 16:21:28 +02:00
jfs_dmap.h
jfs_dtree.c jfs: fix array-index-out-of-bounds read in add_missing_indices 2025-06-27 11:02:53 +01:00
jfs_dtree.h
jfs_extent.c jfs: validate max amount of blocks before allocation. 2023-09-23 10:59:48 +02:00
jfs_extent.h
jfs_filsys.h jfs: jfs_dmap: Validate db_l2nbperpage while mounting 2023-07-27 08:37:35 +02:00
jfs_imap.c jfs: Prevent copying of nlink with value 0 from disk inode 2025-05-02 07:39:10 +02:00
jfs_imap.h
jfs_incore.h
jfs_inode.c
jfs_inode.h
jfs_lock.h
jfs_logmgr.c
jfs_logmgr.h
jfs_metapage.c
jfs_metapage.h
jfs_mount.c jfs: fix uaf in jfs_evict_inode 2024-02-23 08:24:55 +01:00
jfs_superblock.h
jfs_txnmgr.c FS: JFS: Check for read-only mounted filesystem in txBegin 2023-08-30 16:27:10 +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:27:10 +02:00
resize.c
super.c
symlink.c
xattr.c jfs: fix slab-out-of-bounds read in ea_get() 2025-04-10 14:29:43 +02:00