]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mac80211: drop invalid source address OCB frames
authorJohannes Berg <johannes.berg@intel.com>
Mon, 16 Jun 2025 15:18:38 +0000 (17:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 13:59:50 +0000 (15:59 +0200)
commit7b131d8d4baea6ea86bbed1d462a60c394d1b510
treeeaacde03fd289d9a7e5fb1b275ac89f7b34b4f2b
parent2148b9142ab94544f4146473f819da18a78ec0fa
wifi: mac80211: drop invalid source address OCB frames

[ Upstream commit d1b1a5eb27c4948e8811cf4dbb05aaf3eb10700c ]

In OCB, don't accept frames from invalid source addresses
(and in particular don't try to create stations for them),
drop the frames instead.

Reported-by: syzbot+8b512026a7ec10dcbdd9@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/r/6788d2d9.050a0220.20d369.0028.GAE@google.com/
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Tested-by: syzbot+8b512026a7ec10dcbdd9@syzkaller.appspotmail.com
Link: https://patch.msgid.link/20250616171838.7433379cab5d.I47444d63c72a0bd58d2e2b67bb99e1fea37eec6f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/rx.c