Skip to content
Commit fcdbc1d7 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Check for journal entries overruning end of sb clean section



Fix a missing bounds check in superblock validation.

Note that we don't yet have repair code for this case - repair code for
individual items is generally low priority, since the whole superblock
is checksummed, validated prior to write, and we have backups.

Reported-by: default avatarlei lu <llfamsec@gmail.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 0389c09b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment