From nobody Sat Dec 09 15:52:53 2023 X-Original-To: wireless@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 4SnXbB1h00z54BPx for ; Sat, 9 Dec 2023 15:52:54 +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 4SnXbB0fg0z3fDG for ; Sat, 9 Dec 2023 15:52:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702137174; a=rsa-sha256; cv=none; b=G95T5C1SngBJbHeUT8zHakUjOrYbhC7zCXMMSOCBa0cOyKPV8LEnfCC+rnO28Dp/ZLXpfh 17EFKEdP6ubU0IarUQGVfr3fhqqZoJrUG2vvobxgYOSXQF6vOA2lBwhy9u1iGXcLdAJrd2 GkL3mHVG+oXUHBxX2uqmkDTipvv7z14wokuzWOhkkrEivJE4gVHJCvyVqLu/9ri7fTwpOT owpI8YagsrHeAU4d/J022Ob9M2GHCeNz7cxA3gQ2dNp9/qL3PqUxzBMIPZ1BpwWml39uMB kgg5I0cAhBKVViAOaTi3JUFumxffKVySMekxZyY9pg/GjWdueVqaStcj8X8YCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702137174; 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=sBX07K9z1gxGQcPkvSrnuP9AuAECDEzK07elBAi4L5E=; b=SQfYu/P0wFy3Gkc02pMR+9wPqh55SyKriNq9Va0ANXjjs5N4X4oWq884gmj9q+2Hao3Gzz eeuHhENNZqUh5GaqxJYbQqGeUS0+so6R7HhC8Jd1IaWgOcp3j82YyeOvpQnRoKtqzS89eI xOXOcub0kZ/Eyw3+CxEq8cPqtHDP5qs6KM4ndUsYnEq48FcN2eittPF4C9WlPzSPGFcCXJ 49ancXBtcvrUGCRdCipqu3MRlPB6EmOd1GQzXtQQREng0/6flr7wLKm1AcBB7OzAnsvptD NkDy6jS0SE4t4CDRg1SC92c7nRhUEb3HNzFMGejch4sarP15hc/exP1Sr9mD1Q== 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 4SnXb96q9lz19rg for ; Sat, 9 Dec 2023 15:52:53 +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 3B9FqrXB035329 for ; Sat, 9 Dec 2023 15:52:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B9Fqrm0035328 for wireless@FreeBSD.org; Sat, 9 Dec 2023 15:52:53 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: wireless@FreeBSD.org Subject: [Bug 275616] bwn driver causes kernel panic after connect Date: Sat, 09 Dec 2023 15:52:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275616 --- Comment #11 from Mark Johnston --- (In reply to Frank Hilgendorf from comment #9) So that corresponds to: 1660 /* NB: this could be optimized 'cuz of ieee80211_mbuf_adjust */=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 1661 m_adj(m, sizeof(struct ether_header) - sizeof(struct llc));=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 1662 llc =3D mtod(m, struct llc *);=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1663 llc->llc_dsap =3D llc->llc_ssap =3D LLC_SNAP_LSAP;=20= =20=20=20=20=20=20=20=20=20=20=20=20 1664 llc->llc_control =3D LLC_UI;=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1665 llc->llc_snap.org_code[0] =3D 0;=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1666 llc->llc_snap.org_code[1] =3D 0; <--- starts here=20= =20=20=20=20=20=20=20=20=20=20=20 1667 llc->llc_snap.org_code[2] =3D 0;=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1668 llc->llc_snap.ether_type =3D eh.ether_type; which seems to make sense, since KASAN reports 2 1-byte writes followed by a 2-byte write. That is strange. I suspect the bug is elsewhere. Perhaps something (bwn?) concurrently freed the mbuf chain? --=20 You are receiving this mail because: You are the assignee for the bug.=