syzbot


kernel panic: corrupted stack end in hub_event (3)

Status: auto-obsoleted due to no activity on 2024/12/09 02:17
Subsystems: kernfs
[Documentation on labels]
Reported-by: syzbot+fda41ea3324f13031be5@syzkaller.appspotmail.com
First crash: 196d, last: 73d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [hwmon?] kernel panic: corrupted stack end in hub_event (3) 0 (1) 2024/06/03 05:27
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel panic: corrupted stack end in hub_event kernfs 93 665d 1010d 22/28 fixed on 2023/02/24 13:50
upstream kernel panic: corrupted stack end in hub_event (2) kernel 2 305d 309d 0/28 auto-obsoleted due to no activity on 2024/05/21 18:53

Sample crash report:
usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 2-1: config 0 descriptor??
input: HID 045e:07da as /devices/platform/dummy_hcd.1/usb2/2-1/2-1:0.0/0003:045E:07DA.0007/input/input3
Kernel panic - not syncing: corrupted stack end detected inside scheduler
CPU: 1 UID: 0 PID: 3338 Comm: kworker/1:1 Not tainted 6.11.0-rc2-syzkaller-g7c1e5b9690b0 #0
Hardware name: riscv-virtio,qemu (DT)
Workqueue: usb_hub_wq hub_event
Call Trace:
[<ffffffff80010216>] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:130
[<ffffffff85edbd86>] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:136
[<ffffffff85f3735e>] __dump_stack lib/dump_stack.c:93 [inline]
[<ffffffff85f3735e>] dump_stack_lvl+0x108/0x196 lib/dump_stack.c:119
[<ffffffff85f37408>] dump_stack+0x1c/0x24 lib/dump_stack.c:128
[<ffffffff85edc94a>] panic+0x388/0x806 kernel/panic.c:348
[<ffffffff85f4554a>] schedule_debug kernel/sched/core.c:5745 [inline]
[<ffffffff85f4554a>] __schedule+0x3230/0x3288 kernel/sched/core.c:6411
[<ffffffff85f45a6c>] preempt_schedule_common kernel/sched/core.c:6708 [inline]
[<ffffffff85f45a6c>] preempt_schedule+0xd2/0x1e2 kernel/sched/core.c:6732
[<ffffffff8089b348>] ___slab_alloc+0xbc8/0x100a mm/slub.c:3722
[<ffffffff8089bfe2>] __slab_alloc.constprop.0+0x60/0xb2 mm/slub.c:3813
[<ffffffff8089c61e>] __slab_alloc_node mm/slub.c:3866 [inline]
[<ffffffff8089c61e>] slab_alloc_node mm/slub.c:4025 [inline]
[<ffffffff8089c61e>] __kmalloc_cache_noprof+0x28a/0x316 mm/slub.c:4184
[<ffffffff85e5e3c0>] kmalloc_noprof include/linux/slab.h:681 [inline]
[<ffffffff85e5e3c0>] kzalloc_noprof include/linux/slab.h:807 [inline]
[<ffffffff85e5e3c0>] kobject_uevent_env+0x23c/0x14e2 lib/kobject_uevent.c:540
[<ffffffff85e5f688>] kobject_uevent+0x22/0x2e lib/kobject_uevent.c:656
[<ffffffff82798a8e>] device_add+0x107e/0x181a drivers/base/core.c:3660
[<ffffffff809f2e82>] cdev_device_add+0x130/0x258 fs/char_dev.c:556
[<ffffffff83b66e9a>] evdev_connect+0x36c/0x46e drivers/input/evdev.c:1377
[<ffffffff83b48052>] input_attach_handler.isra.0+0x16e/0x23a drivers/input/input.c:1027
[<ffffffff83b4bd34>] input_register_device+0xcb8/0xec8 drivers/input/input.c:2473
[<ffffffff84466ba0>] hidinput_connect+0x4db4/0x8c4a drivers/hid/hid-input.c:2370
[<ffffffff84457b68>] hid_connect+0x126a/0x16be drivers/hid/hid-core.c:2209
[<ffffffff84458072>] hid_hw_start drivers/hid/hid-core.c:2324 [inline]
[<ffffffff84458072>] hid_hw_start+0xb6/0x13c drivers/hid/hid-core.c:2315
[<ffffffff844f7752>] ms_probe+0x15e/0x4f2 drivers/hid/hid-microsoft.c:391
[<ffffffff84458720>] __hid_device_probe drivers/hid/hid-core.c:2674 [inline]
[<ffffffff84458720>] hid_device_probe+0x2a4/0x3f2 drivers/hid/hid-core.c:2711
[<ffffffff827a2c72>] call_driver_probe drivers/base/dd.c:578 [inline]
[<ffffffff827a2c72>] really_probe+0x232/0x9be drivers/base/dd.c:657
[<ffffffff827a35d2>] __driver_probe_device+0x1d4/0x3f2 drivers/base/dd.c:799
[<ffffffff827a3850>] driver_probe_device+0x60/0x1ce drivers/base/dd.c:829
[<ffffffff827a3ba0>] __device_attach_driver+0x1e2/0x2fc drivers/base/dd.c:957
[<ffffffff8279d4de>] bus_for_each_drv+0x142/0x1da drivers/base/bus.c:457
[<ffffffff827a47c2>] __device_attach+0x1c4/0x462 drivers/base/dd.c:1029
[<ffffffff827a4de8>] device_initial_probe+0x1c/0x26 drivers/base/dd.c:1078
[<ffffffff8279ff60>] bus_probe_device+0x15c/0x192 drivers/base/bus.c:532
[<ffffffff82798ae8>] device_add+0x10d8/0x181a drivers/base/core.c:3679
[<ffffffff8445170c>] hid_add_device+0x374/0x9d8 drivers/hid/hid-core.c:2857
[<ffffffff845df472>] usbhid_probe+0xa6c/0xfa2 drivers/hid/usbhid/hid-core.c:1431
[<ffffffff833b9a9e>] usb_probe_interface+0x2d8/0x8c6 drivers/usb/core/driver.c:399
[<ffffffff827a2c72>] call_driver_probe drivers/base/dd.c:578 [inline]
[<ffffffff827a2c72>] really_probe+0x232/0x9be drivers/base/dd.c:657
[<ffffffff827a35d2>] __driver_probe_device+0x1d4/0x3f2 drivers/base/dd.c:799
[<ffffffff827a3850>] driver_probe_device+0x60/0x1ce drivers/base/dd.c:829
[<ffffffff827a3ba0>] __device_attach_driver+0x1e2/0x2fc drivers/base/dd.c:957
[<ffffffff8279d4de>] bus_for_each_drv+0x142/0x1da drivers/base/bus.c:457
[<ffffffff827a47c2>] __device_attach+0x1c4/0x462 drivers/base/dd.c:1029
[<ffffffff827a4de8>] device_initial_probe+0x1c/0x26 drivers/base/dd.c:1078
[<ffffffff8279ff60>] bus_probe_device+0x15c/0x192 drivers/base/bus.c:532
[<ffffffff82798ae8>] device_add+0x10d8/0x181a drivers/base/core.c:3679
[<ffffffff833b3310>] usb_set_configuration+0xf08/0x19dc drivers/usb/core/message.c:2210
[<ffffffff833db0d6>] usb_generic_driver_probe+0xae/0x128 drivers/usb/core/generic.c:254
[<ffffffff833b506e>] usb_probe_device+0xd6/0x360 drivers/usb/core/driver.c:294
[<ffffffff827a2c72>] call_driver_probe drivers/base/dd.c:578 [inline]
[<ffffffff827a2c72>] really_probe+0x232/0x9be drivers/base/dd.c:657
[<ffffffff827a35d2>] __driver_probe_device+0x1d4/0x3f2 drivers/base/dd.c:799
[<ffffffff827a3850>] driver_probe_device+0x60/0x1ce drivers/base/dd.c:829
[<ffffffff827a3ba0>] __device_attach_driver+0x1e2/0x2fc drivers/base/dd.c:957
[<ffffffff8279d4de>] bus_for_each_drv+0x142/0x1da drivers/base/bus.c:457
[<ffffffff827a47c2>] __device_attach+0x1c4/0x462 drivers/base/dd.c:1029
[<ffffffff827a4de8>] device_initial_probe+0x1c/0x26 drivers/base/dd.c:1078
[<ffffffff8279ff60>] bus_probe_device+0x15c/0x192 drivers/base/bus.c:532
[<ffffffff82798ae8>] device_add+0x10d8/0x181a drivers/base/core.c:3679
[<ffffffff8338ef76>] usb_new_device+0x960/0x1750 drivers/usb/core/hub.c:2651
[<ffffffff8339559e>] hub_port_connect drivers/usb/core/hub.c:5521 [inline]
[<ffffffff8339559e>] hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
[<ffffffff8339559e>] port_event drivers/usb/core/hub.c:5821 [inline]
[<ffffffff8339559e>] hub_event+0x2a2a/0x4a5c drivers/usb/core/hub.c:5903
[<ffffffff80133032>] process_one_work+0x938/0x1d5c kernel/workqueue.c:3231
[<ffffffff80134a14>] process_scheduled_works kernel/workqueue.c:3312 [inline]
[<ffffffff80134a14>] worker_thread+0x5be/0xddc kernel/workqueue.c:3390
[<ffffffff8015372c>] kthread+0x28c/0x3a6 kernel/kthread.c:389
[<ffffffff85f5bb82>] ret_from_fork+0xe/0x1c arch/riscv/kernel/entry.S:239
SMP: stopping secondary CPUs
Rebooting in 86400 seconds..

