[Bug 245907] fsck_ufs segfaults with gjournal (SU+J)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 19 May 2021 18:21:32 +0000

Robert Wing <rew_at_FreeBSD.org> changed:

           What    |Removed                     |Added
                 CC|                            |rew_at_FreeBSD.org

--- Comment #6 from Robert Wing <rew_at_FreeBSD.org> ---
Created attachment 225092
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225092&action=edit
fsck_ffs fix

Proposed patch, satisfies the previously provided reproducer.

The segfault was being hit in ckfini() (sbin/fsck_ffs/fsutil.c) while
attempting to traverse the buffer cache. 

The tail queue used for the buffer cache isn't initialized before dropping into

The buffer cache appears to be unused when doing an `fsck_ffs -p` on a
gjournaled filesystem.

You are receiving this mail because:
You are the assignee for the bug.
Received on Wed May 19 2021 - 18:21:32 UTC

Original text of this message