From nobody Mon Mar 17 19:18:40 2025 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 4ZGlBV11QKz5qYZK for ; Mon, 17 Mar 2025 19:18:42 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZGlBT3jZ8z3c3f for ; Mon, 17 Mar 2025 19:18:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742239121; 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=93bPNLUV0xf1UzHJZYCn4c7GlcZUiSbOaA9I2JuR3E0=; b=r69y4Q9xA7P49qBfuxrvuz8VTfMXtF5BK/cDctVJNcXfllPaAFGr9sCQIV4GEc39eaKlU+ PlOLxWGeE6YR6RLZUQPts5m5S8uapxEQM08knIyDntA+X69rXfV/NQj5EwUrk8vbqZb35x Ys+u0YEx8o7egnZmvUt5KVZXqARfu+RMP9JiJiN6DVMTAwdOweDg3zWOB6cFkGD9uobIDl ihUbgVPynKQiUaAeGrrEmyAGe7fqxZ84FYpqJpvuW9ro10ZVjclhHeKFR+uLwQi8h6O6f2 VcoRUA6saoeAUD4E1SSi6qlUa/VXK1OVGBrLgzv89w6lirAm/D3xji1xkAIXww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1742239121; a=rsa-sha256; cv=none; b=tVIDUFhjQ+98w8L5XKMWVkw9CUglX3CAn5BZlHYIlNy/KV3xFeB1n6ndjs4DRQXX6CoXIN h2kr2aBVrr5RMwcCKaBsVbKMn6Sg/HQWw/qIHSFuM/xth+mNm2ocB+X5100SaKBlEOPp7O zgEFigLNcwskXVPVr9DM8lHn1QJxuwYUy4yiSw9FXLUSSS3pQEqmbBtHW1AeiMC3Ja04d3 0sSPF2rQs2IM2uaaGgENEgFCEKFWou9NGQLEQ8DETJJGh/mZCalCRshbTR9fPNTwNs1T3Q 4Lj4KdFldMSkUKbG1pMXYfMErOJPygv9cMS2YJlnaPdVwrg+Kl6JF3i6tnKQiQ== 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=1742239121; 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=93bPNLUV0xf1UzHJZYCn4c7GlcZUiSbOaA9I2JuR3E0=; b=VFXEnjE6Lr3zofAbwFxFgLHGq/zuPXaK9wP9ILwXbvNx+oLvsM/D0Iqd7YLqY5jzvUaw/a ntTIkkvYDlU0QAIYK+SCqFNJNbLEmgHQ4I4/oJ9mznoNAk+hiYxAqw36w55uPmQ4cbPQAV yZhwWaugCrHM1aznJhvfp0mBVrmKxivhUD4eR7QC7OJ5FPGW46CnsTiNOXj7w1lnGfrd6f Vn4wJGrvgAnfXz2xZzhQp0LuJgxYcTwos0GVpeTCWbRSc6yoShKzzYHNLbyFi08jt21qxu pfnHsiJ6DtKfFlcX/uqpbFGk1W3EnLcK4t4XmAMnur/PlMvoZtLEJuj3TiK+ZQ== 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 4ZGlBT3JkJz10by for ; Mon, 17 Mar 2025 19:18:41 +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 52HJIf6T095992 for ; Mon, 17 Mar 2025 19:18:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 52HJIf7J095991 for wireless@FreeBSD.org; Mon, 17 Mar 2025 19:18:41 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 283426] panic in sbappendaddr_locked() Date: Mon, 17 Mar 2025 19:18:40 +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.2-RELEASE X-Bugzilla-Keywords: crash, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283426 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org --- Comment #6 from Bjoern A. Zeeb --- May I have a suggestion: no matter what, can we please fix the panic messa= ge in stable/14 directly if this no longer applies to main to at least print m= 0 %p and some of the mbuf flags; Seems this wasn't done in 2014 but would have probably answered half of the questions here and now. The iwm rx ring is populated from: m =3D m_getjcl(M_NOWAIT, MT_DATA, M_PKTHDR, IWM_RBUF_SIZE); And according to the offsets (line numbers) what is passed up comes out of: 5321 * We need to start m_copym() at offset 0, = to get the 5322 * M_PKTHDR flag preserved. 5323 */ 5324 m1 =3D m_copym(m, 0, M_COPYALL, M_NOWAIT); 5325 if (m1) { 5326 if (iwm_rx_mpdu(sc, m1, offset, stolen)) So given we assume to have a copy (reference count increased) with M_PKTHDR= the question then is where in the stack up could we lose this? ip_input (at least on releng/14.2) does: M_ASSERTPKTHDR() but that's likely compiled out on the release. Assuming we pass that the next question would be: IPsec? Firewall? I don't see much else in the path to lose the M_PKTHDR. The only other difference between (likely 14.1? and 14.2) there is that I m= oved the epoch from the driver into net80211 but that should not have an effect = on that mbuf. --=20 You are receiving this mail because: You are the assignee for the bug.=