From nobody Wed Jan 26 16:00:11 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 3AB241970C4A for ; Wed, 26 Jan 2022 16:00:12 +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 4JkT2M5Dj1z3Hjw for ; Wed, 26 Jan 2022 16:00:11 +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 6AD312028F for ; Wed, 26 Jan 2022 16:00:11 +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 20QG0BfT007086 for ; Wed, 26 Jan 2022 16:00:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20QG0Bx9007085 for fs@FreeBSD.org; Wed, 26 Jan 2022 16:00:11 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 255131] kernel panic using zfs on shsec Date: Wed, 26 Jan 2022 16:00:11 +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: panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created 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=1643212811; 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=PCW1QL+xXhDoKpuWAjenuNc7ItozQFkGQpQa1fa0ISk=; b=H3tv7VYfuHjYn4TEuNthabPksgHw+SKlf3QXd/jWL0dGq4P6U36nFvzwmeuItPE06Mm0d9 GaRhrYA8dHlWI32+2dkAbGHPe7G91+UpyIyskRobmce9ry06lBR1lnjg0kPXDmzL9KvPLu GL+IIyHKrI/CVO1nugQEA83FWk/ZfJfLBB0SiHs2aggPUADlmSPWr8XV1iT9g27VVIYl57 e+c7NoC47UTEup90wXHhnob/lwRm7T/FH0GA0PEIDGTIuSOj1FtgtU9SEFgPqb8+OEAvl1 mMo2p8yzlak6THkA6mnp0xmMokEaurtBzZsh++RgEQuKu9+3OMZYFWF6PAeY4Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643212811; a=rsa-sha256; cv=none; b=Wdg0dIUjwhHvrBqHV5Xyhw3nykPKi9f0k5n6M01oma9J/Mifm5hH1MPZrzbzIdcfVGs/Ts H0V2sIpg6BQ9jeZxnUQ6A434hRT1G2KP+rMQVyQ5meBM2zyNqZvdqwP/MWJUbEnWhX0kKx BiA5QTOLBLNuc45kvHdygaX+WETtd9SthZaw6pFoH6aPQIMfbfndsKeY8j7qBtitDCE8bv Lp/UfPPGS0bb7/Yi5m281+OxN9tXQ5QpfBYqOj7rLAYhAmIdA39C2V2um+pganHMebjXJ4 sFIRYEDZgdRceLw+uFuUXsQN9FCA4aoBZDl9zlCOgmQmBeah/FgP3hRp2fMVAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255131 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #3 from Mark Johnston --- Created attachment 231358 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231358&action= =3Dedit proposed patch The problem really appears to be that shsec erroneously allocates a buffer = for BIO_FLUSH commands that get sent to child providers. It should only be doi= ng this for reads and writes, so the attached patch is sufficient, I believe. --=20 You are receiving this mail because: You are the assignee for the bug.=