wifi: mac80211_hwsim: drop short frames
stable inclusion from stable-v5.10.197 commit 672205c6f2d11978fcd7f0f336bb2c708e28874b category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I96Q8P Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=672205c6f2d11978fcd7f0f336bb2c708e28874b -------------------------------- [ Upstream commit fba360a0 ] While technically some control frames like ACK are shorter and end after Address 1, such frames shouldn't be forwarded through wmediumd or similar userspace, so require the full 3-address header to avoid accessing invalid memory if shorter frames are passed in. Reported-by:<syzbot+b2645b5bf1512b81fa22@syzkaller.appspotmail.com> Reviewed-by:
Jeff Johnson <quic_jjohnson@quicinc.com> Signed-off-by:
Johannes Berg <johannes.berg@intel.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment