summaryrefslogtreecommitdiff
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorEdward Adam Davis <eadavis@qq.com>2023-10-31 08:39:04 +0300
committerDave Kleikamp <dave.kleikamp@oracle.com>2023-11-22 00:26:33 +0300
commite0e1958f4c365e380b17ccb35617345b31ef7bf3 (patch)
treea3336c1a307df071e9d02057988c53ac0566067a /fs/buffer.c
parent74ecdda68242b174920fe7c6133a856fb7d8559b (diff)
downloadlinux-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 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions