diff options
author | Johannes Berg <johannes.berg@intel.com> | 2021-12-11 22:10:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-22 11:30:50 +0300 |
commit | 7fd214fc7f2ee3a89f91e717e3cfad55f5a27045 (patch) | |
tree | ff4bd548c431166af5875253363ad574feea2c89 /net/mac80211/rc80211_minstrel_debugfs.c | |
parent | 0bb50470f1e09169887fe8509ca38e51e432f308 (diff) | |
download | linux-7fd214fc7f2ee3a89f91e717e3cfad55f5a27045.tar.xz |
mac80211: validate extended element ID is present
commit 768c0b19b50665e337c96858aa2b7928d6dcf756 upstream.
Before attempting to parse an extended element, verify that
the extended element ID is present.
Fixes: 41cbb0f5a295 ("mac80211: add support for HE")
Reported-by: syzbot+59bdff68edce82e393b6@syzkaller.appspotmail.com
Link: https://lore.kernel.org/r/20211211201023.f30a1b128c07.I5cacc176da94ba316877c6e10fe3ceec8b4dbd7d@changeid
Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/mac80211/rc80211_minstrel_debugfs.c')
0 files changed, 0 insertions, 0 deletions