HomeFreeBSD

net80211: ieee80211_ies_expand() add extra length check

Description

net80211: ieee80211_ies_expand() add extra length check

Make sure the given IE length fits into the total length left when
parsing through the information elements. In theory I would say
discard everything if there is an error but that proves hard with
the current code.

Sponsored by: The FreeBSD Foundation
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D36245

(cherry picked from commit 9d2ba51806c32e7ea8ad83439cb48df91575b5bf)

Details

Provenance
bzAuthored on Aug 17 2022, 4:48 PM
Reviewer
adrian
Differential Revision
D36245: net80211: ieee80211_ies_expand() add extra length check
Parents
rGd82910770791: iwlwifi firmware: update to -73 / newer builds for 9xxx
Branches
Unknown
Tags
Unknown