Re: KMSAN: kernel-infoleak in move_addr_to_user (4)

2021-01-12 Thread Oliver Hartkopp
On 12.01.21 01:17, Cong Wang wrote: On Mon, Jan 11, 2021 at 11:33 AM Jakub Kicinski wrote: Looks like a AF_CAN socket: r0 = socket(0x1d, 0x2, 0x6) getsockname$packet(r0, &(0x7f000100)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f00)=0x14) Right, it seems we need a mem

Re: KMSAN: kernel-infoleak in move_addr_to_user (4)

2021-01-11 Thread Cong Wang
On Mon, Jan 11, 2021 at 11:33 AM Jakub Kicinski wrote: > > Looks like a AF_CAN socket: > > r0 = socket(0x1d, 0x2, 0x6) > getsockname$packet(r0, &(0x7f000100)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, > @broadcast}, &(0x7f00)=0x14) > Right, it seems we need a memset(0) in isotp_getname(). Than

Re: KMSAN: kernel-infoleak in move_addr_to_user (4)

2021-01-11 Thread Jakub Kicinski
Looks like a AF_CAN socket: r0 = socket(0x1d, 0x2, 0x6) getsockname$packet(r0, &(0x7f000100)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f00)=0x14) On Sun, 10 Jan 2021 02:19:15 -0800 syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:73d62e81

KMSAN: kernel-infoleak in move_addr_to_user (4)

2021-01-10 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:73d62e81 kmsan: random: prevent boot-time reports in _mix_.. git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=15c8b8c750 kernel config: https://syzkaller.appspot.co