Crashes (48):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/30 02:16 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7c1e5b9690b0 ba29ff75 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/08/02 04:25 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c562ba719df5 1e9c4cf3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/08/02 00:51 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c562ba719df5 1e9c4cf3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/07/31 00:03 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c562ba719df5 3d5fb491 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/07/29 04:41 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c562ba719df5 46eb10b7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/07/28 23:58 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c562ba719df5 46eb10b7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/07/28 13:23 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c562ba719df5 46eb10b7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/07/28 07:58 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c562ba719df5 46eb10b7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/07/28 05:23 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c562ba719df5 46eb10b7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/07/27 19:14 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c562ba719df5 46eb10b7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/07/27 19:02 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c562ba719df5 46eb10b7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/07/27 18:33 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c562ba719df5 46eb10b7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/07/27 10:50 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c562ba719df5 46eb10b7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/07/13 09:50 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c562ba719df5 eaeb5c15 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/07/09 21:48 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c562ba719df5 bc144f9a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/30 22:10 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes cc2c169e34b4 757f06b1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/24 12:34 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 83a7eefedc9b 0c0f0b4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/22 23:33 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 83a7eefedc9b edc5149a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/22 21:15 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 83a7eefedc9b edc5149a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/22 20:31 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 83a7eefedc9b edc5149a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/22 17:51 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 83a7eefedc9b edc5149a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/22 16:52 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 83a7eefedc9b edc5149a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/20 08:05 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 83a7eefedc9b 41b7e219 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/19 21:38 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 83a7eefedc9b 41b7e219 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/17 06:19 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 83a7eefedc9b f429ab00 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/17 03:17 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 83a7eefedc9b f429ab00 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/16 05:13 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 83a7eefedc9b f429ab00 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/16 05:12 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 83a7eefedc9b f429ab00 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/10 11:13 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes e2c79b4c5c4d 82c05ab8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/10 04:54 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes e2c79b4c5c4d 82c05ab8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/06 22:42 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes e2c79b4c5c4d 121701b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/06 18:47 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes e2c79b4c5c4d 121701b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/06 10:26 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes e2c79b4c5c4d 121701b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/06 02:18 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes e2c79b4c5c4d 121701b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/06 02:17 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes e2c79b4c5c4d 121701b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/04 06:25 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7932b172ac7e a1feae05 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/04 01:42 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7932b172ac7e a1feae05 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/06/03 11:59 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7932b172ac7e 289d9bef .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/05/30 16:36 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1613e604df0c 34889ee3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/05/30 13:56 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1613e604df0c 34889ee3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/05/30 13:08 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1613e604df0c 34889ee3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/05/30 13:07 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1613e604df0c 34889ee3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/05/30 11:44 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1613e604df0c 34889ee3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/05/30 11:30 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1613e604df0c 34889ee3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/05/30 09:14 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1613e604df0c 34889ee3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/05/30 05:24 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1613e604df0c 34889ee3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
2024/05/30 05:23 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1613e604df0c 34889ee3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in hub_event
* Struck through repros no longer work on HEAD.