]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mt76: mt76x0: disable GTK offloading
authorDavid Bauer <mail@david-bauer.net>
Sun, 7 Feb 2021 15:09:17 +0000 (16:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 May 2021 08:29:31 +0000 (10:29 +0200)
commit4afe1ca637fad4ef28e50a7de45bf21a95cffe6c
treed9ad8a535d0f5a1bd7f9e37acbac40b446c27612
parentaef8d2cf617dbd494ebafb4d6ae0e8e793955c73
mt76: mt76x0: disable GTK offloading

[ Upstream commit 4b36cc6b390f18dbc59a45fb4141f90d7dfe2b23 ]

When operating two VAP on a MT7610 with encryption (PSK2, SAE, OWE),
only the first one to be created will transmit properly encrypteded
frames.

All subsequently created VAPs will sent out frames with the payload left
unencrypted, breaking multicast traffic (ICMP6 NDP) and potentially
disclosing information to a third party.

Disable GTK offloading and encrypt these frames in software to
circumvent this issue. THis only seems to be necessary on MT7610 chips,
as MT7612 is not affected from our testing.

Signed-off-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/mediatek/mt76/mt76x02_util.c