diff options
author | Kent Overstreet | 2024-05-06 09:16:33 -0400 |
---|---|---|
committer | Kent Overstreet | 2024-05-09 16:23:36 -0400 |
commit | 692aa7a54b2b28d59f24b3bf8250837805484b99 (patch) | |
tree | f98b9bea93eb2e46ce274b25bb273e4017f2f17e /net/iucv | |
parent | a5c3e265d3b61ab661df4f259a97b57840cb041e (diff) |
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 'net/iucv')
0 files changed, 0 insertions, 0 deletions