fix(wifi): Fix memory corruption by avoiding unncessary encryption (7caaffa9)

When wpa_supplicant sends an authentication response for an already
connection station (with keys installed after a successful 4-way
handshake), the Mgmt packet was encrypted unconditionaly based on
'bss->pmf_enable'. This lead to memory corruption since extra space for
the encryption header was assumed even when it was not there.

Fix this by verifying that the packet is actually a robust management
frame before enabling the encryption.
This commit is contained in:
Sarvesh Bodakhe
2025-12-14 19:23:18 +05:30
committed by Nachiket Kukade
parent f81d2dc829
commit cfea48c4e8
62 changed files with 0 additions and 0 deletions
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.