usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 2-1: config 0 descriptor?? Kernel panic - not syncing: corrupted stack end detected inside scheduler CPU: 1 PID: 917 Comm: kworker/1:2 Not tainted 6.10.0-rc3-syzkaller-g83a7eefedc9b #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: usb_hub_wq hub_event Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:129 [] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:135 [] __dump_stack lib/dump_stack.c:88 [inline] [] dump_stack_lvl+0x108/0x196 lib/dump_stack.c:114 [] dump_stack+0x1c/0x24 lib/dump_stack.c:123 [] panic+0x382/0x800 kernel/panic.c:347 [] schedule_debug kernel/sched/core.c:5962 [inline] [] __schedule+0x342e/0x3486 kernel/sched/core.c:6628 [] preempt_schedule_common kernel/sched/core.c:6924 [inline] [] preempt_schedule+0xd2/0x1e2 kernel/sched/core.c:6948 [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] [] _raw_spin_unlock_irqrestore+0xb4/0xd6 kernel/locking/spinlock.c:194 [] stack_depot_save_flags+0x3c6/0x8be lib/stackdepot.c:662 [] kasan_save_stack+0x52/0x6a mm/kasan/common.c:48 [] kasan_save_track+0x16/0x28 mm/kasan/common.c:68 [] kasan_save_alloc_info+0x30/0x3e mm/kasan/generic.c:565 [] poison_kmalloc_redzone mm/kasan/common.c:370 [inline] [] __kasan_kmalloc+0xa0/0xa6 mm/kasan/common.c:387 [] kasan_kmalloc include/linux/kasan.h:211 [inline] [] __do_kmalloc_node mm/slub.c:4122 [inline] [] kmalloc_node_track_caller_noprof+0x272/0x514 mm/slub.c:4142 [] alloc_dr drivers/base/devres.c:119 [inline] [] devm_kmalloc+0x9a/0x1fe drivers/base/devres.c:829 [] devm_kstrdup+0x40/0x78 drivers/base/devres.c:959 [] power_supply_add_hwmon_sysfs+0x27a/0x3d0 drivers/power/supply/power_supply_hwmon.c:385 [] __power_supply_register+0xc2c/0x12c6 drivers/power/supply/power_supply_core.c:1434 [] power_supply_register+0x28/0x36 drivers/power/supply/power_supply_core.c:1488 [] hidinput_setup_battery.isra.0+0x5be/0xb16 drivers/hid/hid-input.c:593 [] hidinput_configure_usage drivers/hid/hid-input.c:1006 [inline] [] hidinput_configure_usages drivers/hid/hid-input.c:2280 [inline] [] hidinput_connect+0x2fa0/0x8c4a drivers/hid/hid-input.c:2347 [] hid_connect+0x126a/0x16be drivers/hid/hid-core.c:2193 [] hid_hw_start drivers/hid/hid-core.c:2308 [inline] [] hid_hw_start+0xb6/0x13c drivers/hid/hid-core.c:2299 [] ms_probe+0x15e/0x4f2 drivers/hid/hid-microsoft.c:391 [] __hid_device_probe drivers/hid/hid-core.c:2632 [inline] [] hid_device_probe+0x2a4/0x3f2 drivers/hid/hid-core.c:2669 [] call_driver_probe drivers/base/dd.c:578 [inline] [] really_probe+0x232/0x9be drivers/base/dd.c:656 [] __driver_probe_device+0x1d4/0x3f2 drivers/base/dd.c:798 [] driver_probe_device+0x60/0x1ce drivers/base/dd.c:828 [] __device_attach_driver+0x1e2/0x2fc drivers/base/dd.c:956 [] bus_for_each_drv+0x142/0x1da drivers/base/bus.c:457 [] __device_attach+0x1c4/0x462 drivers/base/dd.c:1028 [] device_initial_probe+0x1c/0x26 drivers/base/dd.c:1077 [] bus_probe_device+0x15c/0x192 drivers/base/bus.c:532 [] device_add+0x10d8/0x181a drivers/base/core.c:3721 [] hid_add_device+0x374/0x9d8 drivers/hid/hid-core.c:2815 [] usbhid_probe+0xa52/0xf86 drivers/hid/usbhid/hid-core.c:1429 [] usb_probe_interface+0x2d8/0x8c6 drivers/usb/core/driver.c:399 [] call_driver_probe drivers/base/dd.c:578 [inline] [] really_probe+0x232/0x9be drivers/base/dd.c:656 [] __driver_probe_device+0x1d4/0x3f2 drivers/base/dd.c:798 [] driver_probe_device+0x60/0x1ce drivers/base/dd.c:828 [] __device_attach_driver+0x1e2/0x2fc drivers/base/dd.c:956 [] bus_for_each_drv+0x142/0x1da drivers/base/bus.c:457 [] __device_attach+0x1c4/0x462 drivers/base/dd.c:1028 [] device_initial_probe+0x1c/0x26 drivers/base/dd.c:1077 [] bus_probe_device+0x15c/0x192 drivers/base/bus.c:532 [] device_add+0x10d8/0x181a drivers/base/core.c:3721 [] usb_set_configuration+0xf08/0x19dc drivers/usb/core/message.c:2210 [] usb_generic_driver_probe+0xae/0x128 drivers/usb/core/generic.c:254 [] usb_probe_device+0xd6/0x360 drivers/usb/core/driver.c:294 [] call_driver_probe drivers/base/dd.c:578 [inline] [] really_probe+0x232/0x9be drivers/base/dd.c:656 [] __driver_probe_device+0x1d4/0x3f2 drivers/base/dd.c:798 [] driver_probe_device+0x60/0x1ce drivers/base/dd.c:828 [] __device_attach_driver+0x1e2/0x2fc drivers/base/dd.c:956 [] bus_for_each_drv+0x142/0x1da drivers/base/bus.c:457 [] __device_attach+0x1c4/0x462 drivers/base/dd.c:1028 [] device_initial_probe+0x1c/0x26 drivers/base/dd.c:1077 [] bus_probe_device+0x15c/0x192 drivers/base/bus.c:532 [] device_add+0x10d8/0x181a drivers/base/core.c:3721 [] usb_new_device+0x960/0x1750 drivers/usb/core/hub.c:2651 [] hub_port_connect drivers/usb/core/hub.c:5521 [inline] [] hub_port_connect_change drivers/usb/core/hub.c:5661 [inline] [] port_event drivers/usb/core/hub.c:5821 [inline] [] hub_event+0x2a2a/0x4a5c drivers/usb/core/hub.c:5903 [] process_one_work+0x938/0x1d5c kernel/workqueue.c:3231 [] process_scheduled_works kernel/workqueue.c:3312 [inline] [] worker_thread+0x5be/0xe24 kernel/workqueue.c:3393 [] kthread+0x28c/0x3a6 kernel/kthread.c:389 [] ret_from_fork+0xe/0x1c arch/riscv/kernel/entry.S:232 SMP: stopping secondary CPUs Rebooting in 86400 seconds..