Re: [PATCH 4.14] mac80211: fix memory corruption in EAPOL handling

From
Greg KH <hidden>
Date
2021-07-15 11:59:29
Also in
linux-wireless
Reply to
Davis Mosenkovs, 2021-07-10
On Sat, Jul 10, 2021 at 09:38:07PM +0300, Davis Mosenkovs wrote:
Commit 557bb37533a3 ("mac80211: do not accept/forward invalid EAPOL
frames") uses skb_mac_header() before eth_type_trans() is called
leading to incorrect pointer, the pointer gets written to. This issue
has appeared during backporting to 4.4, 4.9 and 4.14.

Fixes: 557bb37533a3 ("mac80211: do not accept/forward invalid EAPOL frames")
Link: https://lore.kernel.org/r/CAHQn7pKcyC_jYmGyTcPCdk9xxATwW5QPNph=bsZV8d-HPwNsyA@mail.gmail.com (local)
Cc: <redacted> # 4.14.x
Signed-off-by: Davis Mosenkovs <redacted>
---
 net/mac80211/rx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Ah, see your other backports now, nice, all now is good.

greg k-h
Thread (2 messages) 2 messages, 2 authors, last reply 2021-07-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help