diff options
author | Edward Adam Davis <eadavis@qq.com> | 2023-10-31 08:39:04 +0300 |
---|---|---|
committer | Dave Kleikamp <dave.kleikamp@oracle.com> | 2023-11-22 00:26:33 +0300 |
commit | e0e1958f4c365e380b17ccb35617345b31ef7bf3 (patch) | |
tree | a3336c1a307df071e9d02057988c53ac0566067a /arch/arm/mach-artpec | |
parent | 74ecdda68242b174920fe7c6133a856fb7d8559b (diff) | |
download | linux-e0e1958f4c365e380b17ccb35617345b31ef7bf3.tar.xz |
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 'arch/arm/mach-artpec')
0 files changed, 0 insertions, 0 deletions