Received: by mail.netbsd.org (Postfix, from userid 605) id D057085011; Mon, 5 Feb 2024 23:07:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0583E84FF7 for ; Mon, 5 Feb 2024 23:07:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 8L76C3fOBWjC for ; Mon, 5 Feb 2024 23:07:42 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 95F7984CD7 for ; Mon, 5 Feb 2024 23:07:42 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 8A4F9FA42; Mon, 5 Feb 2024 23:07:42 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 5 Feb 2024 23:07:42 +0000 From: "Jared D. McNeill" Subject: CVS commit: src/sys/dev/usb To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20240205230742.8A4F9FA42@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Jared D. McNeill" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: jmcneill Date: Mon Feb 5 23:07:42 UTC 2024 Modified Files: src/sys/dev/usb: ehcireg.h Log Message: Ensure proper alignment/padding of EHCI hardware descriptors. These descriptor structs are embedded in structs that contain additional context for software. With a non cache coherent device and non-padded descriptors, the device may issue a read/modify/write past the end of the descriptor, clobbering software state in the process. This was the root cause of multiple crashes on evbppc with a non cache coherent EHCI. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/dev/usb/ehcireg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.