From nobody Wed May 18 09:25:06 2022 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 075031ADB2E4 for ; Wed, 18 May 2022 09:25:07 +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 4L36yp5g9nz3MHq for ; Wed, 18 May 2022 09:25:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 9E4B826984 for ; Wed, 18 May 2022 09:25:06 +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 24I9P6gH053156 for ; Wed, 18 May 2022 09:25:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24I9P6WE053155 for fs@FreeBSD.org; Wed, 18 May 2022 09:25:06 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: fs@FreeBSD.org Subject: [Bug 263822] ffs(4): malicious USB memory stick can cause panic in FFS taste code: panic: Assertion size > 0 failed at /usr/rtm/symbsd/src/sys/kern/subr_vmem.c:1332 Date: Wed, 18 May 2022 09:25:06 +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: Unspecified X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rtm@lcs.mit.edu X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? mfc-stable12? 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652865906; 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=tog01x7xZ6A9gLpAsDV0aEFiPkZIycqsNkMHLVgkwsY=; b=TG41gtVcEH4cK/RSdQAQIoslsX3vvPqMbueC1vhkA48xOMKn1AfO1GVQVG4WJLJlKLa62r Im49VQWQMg6v8sKBFvvQ0MBwUSRZJkBS6xa+c3qsN88H1RUsRUrXVA9KGU12yKuOP1tQXA UQlXgrFNlH7JrfFsieX+iFz6NkXkZQqa4NFjoYQz92GpLUOqScE2N9qOXsBcPvXaIGl43/ jwPgMe5qNsZZ7QcDsY+IuZpeMKP4QO1bcMSpeb3ToPA0cyYJgnuLrW5jsza1iIQDdktJ2Y U2vCM7si0+9NuOY0OkYQ1Kh+mx2SHogXlHC6e84x+rtQ5ItE+MDxUYo/SxRpIw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652865906; a=rsa-sha256; cv=none; b=m80j2PXYZMvJtNX/6anQgQ4fSVc8k9jLVA/JslN9oXmz3QB9fUR7svLGIu9qcLoGetoGd8 ym3aa+ekqFMruTGZ7MIgqrA7mkTWh0A6k/KrLMGzbzl2mjBb7nQ6SMuRaA36AQahiU3GGh WCgUhZNDcIiuMURowRNZASTa9afTuez+qMDNgilUsrZXjKNk1sURSsa+d6y129YlVVZri0 nZVrMEb+8wZqF07bNHBj4x+4FVmP44cNub+RBMiDEDaCvcagUTA4Ejz7qglVTIkY1BDC/o cClL9igElYuBJfJ1KU/TOYNukDy3Up+Re13Ya2+/Ljk1/CXVwSrzNoVYPXTKJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263822 --- Comment #2 from Robert Morris --- (In reply to Kirk McKusick from comment #1) Yes -- your validate_sblock() of Apr 12 makes this problem go away. --=20 You are receiving this mail because: You are the assignee for the bug.=