From nobody Mon Nov 27 19:13: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 4SfFcS5Nxrz52xp9 for ; Mon, 27 Nov 2023 19:13: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 4SfFcS3PSNz3LTR for ; Mon, 27 Nov 2023 19:13: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=1701112424; 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=/PYB8NyvrZCQWuw4Ou9VG+mQ/hu1AbWY52JrbGFUo1E=; b=r2omdTvR19e5KEp6Sq452fsxTPrffD59GoevmxdvJ9aTG2ZMctYolUJS67Ekn3Y8JKxLLX PyfCv0h8DeYN4qD5c1Xap/w7XWYLmTmAcED7Q0CENEe6G7YF2cx/ZR/CI+8NCAd6ToUlAt m88LuairnqmQdaDJtnktti3S18rdM+CLQP6XEqs88J/ZDA0iUdBeVyMfyyYmFA48oWosi5 Una0zFHVni08TmrRiBz9N2WlirTmLyNQhmVX1w+1VcU4NDms2u2eNepkHsvl2sWdTbzmRH q3yW65Icnn4xtYqkQ+pfJ8s8Vw4ZONepVuml5EC5TeStRQ5QPXJYiv7uyTM30A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701112424; a=rsa-sha256; cv=none; b=B+uHNMhFqxZKeGcWASil19yQQabVyjoGxdIZx9s1iS37seWeOzq6tbinwp2Vyolq4+lCLB vrY+EIsQ5jO0uBzHWGHHdAzcERuBV8mvLa9xF/mOdQcvXKbTCwOnc8twQ0WHAF3piDFyBW OOVmocMkMQ/sdiaOe1xUVBsbBVozLaHrBKE0yXpAYmIIatYCbPuNpq3TTo9uLC4RDXIfbM LkkCNahP6fQWIKmuxLt48Y6lYTFQvEl/gEzcXhXrQDbQ4urRU+S/nIvbCf1mFVDiHA+jr5 pW9amXP79krSWsI7hfzrgvJwo6NUIyQ4pd1fL3Tsf6sJhpAp1zwuMNiDIgeSCA== 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 4SfFcS2T6lzrKX for ; Mon, 27 Nov 2023 19:13:44 +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 3ARJDi6w045071 for ; Mon, 27 Nov 2023 19:13:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ARJDikx045070 for fs@FreeBSD.org; Mon, 27 Nov 2023 19:13:44 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 275306] 14.0-RELEASE: ossl(4) causes data corruption on encrypted ZFS filesystems/volumes Date: Mon, 27 Nov 2023 19:13:44 +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: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275306 --- Comment #8 from Mark Johnston --- Hmm, I suspect that the problem is that ZFS expects to be able to dispatch multiple operations on a session in parallel, but the ossl AES-GCM implementation maintains some context in the session structure (the session structure is 624 bytes so a bit large for hte stack) and neither ZFS nor opencrypto nor ossl provide serialization. --=20 You are receiving this mail because: You are the assignee for the bug.=