Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2025 19:24:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        wireless@FreeBSD.org
Subject:   [Bug 286063] net80211: isieee80211_sta_join() -> ieee80211_alloc_node() -> ieee80211_chan2mode()  panic
Message-ID:  <bug-286063-21060-hv8oGPv2te@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-286063-21060@https.bugs.freebsd.org/bugzilla/>

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

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

Bjoern A. Zeeb <bz@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|wireless@FreeBSD.org        |bz@FreeBSD.org
             Status|New                         |Open

--- Comment #2 from Bjoern A. Zeeb <bz@FreeBSD.org> ---
ieee80211_sta_join() calls
  ieee80211_alloc_node() not passing the chan
    ni_chan gets initialized to IEEE80211_CHAN_ANYC
    the node gets inserted in the nt
  ni->ni_chan = chan  which was passed into ieee80211_sta_join()
  ieee80211_ies_init
    ieee80211_ies_expand    << one possible problem seen here already -- ???
unrelated? NO!
   ieee80211_setup_rates calls
    <<<< real problem for ni_chan happening here
    ieee80211_fix_rate
      ucastrate = vap->iv_txparms[ieee80211_chan2mode(ni->ni_chan)].ucastrate; 
<< kaboom with ni_nichan being kaputt

The problems that is common to both is that the se became invalid.

Please try the patch from this review:
https://reviews.freebsd.org/D49865

-- 
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-286063-21060-hv8oGPv2te>