diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-06 16:16:33 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-09 23:23:36 +0300 |
commit | 692aa7a54b2b28d59f24b3bf8250837805484b99 (patch) | |
tree | f98b9bea93eb2e46ce274b25bb273e4017f2f17e /scripts/gdb/linux/cpus.py | |
parent | a5c3e265d3b61ab661df4f259a97b57840cb041e (diff) | |
download | linux-692aa7a54b2b28d59f24b3bf8250837805484b99.tar.xz |
bcachefs: Fix sb_field_downgrade validation
- bch2_sb_downgrade_validate() wasn't checking for a downgrade entry
extending past the end of the superblock section
- for_each_downgrade_entry() is used in to_text() and needs to work on
malformed input; it also was missing a check for a field extending
past the end of the section
Reported-by: syzbot+e49ccab73449180bc9be@syzkaller.appspotmail.com
Fixes: 84f1638795da ("bcachefs: bch_sb_field_downgrade")
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions