Date: Wed, 19 May 2021 18:21:32 +0000 From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 245907] fsck_ufs segfaults with gjournal (SU+J) Message-ID: <bug-245907-3630-yt13ulqSoU@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-245907-3630@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245907 Robert Wing <rew@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rew@FreeBSD.org --- Comment #6 from Robert Wing <rew@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 gjournal_check(). 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.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245907-3630-yt13ulqSoU>
