aboutsummaryrefslogtreecommitdiff
path: root/fs/jfs/jfs_unicode.h
diff options
context:
space:
mode:
authorGravatar Edward Adam Davis <eadavis@qq.com> 2023-10-31 13:39:04 +0800
committerGravatar Dave Kleikamp <dave.kleikamp@oracle.com> 2023-11-21 15:26:33 -0600
commite0e1958f4c365e380b17ccb35617345b31ef7bf3 (patch)
treea3336c1a307df071e9d02057988c53ac0566067a /fs/jfs/jfs_unicode.h
parentjfs: fix array-index-out-of-bounds in dbAdjTree (diff)
downloadlinux-e0e1958f4c365e380b17ccb35617345b31ef7bf3.tar.gz
linux-e0e1958f4c365e380b17ccb35617345b31ef7bf3.tar.bz2
linux-e0e1958f4c365e380b17ccb35617345b31ef7bf3.zip
jfs: fix uaf in jfs_evict_inode
When the execution of diMount(ipimap) fails, the object ipimap that has been released may be accessed in diFreeSpecial(). Asynchronous ipimap release occurs when rcu_core() calls jfs_free_node(). Therefore, when diMount(ipimap) fails, sbi->ipimap should not be initialized as ipimap. Reported-and-tested-by: syzbot+01cf2dbcbe2022454388@syzkaller.appspotmail.com Signed-off-by: Edward Adam Davis <eadavis@qq.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'fs/jfs/jfs_unicode.h')
0 files changed, 0 insertions, 0 deletions