]> Git Repo - J-linux.git/commit
bcachefs: slab-use-after-free Read in bch2_sb_errors_from_cpu
authorPei Li <[email protected]>
Tue, 25 Jun 2024 20:04:59 +0000 (13:04 -0700)
committerKent Overstreet <[email protected]>
Tue, 25 Jun 2024 21:51:26 +0000 (17:51 -0400)
commit211c581de28e7741898720b5f74da4e62f37f972
tree897ec656a41119b28c2ca9d3fcfcfc63e9a2d05d
parent89d21b69b4f88e7a04b66bec38a01470cd40d703
bcachefs: slab-use-after-free Read in bch2_sb_errors_from_cpu

Acquire fsck_error_counts_lock before accessing the critical section
protected by this lock.

syzbot has tested the proposed patch and the reproducer did not trigger
any issue.

Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=a2bc0e838efd7663f4d9
Signed-off-by: Pei Li <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
fs/bcachefs/sb-errors.c
This page took 0.04715 seconds and 4 git commands to generate.