================================================================== BUG: KMSAN: uninit-value in do_error_trap+0x39b/0x600 arch/x86/kernel/traps.c:297 CPU: 0 PID: 7227 Comm: syz-executor0 Not tainted 4.17.0-rc3+ #90 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x185/0x1d0 lib/dump_stack.c:113 kmsan_report+0x142/0x240 mm/kmsan/kmsan.c:1067 __msan_warning_32+0x6c/0xb0 mm/kmsan/kmsan_instr.c:683 do_error_trap+0x39b/0x600 arch/x86/kernel/traps.c:297 do_invalid_op+0x46/0x50 arch/x86/kernel/traps.c:316 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992 RIP: 0010:kmsan_copy_to_user+0x141/0x160 mm/kmsan/kmsan.c:1213 RSP: 0018:ffff8801a897fa20 EFLAGS: 00010206 RAX: ffff8801c843d7c0 RBX: ffff8801a897fa78 RCX: 0000000000000028 RDX: 00007ffffffff000 RSI: ffff8801a897fa78 RDI: 4e1902ae81f1062c RBP: ffff8801a897fa68 R08: 00000000000000d2 R09: ffff8801c949fa78 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000028 R13: 4e1902ae81f1062c R14: 0000000000000000 R15: 0000000000000000 copy_to_user include/linux/uaccess.h:184 [inline] inet_gifconf+0x345/0x500 net/ipv4/devinet.c:1211 dev_ifconf+0x2b3/0x500 net/core/dev_ioctl.c:78 sock_do_ioctl+0x39b/0x6b0 net/socket.c:971 sock_ioctl+0x400/0xca0 net/socket.c:1081 vfs_ioctl fs/ioctl.c:46 [inline] do_vfs_ioctl+0xaf0/0x2440 fs/ioctl.c:686 ksys_ioctl fs/ioctl.c:701 [inline] __do_sys_ioctl fs/ioctl.c:708 [inline] __se_sys_ioctl fs/ioctl.c:706 [inline] __x64_sys_ioctl+0x280/0x320 fs/ioctl.c:706 do_syscall_64+0x154/0x220 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x455a39 RSP: 002b:00007f1b837e4c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1b837e56d4 RCX: 0000000000455a39 RDX: 00000000200000c0 RSI: 0000000000008912 RDI: 0000000000000014 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000018f R14: 00000000006f6608 R15: 0000000000000000 Local variable description: ----flags.i.i.i.i.i.i@__kmalloc Variable was created at: __kmalloc+0x3c/0x350 mm/slub.c:3799 kmalloc include/linux/slab.h:517 [inline] ccid_get_builtin_ccids+0x89/0x340 net/dccp/ccid.c:54 ==================================================================