From nobody Sun May 28 22:24:44 2023 X-Original-To: fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QTtWJ1tsLz4XyXx for ; Sun, 28 May 2023 22:24:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QTtWJ0g42z4Jkr for ; Sun, 28 May 2023 22:24:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685312684; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Pu6BE1Ve7MMe4Nl9wnvbKpqkGw0a/KDZCY+cubxLwXs=; b=o0lThAd489aGmQdOrh3VCJ1AOdJn2owciSQGUG4ljOIRWy8cDuQM6LAt2WxFMmHZXgEXZk pKAphHo7TN119eaOuzZJktDRqHwDsxUJel6g+gN2BxoKALgrg1Y4CVtbKOLBoiCgh8h8Zj wkysv0QIAHfMxGkDvmH8dB+xw0uuXLbJ0DNSY/ED8dLihVaFBM3l6+t7S/gXoWZvFPYHl9 JVLcQKDlpnR+u1TJvQ/aVqlfvrd+9kXuzqOo9Mn7w1B/HkzFiW7wBMA2NQc/iDDF2eZi1L 2g3E+aessT3LxQNj8ZXJMZBQIdapOrAPylt9dGmIjMwKsS0XzhOkSKlI3qCwoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685312684; a=rsa-sha256; cv=none; b=XVPRJY4KqgjATOiDdWH+68amNg9KLqUnykqxEnjXu8GSWEMtARJvoIBVOrHdnguuHCWHIh 34eTu3aWc+2aJgirnnlCUT/GXdxTwijViLVV3oZLw2Sq/Y9WgxPNyUVoKQB5Kp9SAcFbwT oUpLd8ZtkzeJH/G94WTWvWjEVFOQtiwTd2FHM20fOWzfkz3/mhue5dsysv3SlVYozz+IOD aGxfNI+q2oiYWbVmuCfVvQrTOiPoc0OMklSpwCjcUWx1M70Bmlp6l2tx8IwxRuOnXjqAO1 bDPjQCX4dBu0BL6tOXRPFGKDRm7n8sgKoiXbIiZdy74lwYEGsTVPERVDqr9GYw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QTtWH6rdCzmyF for ; Sun, 28 May 2023 22:24:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34SMOhjD043145 for ; Sun, 28 May 2023 22:24:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34SMOhcG043144 for fs@FreeBSD.org; Sun, 28 May 2023 22:24:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 271383] negative jb_blk in a JOP_FREEBLK ffs journal record can cause fsck to crash Date: Sun, 28 May 2023 22:24:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271383 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db796bfce48698449470b751de6b0d96ae= 7047202 commit b796bfce48698449470b751de6b0d96ae7047202 Author: Kirk McKusick AuthorDate: 2023-05-28 22:23:16 +0000 Commit: Kirk McKusick CommitDate: 2023-05-28 22:23:37 +0000 Fix a bug in fsck_ffs(8) triggered by corrupted filesystems. Check for valid block numbers while loading journal entries that contain block numbers. If an invalid block number is found, fall back to full fsck. Reported-by: Robert Morris PR: 271383 MFC-after: 1 week Sponsored-by: The FreeBSD Foundation sbin/fsck_ffs/suj.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=