aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorPei Li <peili.dev@gmail.com>2024-06-25 11:41:29 -0700
committerKent Overstreet <kent.overstreet@linux.dev>2024-06-25 17:53:31 -0400
commit472237b69d071c877e97bf0bc3eab1be865fad29 (patch)
treed523573327871abeda20e0455ca1703a7c016f15 /scripts/generate_rust_analyzer.py
parentbcachefs: slab-use-after-free Read in bch2_sb_errors_from_cpu (diff)
downloadlinux-rng-472237b69d071c877e97bf0bc3eab1be865fad29.tar.xz
linux-rng-472237b69d071c877e97bf0bc3eab1be865fad29.zip
bcachefs: Fix shift-out-of-bounds in bch2_blacklist_entries_gc
This series fix the shift-out-of-bounds issue in bch2_blacklist_entries_gc(). Instead of passing 0 to eytzinger0_first() when iterating the entries, we explicitly check 0 and initialize i to be 0. syzbot has tested the proposed patch and the reproducer did not trigger any issue: Reported-and-tested-by: syzbot+835d255ad6bc7f29ee12@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=835d255ad6bc7f29ee12 Signed-off-by: Pei Li <peili.dev@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions