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: 10238 Comm: kworker/1:4 Not tainted 6.10.0-rc3-syzkaller-g83a7eefedc9b #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: usb_hub_wq hub_event Call Trace: [<ffffffff8000f6f8>] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:129 [<ffffffff85c253c4>] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:135 [<ffffffff85c7f13c>] __dump_stack lib/dump_stack.c:88 [inline] [<ffffffff85c7f13c>] dump_stack_lvl+0x108/0x196 lib/dump_stack.c:114 [<ffffffff85c7f1e6>] dump_stack+0x1c/0x24 lib/dump_stack.c:123 [<ffffffff85c25f8a>] panic+0x382/0x800 kernel/panic.c:347 [<ffffffff85c8e0ec>] schedule_debug kernel/sched/core.c:5962 [inline] [<ffffffff85c8e0ec>] __schedule+0x342e/0x3486 kernel/sched/core.c:6628 [<ffffffff85c8e6a0>] preempt_schedule_common kernel/sched/core.c:6924 [inline] [<ffffffff85c8e6a0>] preempt_schedule+0xd2/0x1e2 kernel/sched/core.c:6948 [<ffffffff8088c986>] __slab_alloc.constprop.0+0x9c/0xb2 mm/slub.c:3759 [<ffffffff8088d808>] __slab_alloc_node mm/slub.c:3810 [inline] [<ffffffff8088d808>] slab_alloc_node mm/slub.c:3989 [inline] [<ffffffff8088d808>] kmem_cache_alloc_noprof+0x274/0x300 mm/slub.c:4008 [<ffffffff80c0a4ce>] __kernfs_new_node+0xfa/0x8ee fs/kernfs/dir.c:624 [<ffffffff80c0f2e4>] kernfs_new_node+0x14e/0x200 fs/kernfs/dir.c:700 [<ffffffff80c16158>] __kernfs_create_file+0x4e/0x33a fs/kernfs/file.c:1034 [<ffffffff80c18c5a>] sysfs_add_file_mode_ns+0x1be/0x34c fs/sysfs/file.c:307 [<ffffffff80c1b618>] create_files fs/sysfs/group.c:76 [inline] [<ffffffff80c1b618>] internal_create_group+0x4ca/0xd22 fs/sysfs/group.c:180 [<ffffffff80c1bf52>] internal_create_groups+0x86/0x13a fs/sysfs/group.c:220 [<ffffffff80c1c028>] sysfs_create_groups+0x22/0x2e fs/sysfs/group.c:246 [<ffffffff82727d74>] device_add_groups drivers/base/core.c:2823 [inline] [<ffffffff82727d74>] device_add_attrs drivers/base/core.c:2943 [inline] [<ffffffff82727d74>] device_add+0xe90/0x181a drivers/base/core.c:3675 [<ffffffff827769c2>] wakeup_source_device_create+0x1fc/0x270 drivers/base/power/wakeup_stats.c:161 [<ffffffff82776f36>] wakeup_source_sysfs_add+0x20/0x86 drivers/base/power/wakeup_stats.c:181 [<ffffffff82773260>] wakeup_source_register+0xb6/0x14e drivers/base/power/wakeup.c:223 [<ffffffff82774cb6>] device_wakeup_enable+0xf8/0x2d6 drivers/base/power/wakeup.c:343 [<ffffffff83ae3180>] device_init_wakeup include/linux/pm_wakeup.h:236 [inline] [<ffffffff83ae3180>] device_init_wakeup include/linux/pm_wakeup.h:232 [inline] [<ffffffff83ae3180>] __power_supply_register+0xecc/0x12c6 drivers/power/supply/power_supply_core.c:1422 [<ffffffff83ae35a2>] power_supply_register+0x28/0x36 drivers/power/supply/power_supply_core.c:1488 [<ffffffff8425656e>] hidinput_setup_battery.isra.0+0x5be/0xb16 drivers/hid/hid-input.c:593 [<ffffffff8425b9e4>] hidinput_configure_usage drivers/hid/hid-input.c:1006 [inline] [<ffffffff8425b9e4>] hidinput_configure_usages drivers/hid/hid-input.c:2280 [inline] [<ffffffff8425b9e4>] hidinput_connect+0x2fa0/0x8c4a drivers/hid/hid-input.c:2347 [<ffffffff8424ea3a>] hid_connect+0x126a/0x16be drivers/hid/hid-core.c:2193 [<ffffffff8424ef44>] hid_hw_start drivers/hid/hid-core.c:2308 [inline] [<ffffffff8424ef44>] hid_hw_start+0xb6/0x13c drivers/hid/hid-core.c:2299 [<ffffffff842d9a98>] ms_probe+0x15e/0x4f2 drivers/hid/hid-microsoft.c:391 [<ffffffff8424f5f2>] __hid_device_probe drivers/hid/hid-core.c:2632 [inline] [<ffffffff8424f5f2>] hid_device_probe+0x2a4/0x3f2 drivers/hid/hid-core.c:2669 [<ffffffff82732142>] call_driver_probe drivers/base/dd.c:578 [inline] [<ffffffff82732142>] really_probe+0x232/0x9be drivers/base/dd.c:656 [<ffffffff82732aa2>] __driver_probe_device+0x1d4/0x3f2 drivers/base/dd.c:798 [<ffffffff82732d20>] driver_probe_device+0x60/0x1ce drivers/base/dd.c:828 [<ffffffff82733070>] __device_attach_driver+0x1e2/0x2fc drivers/base/dd.c:956 [<ffffffff8272c9ae>] bus_for_each_drv+0x142/0x1da drivers/base/bus.c:457 [<ffffffff82733c92>] __device_attach+0x1c4/0x462 drivers/base/dd.c:1028 [<ffffffff827342b8>] device_initial_probe+0x1c/0x26 drivers/base/dd.c:1077 [<ffffffff8272f430>] bus_probe_device+0x15c/0x192 drivers/base/bus.c:532 [<ffffffff82727fbc>] device_add+0x10d8/0x181a drivers/base/core.c:3721 [<ffffffff84248894>] hid_add_device+0x374/0x9d8 drivers/hid/hid-core.c:2815 [<ffffffff8439b680>] usbhid_probe+0xa52/0xf86 drivers/hid/usbhid/hid-core.c:1429 [<ffffffff832d2ffa>] usb_probe_interface+0x2d8/0x8c6 drivers/usb/core/driver.c:399 [<ffffffff82732142>] call_driver_probe drivers/base/dd.c:578 [inline] [<ffffffff82732142>] really_probe+0x232/0x9be drivers/base/dd.c:656 [<ffffffff82732aa2>] __driver_probe_device+0x1d4/0x3f2 drivers/base/dd.c:798 [<ffffffff82732d20>] driver_probe_device+0x60/0x1ce drivers/base/dd.c:828 [<ffffffff82733070>] __device_attach_driver+0x1e2/0x2fc drivers/base/dd.c:956 [<ffffffff8272c9ae>] bus_for_each_drv+0x142/0x1da drivers/base/bus.c:457 [<ffffffff82733c92>] __device_attach+0x1c4/0x462 drivers/base/dd.c:1028 [<ffffffff827342b8>] device_initial_probe+0x1c/0x26 drivers/base/dd.c:1077 [<ffffffff8272f430>] bus_probe_device+0x15c/0x192 drivers/base/bus.c:532 [<ffffffff82727fbc>] device_add+0x10d8/0x181a drivers/base/core.c:3721 [<ffffffff832cc930>] usb_set_configuration+0xf08/0x19dc drivers/usb/core/message.c:2210 [<ffffffff832f4356>] usb_generic_driver_probe+0xae/0x128 drivers/usb/core/generic.c:254 [<ffffffff832ce5ca>] usb_probe_device+0xd6/0x360 drivers/usb/core/driver.c:294 [<ffffffff82732142>] call_driver_probe drivers/base/dd.c:578 [inline] [<ffffffff82732142>] really_probe+0x232/0x9be drivers/base/dd.c:656 [<ffffffff82732aa2>] __driver_probe_device+0x1d4/0x3f2 drivers/base/dd.c:798 [<ffffffff82732d20>] driver_probe_device+0x60/0x1ce drivers/base/dd.c:828 [<ffffffff82733070>] __device_attach_driver+0x1e2/0x2fc drivers/base/dd.c:956 [<ffffffff8272c9ae>] bus_for_each_drv+0x142/0x1da drivers/base/bus.c:457 [<ffffffff82733c92>] __device_attach+0x1c4/0x462 drivers/base/dd.c:1028 [<ffffffff827342b8>] device_initial_probe+0x1c/0x26 drivers/base/dd.c:1077 [<ffffffff8272f430>] bus_probe_device+0x15c/0x192 drivers/base/bus.c:532 [<ffffffff82727fbc>] device_add+0x10d8/0x181a drivers/base/core.c:3721 [<ffffffff832a86be>] usb_new_device+0x960/0x1750 drivers/usb/core/hub.c:2651 [<ffffffff832aece6>] hub_port_connect drivers/usb/core/hub.c:5521 [inline] [<ffffffff832aece6>] hub_port_connect_change drivers/usb/core/hub.c:5661 [inline] [<ffffffff832aece6>] port_event drivers/usb/core/hub.c:5821 [inline] [<ffffffff832aece6>] hub_event+0x2a2a/0x4a5c drivers/usb/core/hub.c:5903 [<ffffffff8012d21a>] process_one_work+0x938/0x1d5c kernel/workqueue.c:3231 [<ffffffff8012ebfc>] process_scheduled_works kernel/workqueue.c:3312 [inline] [<ffffffff8012ebfc>] worker_thread+0x5be/0xe24 kernel/workqueue.c:3393 [<ffffffff8014d7e4>] kthread+0x28c/0x3a6 kernel/kthread.c:389 [<ffffffff85ca3e22>] ret_from_fork+0xe/0x1c arch/riscv/kernel/entry.S:232 SMP: stopping secondary CPUs Rebooting in 86400 seconds..