diff options
author | Pei Li <peili.dev@gmail.com> | 2024-06-25 13:04:59 -0700 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-25 17:51:26 -0400 |
commit | 211c581de28e7741898720b5f74da4e62f37f972 (patch) | |
tree | 897ec656a41119b28c2ca9d3fcfcfc63e9a2d05d /fs/erofs/zmap.c | |
parent | 89d21b69b4f88e7a04b66bec38a01470cd40d703 (diff) |
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: syzbot+a2bc0e838efd7663f4d9@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=a2bc0e838efd7663f4d9
Signed-off-by: Pei Li <peili.dev@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/erofs/zmap.c')
0 files changed, 0 insertions, 0 deletions