]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
jfs: define xtree root and page independently
authorDave Kleikamp <dave.kleikamp@oracle.com>
Thu, 5 Oct 2023 14:16:14 +0000 (09:16 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:44:39 +0000 (07:44 +0200)
commita1166e98d80ccb2af4b4fb3bb30041ffc4e8fffc
treea93ba94814f39ffd12b669081da9607ee66294e9
parent2ddd4a7a8b0f31c0c67e49fe42617052b41c2f43
jfs: define xtree root and page independently

commit a779ed754e52d582b8c0e17959df063108bd0656 upstream.

In order to make array bounds checking sane, provide a separate
definition of the in-inode xtree root and the external xtree page.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Tested-by: Manas Ghandat <ghandatmanas@gmail.com>
Closes: https://syzkaller.appspot.com/bug?extid=ccb458b6679845ee0bae
Reported-by: syzbot+ccb458b6679845ee0bae@syzkaller.appspotmail.com
Signed-off-by: Aditya Dutt <duttaditya18@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/jfs/jfs_dinode.h
fs/jfs/jfs_imap.c
fs/jfs/jfs_incore.h
fs/jfs/jfs_txnmgr.c
fs/jfs/jfs_xtree.c
fs/jfs/jfs_xtree.h