HomeFreeBSD

net80211: fix out-of-bounds read in ieee80211_amrr(9).

Description

net80211: fix out-of-bounds read in ieee80211_amrr(9).

ieee80211_alloc_node() does not initialize rateset tables; that's not
expected by rate control modules and will result in array access at
index -1 - where ni_essid[] array is located (zeroed at allocation, so
there are no user-visible consequences).

Just delay rate control initialization to the moment, when rateset
tables are initiaziled; nothing will use rates here anyway.

MFC after: 4 days

Details

Provenance
avosAuthored on Dec 19 2018, 3:08 AM
Parents
rGb156a400a65b: cxgbe/t4_tom: fixes for issues on the passive open side.
Branches
Unknown
Tags
Unknown

Event Timeline