capability: warning: `syz-executor7' uses 32-bit capabilities (legacy support in use) ================================================================== BUG: KMSAN: uninit-value in copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] BUG: KMSAN: uninit-value in raw_copy_from_user arch/x86/include/asm/uaccess_64.h:55 [inline] BUG: KMSAN: uninit-value in __copy_from_user_inatomic include/linux/uaccess.h:69 [inline] BUG: KMSAN: uninit-value in __probe_kernel_read+0x224/0x280 mm/maccess.c:33 CPU: 0 PID: 7385 Comm: syz-executor2 Not tainted 4.17.0-rc3+ #88 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 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_from_user arch/x86/include/asm/uaccess_64.h:55 [inline] __copy_from_user_inatomic include/linux/uaccess.h:69 [inline] __probe_kernel_read+0x224/0x280 mm/maccess.c:33 is_valid_bugaddr+0xb6/0x1a0 arch/x86/kernel/traps.c:168 report_bug+0x6f/0x880 lib/bug.c:149 fixup_bug arch/x86/kernel/traps.c:179 [inline] do_error_trap+0x1aa/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:ffff880141abfa20 EFLAGS: 00010206 RAX: ffff88014388d7c0 RBX: ffff880141abfa78 RCX: 0000000000000028 RDX: 00007ffffffff000 RSI: ffff880141abfa78 RDI: a1f6594fee6fec12 RBP: ffff880141abfa68 R08: 0000000001080020 R09: ffff88014027fa78 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000028 R13: a1f6594fee6fec12 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:0x455979 RSP: 002b:00007f680df80c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f680df816d4 RCX: 0000000000455979 RDX: 0000000020000280 RSI: 0000000000008912 RDI: 0000000000000015 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000018f R14: 00000000006f6608 R15: 0000000000000000 Local variable description: ----key.i.i@from_kgid Variable was created at: from_kgid+0x52/0x410 kernel/user_namespace.c:480 kgid_has_mapping include/linux/uidgid.h:138 [inline] may_o_create fs/namei.c:2979 [inline] lookup_open fs/namei.c:3139 [inline] do_last fs/namei.c:3277 [inline] path_openat+0x2503/0x6450 fs/namei.c:3501 ==================================================================