Re: [PATCH net] llc: better deal with too small mtu

2018-05-07 Thread David Miller
From: Eric Dumazet Date: Mon, 7 May 2018 09:02:25 -0700 > syzbot loves to set very small mtu on devices, since it brings joy. > We must make llc_ui_sendmsg() fool proof. This thing is just too smart for it's own good :) > usercopy: Kernel memory overwrite attempt detected to wrapped address (o

[PATCH net] llc: better deal with too small mtu

2018-05-07 Thread Eric Dumazet
syzbot loves to set very small mtu on devices, since it brings joy. We must make llc_ui_sendmsg() fool proof. usercopy: Kernel memory overwrite attempt detected to wrapped address (offset 0, size 18446612139802320068)! kernel BUG at mm/usercopy.c:100! invalid opcode: [#1] SMP KASAN Dumping