Re: [PATCH net] l2tp: fix infoleak in l2tp_ip6_recvmsg()

2019-03-13 Thread David Miller
From: Eric Dumazet Date: Tue, 12 Mar 2019 06:50:11 -0700 > Back in 2013 Hannes took care of most of such leaks in commit > bceaa90240b6 ("inet: prevent leakage of uninitialized memory to user in recv > syscalls") > > But the bug in l2tp_ip6_recvmsg() has not been fixed. > > syzbot report : ..

[PATCH net] l2tp: fix infoleak in l2tp_ip6_recvmsg()

2019-03-12 Thread Eric Dumazet
Back in 2013 Hannes took care of most of such leaks in commit bceaa90240b6 ("inet: prevent leakage of uninitialized memory to user in recv syscalls") But the bug in l2tp_ip6_recvmsg() has not been fixed. syzbot report : BUG: KMSAN: kernel-infoleak in _copy_to_user+0x16b/0x1f0 lib/usercopy.c:32