Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2022 15:17:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 263505] vlan on wlan kernel panic
Message-ID:  <bug-263505-227-OZvGUfAAQ0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263505-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263505

Robert Wing <rew@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rew@FreeBSD.org

--- Comment #1 from Robert Wing <rew@FreeBSD.org> ---
Created attachment 233451
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233451&action=edit
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 used
when calling if_output()?

I've attached a patch to show what I mean.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263505-227-OZvGUfAAQ0>