usb 2-1:0.128: non-zero urb status (-71) usb 2-1:0.128: non-zero urb status (-71) ===================================================== BUG: KMSAN: uninit-value in call_timer_fn+0x232/0x530 kernel/time/timer.c:1322 CPU: 0 PID: 32158 Comm: udevd 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 dummy_timer+0x8d3/0x6770 drivers/usb/gadget/udc/dummy_hcd.c:1821 call_timer_fn+0x232/0x530 kernel/time/timer.c:1322 expire_timers kernel/time/timer.c:1366 [inline] __run_timers+0xcdc/0x11a0 kernel/time/timer.c:1685 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1698 __do_softirq+0x4a1/0x83a kernel/softirq.c:293 invoke_softirq kernel/softirq.c:375 [inline] irq_exit+0x230/0x280 kernel/softirq.c:416 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:537 smp_apic_timer_interrupt+0x48/0x70 arch/x86/kernel/apic/apic.c:1135 apic_timer_interrupt+0x2e/0x40 arch/x86/entry/entry_64.S:837 RIP: 0010:kmsan_slab_alloc+0xd5/0x120 mm/kmsan/kmsan_hooks.c:106 Code: 0a ba 01 00 00 00 e8 ba e6 ff ff 65 ff 0d 07 0f ff 7d 65 8b 05 00 0f ff 7d 85 c0 75 30 e8 53 40 38 ff 4c 89 65 c8 ff 75 c8 9d <65> 48 8b 04 25 28 00 00 00 48 3b 45 d8 75 0d 48 83 c4 18 5b 41 5c RSP: 0018:ffff88803843f3b0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: ffff8881034f3fc0 RCX: 0000000000000011 RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffff8881034f3fc0 RBP: ffff88803843f3e8 R08: 0000000000000002 R09: ffff88803843f1f0 R10: 0000000000000013 R11: ffffffff8182a660 R12: 0000000000000246 R13: ffffffffffffff00 R14: 0000000000000cc0 R15: ffff88812f819dc0 slab_alloc_node mm/slub.c:2790 [inline] slab_alloc mm/slub.c:2799 [inline] kmem_cache_alloc+0x8e3/0xd10 mm/slub.c:2804 anon_vma_chain_alloc mm/rmap.c:129 [inline] __anon_vma_prepare+0xa5/0xae0 mm/rmap.c:183 anon_vma_prepare include/linux/rmap.h:153 [inline] do_anonymous_page mm/memory.c:2993 [inline] handle_pte_fault mm/memory.c:3840 [inline] __handle_mm_fault mm/memory.c:3966 [inline] handle_mm_fault+0x68bf/0x9ef0 mm/memory.c:4003 do_user_addr_fault+0x905/0x1510 arch/x86/mm/fault.c:1461 __do_page_fault+0x1a2/0x410 arch/x86/mm/fault.c:1526 do_page_fault+0xbb/0x500 arch/x86/mm/fault.c:1550 page_fault+0x4e/0x60 arch/x86/entry/entry_64.S:1214 RIP: 0010:copy_user_enhanced_fast_string+0xe/0x20 arch/x86/lib/copy_user_64.S:205 Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 1f 00 c3 0f 1f 80 00 00 00 00 0f 1f 00 83 fa 40 0f 82 70 ff ff ff 89 d1 a4 31 c0 0f 1f 00 c3 66 2e 0f 1f 84 00 00 00 00 00 89 d1 f3 a4 RSP: 0018:ffff88803843f9a0 EFLAGS: 00010206 RAX: ffffffff849f099c RBX: ffff8881ba4309a0 RCX: 0000000000000087 RDX: 0000000000000087 RSI: ffff88819edd8000 RDI: 00007fb66cb40000 RBP: ffff88803843fa10 R08: 0000000000000001 R09: ffff888109aaf0e0 R10: 0000000000000010 R11: ffffffff8253a870 R12: 0000000000000087 R13: ffff88819edd8000 R14: ffff88803843f9a8 R15: 00007fb66cb40000 copy_to_user include/linux/uaccess.h:174 [inline] seq_read+0x1921/0x1d90 fs/seq_file.c:277 kernfs_fop_read+0x2c3/0x9a0 fs/kernfs/file.c:251 __vfs_read+0x1a9/0xc90 fs/read_write.c:425 vfs_read+0x359/0x6f0 fs/read_write.c:461 ksys_read+0x265/0x430 fs/read_write.c:587 __do_sys_read fs/read_write.c:597 [inline] __se_sys_read+0x92/0xb0 fs/read_write.c:595 __x64_sys_read+0x4a/0x70 fs/read_write.c:595 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x7fb66c241310 Code: 73 01 c3 48 8b 0d 28 4b 2b 00 31 d2 48 29 c2 64 89 11 48 83 c8 ff eb ea 90 90 83 3d e5 a2 2b 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 6e 8a 01 00 48 89 04 24 RSP: 002b:00007fff2f772ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 000000000122bc30 RCX: 00007fb66c241310 RDX: 0000000000001000 RSI: 00007fb66cb40000 RDI: 0000000000000005 RBP: 0000000000003fff R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000022 R11: 0000000000000246 R12: 000000000000000a R13: 0000000000000000 R14: 0000000000000000 R15: 00007fff2f7733b0 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:150 [inline] kmsan_internal_chain_origin+0xd2/0x170 mm/kmsan/kmsan.c:314 __msan_chain_origin+0x6b/0xe0 mm/kmsan/kmsan_instr.c:184 dummy_urb_enqueue+0x604/0xe10 drivers/usb/gadget/udc/dummy_hcd.c:1252 usb_hcd_submit_urb+0x672/0x38d0 drivers/usb/core/hcd.c:1555 usb_submit_urb+0x1ef3/0x1f50 drivers/usb/core/urb.c:571 si470x_int_in_callback+0x3f7/0x1010 drivers/media/radio/si470x/radio-si470x-usb.c:465 __usb_hcd_giveback_urb+0x4a7/0x630 drivers/usb/core/hcd.c:1657 usb_hcd_giveback_urb+0x189/0x670 drivers/usb/core/hcd.c:1722 dummy_timer+0xab0/0x6770 drivers/usb/gadget/udc/dummy_hcd.c:1965 call_timer_fn+0x232/0x530 kernel/time/timer.c:1322 expire_timers kernel/time/timer.c:1366 [inline] __run_timers+0xcdc/0x11a0 kernel/time/timer.c:1685 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1698 __do_softirq+0x4a1/0x83a kernel/softirq.c:293 invoke_softirq kernel/softirq.c:375 [inline] irq_exit+0x230/0x280 kernel/softirq.c:416 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:537 smp_apic_timer_interrupt+0x48/0x70 arch/x86/kernel/apic/apic.c:1135 apic_timer_interrupt+0x2e/0x40 arch/x86/entry/entry_64.S:837 native_restore_fl arch/x86/include/asm/irqflags.h:41 [inline] console_unlock+0x191b/0x1cb0 arch/x86/include/asm/irqflags.h:84 vprintk_emit+0x45b/0x8f0 kernel/printk/printk.c:2003 dev_vprintk_emit+0x940/0xb28 drivers/base/core.c:3283 dev_printk_emit+0x1ce/0x210 drivers/base/core.c:3294 __dev_printk+0x3af/0x460 drivers/base/core.c:3306 _dev_warn+0x1e5/0x22a drivers/base/core.c:3350 si470x_set_report drivers/media/radio/si470x/radio-si470x-usb.c:234 [inline] si470x_set_register+0x3f9/0x410 drivers/media/radio/si470x/radio-si470x-usb.c:269 si470x_start+0x27f/0x510 drivers/media/radio/si470x/radio-si470x-common.c:385 si470x_start_usb+0x753/0x930 drivers/media/radio/si470x/radio-si470x-usb.c:547 si470x_usb_driver_probe+0x27d6/0x3200 drivers/media/radio/si470x/radio-si470x-usb.c:735 usb_probe_interface+0xd19/0x1310 drivers/usb/core/driver.c:361 really_probe+0x1373/0x1dc0 drivers/base/dd.c:552 driver_probe_device+0x1ba/0x510 drivers/base/dd.c:709 __device_attach_driver+0x5b8/0x790 drivers/base/dd.c:816 bus_for_each_drv+0x28e/0x3b0 drivers/base/bus.c:454 __device_attach+0x489/0x750 drivers/base/dd.c:882 device_initial_probe+0x4a/0x60 drivers/base/dd.c:929 bus_probe_device+0x131/0x390 drivers/base/bus.c:514 device_add+0x25b5/0x2df0 drivers/base/core.c:2165 usb_set_configuration+0x309f/0x3710 drivers/usb/core/message.c:2027 generic_probe+0xe7/0x280 drivers/usb/core/generic.c:210 usb_probe_device+0x146/0x200 drivers/usb/core/driver.c:266 really_probe+0x1373/0x1dc0 drivers/base/dd.c:552 driver_probe_device+0x1ba/0x510 drivers/base/dd.c:709 __device_attach_driver+0x5b8/0x790 drivers/base/dd.c:816 bus_for_each_drv+0x28e/0x3b0 drivers/base/bus.c:454 __device_attach+0x489/0x750 drivers/base/dd.c:882 device_initial_probe+0x4a/0x60 drivers/base/dd.c:929 bus_probe_device+0x131/0x390 drivers/base/bus.c:514 device_add+0x25b5/0x2df0 drivers/base/core.c:2165 usb_new_device+0x23e5/0x2fb0 drivers/usb/core/hub.c:2536 hub_port_connect drivers/usb/core/hub.c:5098 [inline] hub_port_connect_change drivers/usb/core/hub.c:5213 [inline] port_event drivers/usb/core/hub.c:5359 [inline] hub_event+0x581d/0x72f0 drivers/usb/core/hub.c:5441 process_one_work+0x1572/0x1ef0 kernel/workqueue.c:2269 worker_thread+0x111b/0x2460 kernel/workqueue.c:2415 kthread+0x4b5/0x4f0 kernel/kthread.c:256 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:150 [inline] kmsan_internal_poison_shadow+0x53/0x100 mm/kmsan/kmsan.c:134 kmsan_slab_free+0x8d/0x100 mm/kmsan/kmsan_hooks.c:123 slab_free_freelist_hook mm/slub.c:1472 [inline] slab_free mm/slub.c:3038 [inline] kfree+0x4c1/0x2db0 mm/slub.c:3980 si470x_usb_driver_probe+0xa6f/0x3200 drivers/media/radio/si470x/radio-si470x-usb.c:764 usb_probe_interface+0xd19/0x1310 drivers/usb/core/driver.c:361 really_probe+0x1373/0x1dc0 drivers/base/dd.c:552 driver_probe_device+0x1ba/0x510 drivers/base/dd.c:709 __device_attach_driver+0x5b8/0x790 drivers/base/dd.c:816 bus_for_each_drv+0x28e/0x3b0 drivers/base/bus.c:454 __device_attach+0x489/0x750 drivers/base/dd.c:882 device_initial_probe+0x4a/0x60 drivers/base/dd.c:929 bus_probe_device+0x131/0x390 drivers/base/bus.c:514 device_add+0x25b5/0x2df0 drivers/base/core.c:2165 usb_set_configuration+0x309f/0x3710 drivers/usb/core/message.c:2027 generic_probe+0xe7/0x280 drivers/usb/core/generic.c:210 usb_probe_device+0x146/0x200 drivers/usb/core/driver.c:266 really_probe+0x1373/0x1dc0 drivers/base/dd.c:552 driver_probe_device+0x1ba/0x510 drivers/base/dd.c:709 __device_attach_driver+0x5b8/0x790 drivers/base/dd.c:816 bus_for_each_drv+0x28e/0x3b0 drivers/base/bus.c:454 __device_attach+0x489/0x750 drivers/base/dd.c:882 device_initial_probe+0x4a/0x60 drivers/base/dd.c:929 bus_probe_device+0x131/0x390 drivers/base/bus.c:514 device_add+0x25b5/0x2df0 drivers/base/core.c:2165 usb_new_device+0x23e5/0x2fb0 drivers/usb/core/hub.c:2536 hub_port_connect drivers/usb/core/hub.c:5098 [inline] hub_port_connect_change drivers/usb/core/hub.c:5213 [inline] port_event drivers/usb/core/hub.c:5359 [inline] hub_event+0x581d/0x72f0 drivers/usb/core/hub.c:5441 process_one_work+0x1572/0x1ef0 kernel/workqueue.c:2269 worker_thread+0x111b/0x2460 kernel/workqueue.c:2415 kthread+0x4b5/0x4f0 kernel/kthread.c:256 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355 =====================================================