From nobody Fri Jul 28 22:02:18 2023 X-Original-To: bugs@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 4RCM7G4Yxkz4pgWn for ; Fri, 28 Jul 2023 22:02:18 +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 4RCM7G3Y0Kz4N6m for ; Fri, 28 Jul 2023 22:02:18 +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=1690581738; 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=Pi01Ja3zaLM4wF5vQ9BL+s9ddKjqOVuKZ/6mvuUK4AM=; b=mFTtz0PaqT9pSrQAN8cap6Z1A6MKLuRS/JK1g0W5eLlB6cReO2W+RhAkOiW1XczTAlNbOY w2q3oRRLEVmCN5IJ0NZ/kz2cJhCsBTnwo0u44hh/pfZKqTqkQXwc//v2UDyDkxEcV+wDX3 0MII7nL6Az4gbhLGwnGDE85d+Ajhg9Ix+BEJb+SVCSeBVSfk5nqpW84ckIjqhBeSLpU3Rr IFJJ0hLpfzjMYrC97o82jjLvA16d/CIzpdLc37UB6b+oZe+FseG8+fHeW8sA+5YK/Y4E4q CTi7GJL94cRmOVbvd5m8vu/JxZBcFnWN79vLUsaQ4+kOyLcYy7pZ/JUqlx1wzQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690581738; a=rsa-sha256; cv=none; b=A0Gvoz0pwJ3rq4llawMoaqdPHKsevvN6n4++21tHm2890a7eI2p9OKJ+0kuNT/s4ON6B5g pQgUAVVfcHrOmcATRKiUQcvPvJ5X7UBo8w7ttFBzSo8sh7ZsKQsLg679k/lgvaDPTHLx9y f877bZghk5I22juuduyJVaCRTRnLrCVUK+Mf23LNQT4eJrtjAk0idCvcdkyPUun7hBmJqw lHSUsWAVhJTBaUqFkQMdvss7NLNNZ63Yd2ul89yK/0t6ZICrwrS5oHqClUqB9L435OigI2 hAOO95aQ0i41WB94mDzk/WP1u2dpPZkeuNGp8Vux6kO6X3CNbfkSr1mTz1+mZA== 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 4RCM7G2fRkz17CZ for ; Fri, 28 Jul 2023 22:02:18 +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 36SM2IbV097379 for ; Fri, 28 Jul 2023 22:02:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36SM2IRv097378 for bugs@FreeBSD.org; Fri, 28 Jul 2023 22:02:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 258063] Kernel panic from a corrupt cd9660 image. Date: Fri, 28 Jul 2023 22:02:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jhb@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jhb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258063 John Baldwin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jhb@FreeBSD.org Assignee|bugs@FreeBSD.org |jhb@FreeBSD.org --- Comment #2 from John Baldwin --- The root issue I believe is that the cd9660 vfs doesn't support volumes whe= re the logical block size in the primary volume descriptor is smaller than the sector size of the underlying medium. Fixing this would require auditing a= ll the places that call bread*/bwrite* in cd9660 and fixing them to align requ= ests on the underlying sector boundary, both by rounding up the size but also by possibly using an offset into the buf's b_data. Rather than solve that bigger problem, I've just added a check during mount= to reject such volumes in the proposed patch at https://reviews.freebsd.org/D4= 1228 --=20 You are receiving this mail because: You are the assignee for the bug.=