===================================================== BUG: KMSAN: uninit-value in handle_control_request+0x8db/0x20b0 drivers/usb/gadget/udc/dummy_hcd.c:1625 handle_control_request+0x8db/0x20b0 drivers/usb/gadget/udc/dummy_hcd.c:1625 dummy_timer+0x1e53/0x4f20 drivers/usb/gadget/udc/dummy_hcd.c:1911 call_timer_fn+0x43/0x480 kernel/time/timer.c:1474 expire_timers+0x272/0x610 kernel/time/timer.c:1519 __run_timers+0x5bd/0x8c0 kernel/time/timer.c:1790 run_timer_softirq+0x64/0xe0 kernel/time/timer.c:1803 __do_softirq+0x1cc/0x7fb kernel/softirq.c:571 invoke_softirq+0x8f/0x100 kernel/softirq.c:445 __irq_exit_rcu+0x5a/0x110 kernel/softirq.c:650 irq_exit_rcu+0xe/0x10 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 __nr_to_section include/linux/mmzone.h:1483 [inline] __pfn_to_section include/linux/mmzone.h:1591 [inline] pfn_valid include/linux/mmzone.h:1642 [inline] kmsan_virt_addr_valid arch/x86/include/asm/kmsan.h:50 [inline] virt_to_page_or_null mm/kmsan/shadow.c:76 [inline] kmsan_get_metadata+0x116/0x230 mm/kmsan/shadow.c:139 kmsan_get_shadow_origin_ptr+0x34/0xa0 mm/kmsan/shadow.c:98 get_shadow_origin_ptr mm/kmsan/instrumentation.c:35 [inline] __msan_metadata_ptr_for_load_4+0x20/0x30 mm/kmsan/instrumentation.c:76 rawv6_sendmsg+0x1fbb/0x2ea0 net/ipv6/raw.c:892 inet_sendmsg+0x101/0x180 net/ipv4/af_inet.c:819 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0xabc/0xe90 net/socket.c:2482 ___sys_sendmsg+0x2a1/0x3f0 net/socket.c:2536 __sys_sendmsg net/socket.c:2565 [inline] __do_sys_sendmsg net/socket.c:2574 [inline] __se_sys_sendmsg net/socket.c:2572 [inline] __x64_sys_sendmsg+0x367/0x540 net/socket.c:2572 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Uninit was stored to memory at: dummy_timer+0x1d6b/0x4f20 drivers/usb/gadget/udc/dummy_hcd.c:1888 call_timer_fn+0x43/0x480 kernel/time/timer.c:1474 expire_timers+0x272/0x610 kernel/time/timer.c:1519 __run_timers+0x5bd/0x8c0 kernel/time/timer.c:1790 run_timer_softirq+0x64/0xe0 kernel/time/timer.c:1803 __do_softirq+0x1cc/0x7fb kernel/softirq.c:571 Uninit was created at: slab_post_alloc_hook mm/slab.h:732 [inline] slab_alloc_node mm/slub.c:3258 [inline] slab_alloc mm/slub.c:3266 [inline] __kmalloc+0x7c9/0x1120 mm/slub.c:4435 kmalloc include/linux/slab.h:605 [inline] raw_alloc_io_data drivers/usb/gadget/legacy/raw_gadget.c:626 [inline] raw_ioctl_ep0_read drivers/usb/gadget/legacy/raw_gadget.c:727 [inline] raw_ioctl+0x3ef5/0x5c60 drivers/usb/gadget/legacy/raw_gadget.c:1262 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0x222/0x400 fs/ioctl.c:856 __x64_sys_ioctl+0x92/0xd0 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd CPU: 1 PID: 20324 Comm: syz-executor.0 Tainted: G W 6.0.0-rc2-syzkaller-47461-gac3859c02d7f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 =====================================================