Re: Posible memory corruption from "mac80211: do not accept/forward invalid EAPOL frames"

From
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date
2021-07-10 06:33:42
Also in
linux-wireless
Reply to
Davis Mosenkovs, 2021-07-09
On Fri, Jul 09, 2021 at 10:48:06PM +0300, Davis Mosenkovs wrote:
On 2021-07-02 at 09:54 Johannes Berg ([off-list ref]) wrote:
quoted
quoted
If testing procedure mentioned in my first email is sufficient (and
using skb->data is the correct solution in kernel trees where current
code doesn't work properly), I can make and test the patches.
Should I do that?
Yes, please do.

Thanks,
johannes
I have done the testing on kernel versions 4.4.274, 4.9.274, 4.14.238,
4.19.196, 5.4.130, 5.10.48, 5.12.15 and 5.13.1.
Only kernels 4.4.274, 4.9.274 and 4.14.238 are affected.
On kernels 4.19.196, 5.4.130, 5.10.48, 5.12.15 and 5.13.1 current code
works properly (and skb->data produces incorrect pointer when used
instead of skb_mac_header()).
I have submitted patches for the affected kernel versions:
https://lore.kernel.org/r/20210707213800.1087974-1-davis@mosenkovs.lv (local)
https://lore.kernel.org/r/20210707213820.1088026-1-davis@mosenkovs.lv (local)
https://lore.kernel.org/r/20210707213834.1088078-1-davis@mosenkovs.lv (local)
Please resend and cc: the stable@vger.kernel.org list so these can
actually be applied.

You have read:
    https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
right?

thanks,

greg k-h
Thread (9 messages) 9 messages, 4 authors, last reply 2021-07-10
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