From nobody Sun Apr 24 15:17:32 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 C03631998889 for ; Sun, 24 Apr 2022 15:17:32 +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 4KmWwX2zj7z3htk for ; Sun, 24 Apr 2022 15:17:32 +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 46D5D7B4 for ; Sun, 24 Apr 2022 15:17:32 +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 23OFHWts025966 for ; Sun, 24 Apr 2022 15:17:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23OFHWGV025965 for bugs@FreeBSD.org; Sun, 24 Apr 2022 15:17:32 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 263505] vlan on wlan kernel panic Date: Sun, 24 Apr 2022 15:17:32 +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: rew@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: cc attachments.created 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=1650813452; 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=kREk8pkOenkRb9LEnmHpcj/KRTNUxz/UoMxIXS+d2gc=; b=lXcBIBSTvba8EQROwk17WMvYgWzXXb+e313w3UHowTiwTvcKYB3CP9/c8R2waauut25qQx Jr3+nzwkEUWSnwbzbXNs6guFroElxeJMy11I3VAzEA3w+TiKyDcd2WuTNLKXG8vVUt6ybT lvhcKR23UpPsiCizo4iupE7n9gWESU9LTOQoXxJOeZFicYPTUuzARevxl2Ldmfx+6qvAUv ysEI4BYI6Em9kbS0wiDHZPSLtw8dG9ZG2m86ZCCzo65jBjpo8ASonNVRgubSLEDcqjdf4X 0gKP4tVLwfeEZgNPewmoPgQ6gqcuIpzICwT8kKRkq3fqZGuBwhvcSk/kg+8/pg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650813452; a=rsa-sha256; cv=none; b=OPlzrWg3pufcok+dcO5k90s08BoAVs0vG7ov5D7cutlAubi3Loz2QKfx9DvZIeNYmlv1H2 Yxn50iSy4imW9N8TYe/l3LH8o3V0MAMANnPPc02lO2lo4ce5XHq+FDk8N3+Lwu7E68fBpl BJ5+FXkyNn7SAoqm9g1P9gV5LuM60YsmLyhfMjjkiyuDE3xfJ5sYJnGk9JoVt3II2x6g0P 4EpL2HB0cSv0vJrV16J+92ttt4Pci4OaGJSOw2hFQIFoi72lSu0RMDTW0n0R3EJuH053Fm MrfB1eo7cdkWpBrdZf6mUT8Xnre9hydrqJA03XDgaipls1AgoYUJC5daGqf58Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263505 Robert Wing changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rew@FreeBSD.org --- Comment #1 from Robert Wing --- Created attachment 233451 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233451&action= =3Dedit ifconfig vlan fix The vlan driver is calling ieee80211_output() with the wrong ifnet context = and dereferencing a bad pointer. It looks like the passed in if_softc is pointing to a struct ifvlan instead= of the expected struct ieee80211_vap Looking at vlan_output(), I wonder if the parents ifnet context should be u= sed when calling if_output()? I've attached a patch to show what I mean. --=20 You are receiving this mail because: You are the assignee for the bug.=