From: Davis Mosenkovs <hidden> Date: 2021-07-10 18:37:39
Commit e3d4030498c3 ("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: e3d4030498c3 ("mac80211: do not accept/forward invalid EAPOL frames")
Link: https://lore.kernel.org/r/CAHQn7pKcyC_jYmGyTcPCdk9xxATwW5QPNph=bsZV8d-HPwNsyA@mail.gmail.com
Cc: <redacted> # 4.4.x
Signed-off-by: Davis Mosenkovs <redacted>
---
net/mac80211/rx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
On Sat, Jul 10, 2021 at 09:37:10PM +0300, Davis Mosenkovs wrote:
Commit e3d4030498c3 ("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.
So this is also needed in 4.9 and 4.14, right? If so, now queued up
everywhere. If not, please let me know so I can drop it from the other
trees.
thanks,
greg k-h
On 2021-07-15 at 15:36 Greg KH ([off-list ref]) wrote:
On Sat, Jul 10, 2021 at 09:37:10PM +0300, Davis Mosenkovs wrote:
quoted
Commit e3d4030498c3 ("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.
So this is also needed in 4.9 and 4.14, right? If so, now queued up
everywhere. If not, please let me know so I can drop it from the other
trees.
thanks,
greg k-h
On Fri, Jul 16, 2021 at 01:02:06AM +0300, Davis wrote:
On 2021-07-15 at 15:36 Greg KH ([off-list ref]) wrote:
quoted
On Sat, Jul 10, 2021 at 09:37:10PM +0300, Davis Mosenkovs wrote:
quoted
Commit e3d4030498c3 ("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.
So this is also needed in 4.9 and 4.14, right? If so, now queued up
everywhere. If not, please let me know so I can drop it from the other
trees.
thanks,
greg k-h