radio-si470x 1-1:0.128: non-zero urb status (-71) usb 1-1:0.128: non-zero urb status (-71) ================================================================== BUG: KMSAN: uninit-value in dummy_timer+0x8d3/0x6770 drivers/usb/gadget/udc/dummy_hcd.c:1821 CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.2.0+ #15 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x191/0x1f0 lib/dump_stack.c:113 kmsan_report+0x162/0x2d0 mm/kmsan/kmsan_report.c:109 __msan_warning+0x75/0xe0 mm/kmsan/kmsan_instr.c:294 dummy_timer+0x8d3/0x6770 drivers/usb/gadget/udc/dummy_hcd.c:1821 call_timer_fn+0x222/0x520 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+0x4ad/0x858 kernel/softirq.c:293 invoke_softirq kernel/softirq.c:375 [inline] irq_exit+0x238/0x290 kernel/softirq.c:416 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:536 smp_apic_timer_interrupt+0x48/0x70 arch/x86/kernel/apic/apic.c:1070 apic_timer_interrupt+0x2e/0x40 arch/x86/entry/entry_64.S:813 RIP: 0010:__msan_chain_origin+0x8c/0xe0 mm/kmsan/kmsan_instr.c:191 Code: 4a 44 89 f7 e8 95 e7 ff ff 89 c3 65 ff 0d c0 62 03 7e 65 8b 05 b9 62 03 7e 85 c0 75 30 e8 6c ae 3b ff 4c 89 7d d0 ff 75 d0 9d <65> 48 8b 04 25 28 00 00 00 48 3b 45 e0 75 0d 89 d8 48 83 c4 18 5b RSP: 0018:ffff88812807f2f0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 00000000d9a0022c RCX: 4662c554bb778100 RDX: ffffffff902b2000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff88812807f320 R08: 0000000000000096 R09: ffff88812fc413d0 R10: 0000000000000003 R11: ffffffff8180b190 R12: ffff8880af92e801 R13: ffff888107d07400 R14: 00000000d4c0022c R15: 0000000000000246 __skb_clone+0x863/0x970 net/core/skbuff.c:899 skb_clone+0x402/0x5d0 net/core/skbuff.c:1328 do_one_broadcast net/netlink/af_netlink.c:1440 [inline] netlink_broadcast_filtered+0xbec/0x1c10 net/netlink/af_netlink.c:1515 netlink_broadcast+0xf6/0x110 net/netlink/af_netlink.c:1539 uevent_net_broadcast_untagged lib/kobject_uevent.c:330 [inline] kobject_uevent_net_broadcast lib/kobject_uevent.c:408 [inline] kobject_uevent_env+0x1c4e/0x27c0 lib/kobject_uevent.c:592 kobject_uevent+0x6f/0x80 lib/kobject_uevent.c:641 device_del+0x1b5c/0x1c50 drivers/base/core.c:2284 usb_disable_device+0x567/0x1150 drivers/usb/core/message.c:1241 usb_disconnect+0x51e/0xd60 drivers/usb/core/hub.c:2197 hub_port_connect drivers/usb/core/hub.c:4940 [inline] hub_port_connect_change drivers/usb/core/hub.c:5204 [inline] port_event drivers/usb/core/hub.c:5350 [inline] hub_event+0x4003/0x7320 drivers/usb/core/hub.c:5432 process_one_work+0x1572/0x1f00 kernel/workqueue.c:2269 process_scheduled_works kernel/workqueue.c:2331 [inline] worker_thread+0x189c/0x2460 kernel/workqueue.c:2417 kthread+0x4b5/0x4f0 kernel/kthread.c:256 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:187 [inline] kmsan_internal_chain_origin+0xcc/0x150 mm/kmsan/kmsan.c:345 __msan_chain_origin+0x6b/0xe0 mm/kmsan/kmsan_instr.c:190 dummy_urb_enqueue+0x604/0xe10 drivers/usb/gadget/udc/dummy_hcd.c:1252 usb_hcd_submit_urb+0x672/0x38d0 drivers/usb/core/hcd.c:1656 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:1758 usb_hcd_giveback_urb+0x189/0x670 drivers/usb/core/hcd.c:1823 dummy_timer+0xab0/0x6770 drivers/usb/gadget/udc/dummy_hcd.c:1965 call_timer_fn+0x222/0x520 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+0x4ad/0x858 kernel/softirq.c:293 invoke_softirq kernel/softirq.c:375 [inline] irq_exit+0x238/0x290 kernel/softirq.c:416 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:536 smp_apic_timer_interrupt+0x48/0x70 arch/x86/kernel/apic/apic.c:1070 apic_timer_interrupt+0x2e/0x40 arch/x86/entry/entry_64.S:813 native_restore_fl arch/x86/include/asm/irqflags.h:41 [inline] console_unlock+0x1936/0x1cd0 arch/x86/include/asm/irqflags.h:84 vprintk_emit+0x47a/0x8a0 kernel/printk/printk.c:1998 vprintk_default+0x90/0xa0 kernel/printk/printk.c:2025 vprintk_func+0x635/0x810 kernel/printk/printk_safe.c:386 printk+0x180/0x1c3 kernel/printk/printk.c:2058 really_probe+0x1b28/0x1d90 drivers/base/dd.c:577 driver_probe_device+0x1ba/0x510 drivers/base/dd.c:670 __device_attach_driver+0x5b8/0x790 drivers/base/dd.c:777 bus_for_each_drv+0x28e/0x3b0 drivers/base/bus.c:454 __device_attach+0x489/0x750 drivers/base/dd.c:843 device_initial_probe+0x4a/0x60 drivers/base/dd.c:890 bus_probe_device+0x131/0x390 drivers/base/bus.c:514 device_add+0x25b5/0x2df0 drivers/base/core.c:2111 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+0x1344/0x1d90 drivers/base/dd.c:513 driver_probe_device+0x1ba/0x510 drivers/base/dd.c:670 __device_attach_driver+0x5b8/0x790 drivers/base/dd.c:777 bus_for_each_drv+0x28e/0x3b0 drivers/base/bus.c:454 __device_attach+0x489/0x750 drivers/base/dd.c:843 device_initial_probe+0x4a/0x60 drivers/base/dd.c:890 bus_probe_device+0x131/0x390 drivers/base/bus.c:514 device_add+0x25b5/0x2df0 drivers/base/core.c:2111 usb_new_device+0x23e5/0x2fb0 drivers/usb/core/hub.c:2534 hub_port_connect drivers/usb/core/hub.c:5089 [inline] hub_port_connect_change drivers/usb/core/hub.c:5204 [inline] port_event drivers/usb/core/hub.c:5350 [inline] hub_event+0x5853/0x7320 drivers/usb/core/hub.c:5432 process_one_work+0x1572/0x1f00 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:187 [inline] kmsan_internal_poison_shadow+0x53/0xa0 mm/kmsan/kmsan.c:146 kmsan_slab_free+0x8d/0x100 mm/kmsan/kmsan_hooks.c:195 slab_free_freelist_hook mm/slub.c:1449 [inline] slab_free mm/slub.c:3019 [inline] kfree+0x4b2/0x2960 mm/slub.c:3975 si470x_usb_driver_probe+0xa6f/0x31d0 drivers/media/radio/si470x/radio-si470x-usb.c:764 usb_probe_interface+0xd19/0x1310 drivers/usb/core/driver.c:361 really_probe+0x1344/0x1d90 drivers/base/dd.c:513 driver_probe_device+0x1ba/0x510 drivers/base/dd.c:670 __device_attach_driver+0x5b8/0x790 drivers/base/dd.c:777 bus_for_each_drv+0x28e/0x3b0 drivers/base/bus.c:454 __device_attach+0x489/0x750 drivers/base/dd.c:843 device_initial_probe+0x4a/0x60 drivers/base/dd.c:890 bus_probe_device+0x131/0x390 drivers/base/bus.c:514 device_add+0x25b5/0x2df0 drivers/base/core.c:2111 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+0x1344/0x1d90 drivers/base/dd.c:513 driver_probe_device+0x1ba/0x510 drivers/base/dd.c:670 __device_attach_driver+0x5b8/0x790 drivers/base/dd.c:777 bus_for_each_drv+0x28e/0x3b0 drivers/base/bus.c:454 __device_attach+0x489/0x750 drivers/base/dd.c:843 device_initial_probe+0x4a/0x60 drivers/base/dd.c:890 bus_probe_device+0x131/0x390 drivers/base/bus.c:514 device_add+0x25b5/0x2df0 drivers/base/core.c:2111 usb_new_device+0x23e5/0x2fb0 drivers/usb/core/hub.c:2534 hub_port_connect drivers/usb/core/hub.c:5089 [inline] hub_port_connect_change drivers/usb/core/hub.c:5204 [inline] port_event drivers/usb/core/hub.c:5350 [inline] hub_event+0x5853/0x7320 drivers/usb/core/hub.c:5432 process_one_work+0x1572/0x1f00 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 ==================================================================