imon 1-1:1.0: unable to register, err -19 usb 1-1: 2:1 : UAC_AS_GENERAL descriptor not found ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 0 PID: 7 at kernel/locking/mutex.c:582 __mutex_lock_common+0x1660/0x21a0 kernel/locking/mutex.c:582 Modules linked in: CPU: 0 PID: 7 Comm: kworker/0:0 Not tainted 6.1.33-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: usb_hub_wq hub_event pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __mutex_lock_common+0x1660/0x21a0 kernel/locking/mutex.c:582 lr : __mutex_lock_common+0x1660/0x21a0 kernel/locking/mutex.c:582 sp : ffff800019b66880 x29: ffff800019b66a10 x28: dfff800000000000 x27: 1ffff000032bc6fc x26: ffff8000195e3000 x25: ffff70000336cd2c x24: 0000000000000000 x23: 0000000000000000 x22: ffff80000e62bc44 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0000df5d4ed8 x18: 0000000000000140 x17: 0000000000000000 x16: ffff800012102bf4 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: ff808000081af018 x10: 0000000000000000 x9 : da2e81c869809200 x8 : da2e81c869809200 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800019b66178 x4 : ffff8000156a2a40 x3 : ffff8000085879f4 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: __mutex_lock_common+0x1660/0x21a0 kernel/locking/mutex.c:582 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 imon_init_intf1 drivers/media/rc/imon.c:2321 [inline] imon_probe+0x1f4/0x2694 drivers/media/rc/imon.c:2449 usb_probe_interface+0x500/0x984 drivers/usb/core/driver.c:396 really_probe+0x394/0xacc drivers/base/dd.c:639 __driver_probe_device+0x194/0x3b4 drivers/base/dd.c:783 driver_probe_device+0x78/0x330 drivers/base/dd.c:813 __device_attach_driver+0x2a8/0x4f4 drivers/base/dd.c:941 bus_for_each_drv+0x158/0x1e0 drivers/base/bus.c:427 __device_attach+0x2f0/0x480 drivers/base/dd.c:1013 device_initial_probe+0x24/0x34 drivers/base/dd.c:1062 bus_probe_device+0xbc/0x1c8 drivers/base/bus.c:487 device_add+0xae0/0xef4 drivers/base/core.c:3664 usb_set_configuration+0x15c0/0x1b40 drivers/usb/core/message.c:2170 usb_generic_driver_probe+0x8c/0x148 drivers/usb/core/generic.c:238 usb_probe_device+0x120/0x25c drivers/usb/core/driver.c:293 really_probe+0x394/0xacc drivers/base/dd.c:639 __driver_probe_device+0x194/0x3b4 drivers/base/dd.c:783 driver_probe_device+0x78/0x330 drivers/base/dd.c:813 __device_attach_driver+0x2a8/0x4f4 drivers/base/dd.c:941 bus_for_each_drv+0x158/0x1e0 drivers/base/bus.c:427 __device_attach+0x2f0/0x480 drivers/base/dd.c:1013 device_initial_probe+0x24/0x34 drivers/base/dd.c:1062 bus_probe_device+0xbc/0x1c8 drivers/base/bus.c:487 device_add+0xae0/0xef4 drivers/base/core.c:3664 usb_new_device+0x904/0x142c drivers/usb/core/hub.c:2575 hub_port_connect drivers/usb/core/hub.c:5355 [inline] hub_port_connect_change drivers/usb/core/hub.c:5499 [inline] port_event drivers/usb/core/hub.c:5655 [inline] hub_event+0x23dc/0x44a0 drivers/usb/core/hub.c:5737 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2289 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 15759 hardirqs last enabled at (15759): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (15759): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (15758): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (15758): [] _raw_spin_lock_irqsave+0xa4/0xb4 kernel/locking/spinlock.c:162 softirqs last enabled at (15488): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (15488): [] __do_softirq+0xc14/0xea0 kernel/softirq.c:600 softirqs last disabled at (15385): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]--- ================================================================== BUG: KASAN: slab-out-of-bounds in imon_init_intf1 drivers/media/rc/imon.c:2323 [inline] BUG: KASAN: slab-out-of-bounds in imon_probe+0x1ebc/0x2694 drivers/media/rc/imon.c:2449 Read of size 1 at addr ffff0000df5d5101 by task kworker/0:0/7 CPU: 0 PID: 7 Comm: kworker/0:0 Tainted: G W 6.1.33-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: usb_hub_wq hub_event Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:284 [inline] print_report+0x174/0x4c0 mm/kasan/report.c:395 kasan_report+0xd4/0x130 mm/kasan/report.c:495 __asan_report_load1_noabort+0x2c/0x38 mm/kasan/report_generic.c:348 imon_init_intf1 drivers/media/rc/imon.c:2323 [inline] imon_probe+0x1ebc/0x2694 drivers/media/rc/imon.c:2449 usb_probe_interface+0x500/0x984 drivers/usb/core/driver.c:396 really_probe+0x394/0xacc drivers/base/dd.c:639 __driver_probe_device+0x194/0x3b4 drivers/base/dd.c:783 driver_probe_device+0x78/0x330 drivers/base/dd.c:813 __device_attach_driver+0x2a8/0x4f4 drivers/base/dd.c:941 bus_for_each_drv+0x158/0x1e0 drivers/base/bus.c:427 __device_attach+0x2f0/0x480 drivers/base/dd.c:1013 device_initial_probe+0x24/0x34 drivers/base/dd.c:1062 bus_probe_device+0xbc/0x1c8 drivers/base/bus.c:487 device_add+0xae0/0xef4 drivers/base/core.c:3664 usb_set_configuration+0x15c0/0x1b40 drivers/usb/core/message.c:2170 usb_generic_driver_probe+0x8c/0x148 drivers/usb/core/generic.c:238 usb_probe_device+0x120/0x25c drivers/usb/core/driver.c:293 really_probe+0x394/0xacc drivers/base/dd.c:639 __driver_probe_device+0x194/0x3b4 drivers/base/dd.c:783 driver_probe_device+0x78/0x330 drivers/base/dd.c:813 __device_attach_driver+0x2a8/0x4f4 drivers/base/dd.c:941 bus_for_each_drv+0x158/0x1e0 drivers/base/bus.c:427 __device_attach+0x2f0/0x480 drivers/base/dd.c:1013 device_initial_probe+0x24/0x34 drivers/base/dd.c:1062 bus_probe_device+0xbc/0x1c8 drivers/base/bus.c:487 device_add+0xae0/0xef4 drivers/base/core.c:3664 usb_new_device+0x904/0x142c drivers/usb/core/hub.c:2575 hub_port_connect drivers/usb/core/hub.c:5355 [inline] hub_port_connect_change drivers/usb/core/hub.c:5499 [inline] port_event drivers/usb/core/hub.c:5655 [inline] hub_event+0x23dc/0x44a0 drivers/usb/core/hub.c:5737 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2289 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 Allocated by task 7: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:52 kasan_save_alloc_info+0x24/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:374 [inline] __kasan_kmalloc+0xac/0xc4 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:955 [inline] __kmalloc+0xd8/0x1c4 mm/slab_common.c:968 kmalloc include/linux/slab.h:558 [inline] kzalloc include/linux/slab.h:689 [inline] snd_card_new+0x74/0x10c sound/core/init.c:176 snd_usb_audio_create+0x1a8/0x1028 sound/usb/card.c:621 usb_audio_probe+0x1100/0x1c84 sound/usb/card.c:826 usb_probe_interface+0x500/0x984 drivers/usb/core/driver.c:396 really_probe+0x394/0xacc drivers/base/dd.c:639 __driver_probe_device+0x194/0x3b4 drivers/base/dd.c:783 driver_probe_device+0x78/0x330 drivers/base/dd.c:813 __device_attach_driver+0x2a8/0x4f4 drivers/base/dd.c:941 bus_for_each_drv+0x158/0x1e0 drivers/base/bus.c:427 __device_attach+0x2f0/0x480 drivers/base/dd.c:1013 device_initial_probe+0x24/0x34 drivers/base/dd.c:1062 bus_probe_device+0xbc/0x1c8 drivers/base/bus.c:487 device_add+0xae0/0xef4 drivers/base/core.c:3664 usb_set_configuration+0x15c0/0x1b40 drivers/usb/core/message.c:2170 usb_generic_driver_probe+0x8c/0x148 drivers/usb/core/generic.c:238 usb_probe_device+0x120/0x25c drivers/usb/core/driver.c:293 really_probe+0x394/0xacc drivers/base/dd.c:639 __driver_probe_device+0x194/0x3b4 drivers/base/dd.c:783 driver_probe_device+0x78/0x330 drivers/base/dd.c:813 __device_attach_driver+0x2a8/0x4f4 drivers/base/dd.c:941 bus_for_each_drv+0x158/0x1e0 drivers/base/bus.c:427 __device_attach+0x2f0/0x480 drivers/base/dd.c:1013 device_initial_probe+0x24/0x34 drivers/base/dd.c:1062 bus_probe_device+0xbc/0x1c8 drivers/base/bus.c:487 device_add+0xae0/0xef4 drivers/base/core.c:3664 usb_new_device+0x904/0x142c drivers/usb/core/hub.c:2575 hub_port_connect drivers/usb/core/hub.c:5355 [inline] hub_port_connect_change drivers/usb/core/hub.c:5499 [inline] port_event drivers/usb/core/hub.c:5655 [inline] hub_event+0x23dc/0x44a0 drivers/usb/core/hub.c:5737 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2289 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 The buggy address belongs to the object at ffff0000df5d4000 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 4353 bytes inside of 8192-byte region [ffff0000df5d4000, ffff0000df5d6000) The buggy address belongs to the physical page: page:000000003335de63 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11f5d0 head:000000003335de63 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 0000000000000000 dead000000000001 ffff0000c0002c00 raw: 0000000000000000 0000000000020002 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000df5d5000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000df5d5080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc fc >ffff0000df5d5100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff0000df5d5180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000df5d5200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== imon:imon_find_endpoints: no valid input (IR) endpoint found (NULL device *): unable to initialize intf1, err -19 imon:imon_probe: failed to attach to context! imon 1-1:1.1: unable to register, err -19 usb 1-1: USB disconnect, device number 2