===================================================== BUG: KMSAN: uninit-value in pm_runtime_get_sync include/linux/pm_runtime.h:226 [inline] BUG: KMSAN: uninit-value in usb_autopm_get_interface+0x5f/0x100 drivers/usb/core/driver.c:1707 CPU: 0 PID: 23523 Comm: syz-executor.1 Not tainted 5.3.0-rc7+ #0 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+0x191/0x1f0 lib/dump_stack.c:113 kmsan_report+0x13a/0x2b0 mm/kmsan/kmsan_report.c:108 __msan_warning+0x73/0xe0 mm/kmsan/kmsan_instr.c:250 arch_atomic_inc arch/x86/include/asm/atomic.h:97 [inline] atomic_inc include/asm-generic/atomic-instrumented.h:240 [inline] __pm_runtime_resume+0x179/0x190 drivers/base/power/runtime.c:1073 pm_runtime_get_sync include/linux/pm_runtime.h:226 [inline] usb_autopm_get_interface+0x5f/0x100 drivers/usb/core/driver.c:1707 usbhid_power+0xb7/0x170 drivers/hid/usbhid/hid-core.c:1234 hid_hw_power include/linux/hid.h:1038 [inline] hidraw_open+0x459/0xc10 drivers/hid/hidraw.c:282 chrdev_open+0xc58/0xe00 fs/char_dev.c:414 do_dentry_open+0xda7/0x1810 fs/open.c:797 vfs_open+0xaf/0xe0 fs/open.c:906 do_last fs/namei.c:3416 [inline] path_openat+0x17f4/0x6bb0 fs/namei.c:3533 do_filp_open+0x2b8/0x710 fs/namei.c:3563 do_sys_open+0x642/0xa30 fs/open.c:1089 __do_sys_open fs/open.c:1107 [inline] __se_sys_open+0xad/0xc0 fs/open.c:1102 __x64_sys_open+0x4a/0x70 fs/open.c:1102 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x413941 Code: 75 14 b8 02 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 19 00 00 c3 48 83 ec 08 e8 0a fa ff ff 48 89 04 24 b8 02 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fa ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007f3c8c2187a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 0000000000413941 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007f3c8c218850 RBP: 000000000075bfc8 R08: 000000000000000f R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f3c8c2196d4 R13: 00000000004c90ab R14: 00000000004e0590 R15: 00000000ffffffff Uninit was created at: kmsan_save_stack_with_flags+0x3a/0x80 mm/kmsan/kmsan.c:150 kmsan_internal_alloc_meta_for_pages mm/kmsan/kmsan_shadow.c:364 [inline] kmsan_alloc_page+0x151/0x360 mm/kmsan/kmsan_shadow.c:400 __alloc_pages_nodemask+0x142d/0x5fa0 mm/page_alloc.c:4757 alloc_pages_current+0x68d/0x9a0 mm/mempolicy.c:2153 alloc_pages include/linux/gfp.h:511 [inline] skb_page_frag_refill+0x2b0/0x580 net/core/sock.c:2364 tun_build_skb drivers/net/tun.c:1675 [inline] tun_get_user+0x1c7d/0x6fe0 drivers/net/tun.c:1816 tun_chr_write_iter+0x1f2/0x360 drivers/net/tun.c:2020 do_iter_readv_writev+0xa16/0xc30 include/linux/fs.h:1864 do_iter_write+0x304/0xdc0 fs/read_write.c:970 vfs_writev fs/read_write.c:1015 [inline] do_writev+0x435/0x900 fs/read_write.c:1058 __do_sys_writev fs/read_write.c:1131 [inline] __se_sys_writev+0x9b/0xb0 fs/read_write.c:1128 __x64_sys_writev+0x4a/0x70 fs/read_write.c:1128 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x63/0xe7 =====================================================