From nobody Tue Mar 01 15:06:49 2022 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 7EBDE19E658F for ; Tue, 1 Mar 2022 15:06:49 +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 4K7LF52Gtbz3j79 for ; Tue, 1 Mar 2022 15:06:49 +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 2AB3B11DB9 for ; Tue, 1 Mar 2022 15:06:49 +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 221F6niv023765 for ; Tue, 1 Mar 2022 15:06:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 221F6nq2023764 for bugs@FreeBSD.org; Tue, 1 Mar 2022 15:06:49 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 262263] ahci: Unaligned free to UMA zone (ada_ccb) Date: Tue, 01 Mar 2022 15:06:49 +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: mav@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646147209; 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=7D8PyM4gn0dN7UKEOn30yC1tKIndWxTF7COCpdpy4vw=; b=hqKH2t4Vw2rdrvIeOKGNJrYdpAqAe854E2tLhnc4R3k2IVplG6NIss7wHsvgZ8arY6nF0M Hzhw/2QPck3lBdYjD6HtwPg5b27KAl7Ndaspr5qsMDYo62CcSm3eZYSVAckdIKgz9HvoQj bGfuEV3HlCaK1YXMN7dxycs1aKyLoN7N0slYBaDrxIYvGJMJzO+eeAsUyDkp/s9HsAGTNB f5bkKMxUjMcUFXFgRd4vNPeotkQ7OW1srmiUmtpOAJO7tBWyL57iZa6D34j/YbISyq+8PJ FIblnnqfBpRkVVZFsaBBUpnfd7Gap54uw7+D2CIFNjVi/FCx3UOm7nppm7WCXg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646147209; a=rsa-sha256; cv=none; b=DBFJcOArmGPWVX+wbCnq7sdQezw+cOTfEPlKThzP6ja6UiNyq3KPXy5wrkUeYx+hpkeGl+ 4G9oCzY6k6W7UhgAJYnocm+ySqapINLkKTRBqm+kSY0n5ZtVBjJ4kFQpDICE9ZI1p1XI12 TZro5XdPnc62OEJUpMW2neo4SzXu6CSZtNU9uHvu3jYlA6aXsZRGZhvxaqC/UXwaGbdB3k yBVfBCNE2kMNYDXqFqbS8zCuEfDNWjidhDlV91FbDvU03aaVXsN6ycQhQMzwEfja8N6nYR G156TY+9J5Na7gybUqiXWsVy8EZfrhA2nusFA7YOpV3F7v8TSSYX62klG5pVeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262263 --- Comment #10 from Alexander Motin --- @Lamia, there seem to be two independent issues here: one for USB, one for AHCI. Please do not mix them. I have doubts that panic you see on 14 shou= ld be reproducible on 13.1, but please correct me if I read your wrong. @trasz I think I see the problem, and it may indeed be related to your chan= ge.=20 In ahci_issue_recovery() I see such a line: ccb->ccb_h =3D ch->hold[i]->ccb_h; /* Reuse old header. */ , which should also copy alloc_flags from read periph CCB to the locally allocated one. When it comes time to free the CCB, it is probably getting freed to the wrong zone. --=20 You are receiving this mail because: You are the assignee for the bug.=