Commit 657d4282 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix journal_entry_dev_usage_to_text() overrun



If the jset_entry_dev_usage is malformed, and too small, our nr_entries
calculation will be incorrect - just bail out.

Reported-by: default avatar <syzbot+05d7520be047c9be86e0@syzkaller.appspotmail.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 2642084f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment