syzbot has found a reproducer for the following issue on: HEAD commit: c2ee9f594da8 KVM: selftests: Fix build on on non-x86 archi.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=167f48a7980000 kernel config: https://syzkaller.appspot.com/x/.config?x=f68c7e50d4601b1 dashboard link: https://syzkaller.appspot.com/bug?extid=ffe5c7db7c30a0fbb165 compiler: arm-linux-gnueabi-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 userspace arch: arm syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1267b640580000 Downloadable assets: disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/8ead8862021c/non_bootable_disk-c2ee9f59.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/bcc7a230eb09/vmlinux-c2ee9f59.xz kernel image: https://storage.googleapis.com/syzbot-assets/96b5df297c4b/zImage-c2ee9f59.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+ffe5c7db7c30a0fbb165@xxxxxxxxxxxxxxxxxxxxxxxxx cdc_ncm 1-1:1.0 usb0: register 'cdc_ncm' at usb-dummy_hcd.0-1, CDC NCM (NO ZLP), 42:42:42:42:42:42 usb 1-1: USB disconnect, device number 23 cdc_ncm 1-1:1.0 usb0: unregister 'cdc_ncm' usb-dummy_hcd.0-1, CDC NCM (NO ZLP) ------------[ cut here ]------------ WARNING: CPU: 0 PID: 10 at lib/debugobjects.c:514 debug_print_object+0xc4/0xd8 lib/debugobjects.c:514 ODEBUG: free active (active state 0) object: 84ff57cc object type: work_struct hint: usbnet_deferred_kevent+0x0/0x394 drivers/net/usb/usbnet.c:633 Modules linked in: Kernel panic - not syncing: kernel: panic_on_warn set ... CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Not tainted 6.12.0-rc4-syzkaller #0 Hardware name: ARM-Versatile Express Workqueue: usb_hub_wq hub_event Call trace: [<81999930>] (dump_backtrace) from [<81999a2c>] (show_stack+0x18/0x1c arch/arm/kernel/traps.c:257) r7:00000000 r6:82622f44 r5:00000000 r4:8203d814 [<81999a14>] (show_stack) from [<819b7ec8>] (__dump_stack lib/dump_stack.c:94 [inline]) [<81999a14>] (show_stack) from [<819b7ec8>] (dump_stack_lvl+0x54/0x7c lib/dump_stack.c:120) [<819b7e74>] (dump_stack_lvl) from [<819b7f08>] (dump_stack+0x18/0x1c lib/dump_stack.c:129) r5:00000000 r4:82870d18 [<819b7ef0>] (dump_stack) from [<8199a558>] (panic+0x120/0x374 kernel/panic.c:354) [<8199a438>] (panic) from [<802420e0>] (check_panic_on_warn kernel/panic.c:243 [inline]) [<8199a438>] (panic) from [<802420e0>] (get_taint+0x0/0x1c kernel/panic.c:238) r3:8260c5c4 r2:00000001 r1:82025be8 r0:8202d650 r7:80854748 [<8024206c>] (check_panic_on_warn) from [<80242244>] (__warn+0x80/0x188 kernel/panic.c:748) [<802421c4>] (__warn) from [<80242534>] (warn_slowpath_fmt+0x1e8/0x1f4 kernel/panic.c:783) r8:00000009 r7:8208c8e8 r6:df841a8c r5:82e36c00 r4:00000000 [<80242350>] (warn_slowpath_fmt) from [<80854748>] (debug_print_object+0xc4/0xd8 lib/debugobjects.c:514) r10:00000005 r9:84ff5000 r8:81a01c24 r7:820b76d8 r6:828dd084 r5:df841b34 r4:8260cda4 [<80854684>] (debug_print_object) from [<80855fd8>] (__debug_check_no_obj_freed lib/debugobjects.c:989 [inline]) [<80854684>] (debug_print_object) from [<80855fd8>] (debug_check_no_obj_freed+0x254/0x2a0 lib/debugobjects.c:1019) r8:84ff5800 r7:84ff57cc r6:00000100 r5:00000003 r4:00000000 [<80855d84>] (debug_check_no_obj_freed) from [<804c916c>] (slab_free_hook mm/slub.c:2273 [inline]) [<80855d84>] (debug_check_no_obj_freed) from [<804c916c>] (slab_free mm/slub.c:4579 [inline]) [<80855d84>] (debug_check_no_obj_freed) from [<804c916c>] (kfree+0x190/0x394 mm/slub.c:4727) r10:8277e5bc r9:84706480 r8:84ff5000 r7:8046d140 r6:82c023c0 r5:ddeacdc0 r4:84ff5000 [<804c8fdc>] (kfree) from [<8046d140>] (kvfree+0x2c/0x30 mm/util.c:701) r10:8277e5bc r9:84706480 r8:84ff5000 r7:00000000 r6:8505cb00 r5:8509c780 r4:84ff5000 [<8046d114>] (kvfree) from [<814fbd38>] (netdev_release+0x2c/0x34 net/core/net-sysfs.c:2034) r5:8509c780 r4:84ff5000 [<814fbd0c>] (netdev_release) from [<80aa3aa0>] (device_release+0x38/0xa8 drivers/base/core.c:2575) r5:8509c780 r4:84ff53c0 [<80aa3a68>] (device_release) from [<8197378c>] (kobject_cleanup lib/kobject.c:689 [inline]) [<80aa3a68>] (device_release) from [<8197378c>] (kobject_release lib/kobject.c:720 [inline]) [<80aa3a68>] (device_release) from [<8197378c>] (kref_put include/linux/kref.h:65 [inline]) [<80aa3a68>] (device_release) from [<8197378c>] (kobject_put+0xa0/0x1f4 lib/kobject.c:737) r5:81b4c9c4 r4:84ff53c0 [<819736ec>] (kobject_put) from [<80aa3ccc>] (put_device+0x18/0x1c drivers/base/core.c:3783) r7:84707000 r6:00000000 r5:84ff5000 r4:00000000 [<80aa3cb4>] (put_device) from [<814b03d8>] (free_netdev+0x134/0x1ac net/core/dev.c:11255) [<814b02a4>] (free_netdev) from [<80d87a48>] (usbnet_disconnect+0xb8/0xfc drivers/net/usb/usbnet.c:1652) r6:84ff5794 r5:84ff5680 r4:00000000 [<80d87990>] (usbnet_disconnect) from [<80df0138>] (usb_unbind_interface+0x84/0x2c4 drivers/usb/core/driver.c:461) r8:00000044 r7:84707030 r6:8277e5bc r5:00000000 r4:84707000 [<80df00b4>] (usb_unbind_interface) from [<80aabb8c>] (device_remove drivers/base/dd.c:569 [inline]) [<80df00b4>] (usb_unbind_interface) from [<80aabb8c>] (device_remove+0x64/0x6c drivers/base/dd.c:561) r10:00000000 r9:84706480 r8:00000044 r7:84707074 r6:8277e5bc r5:00000000 r4:84707030 [<80aabb28>] (device_remove) from [<80aad078>] (__device_release_driver drivers/base/dd.c:1273 [inline]) [<80aabb28>] (device_remove) from [<80aad078>] (device_release_driver_internal+0x18c/0x200 drivers/base/dd.c:1296) r5:00000000 r4:84707030 [<80aaceec>] (device_release_driver_internal) from [<80aad104>] (device_release_driver+0x18/0x1c drivers/base/dd.c:1319) r9:84706480 r8:82f65640 r7:82f65638 r6:82f6560c r5:84707030 r4:82f65630 [<80aad0ec>] (device_release_driver) from [<80aab1ec>] (bus_remove_device+0xcc/0x120 drivers/base/bus.c:576) [<80aab120>] (bus_remove_device) from [<80aa5528>] (device_del+0x148/0x38c drivers/base/core.c:3864) r9:84706480 r8:82e36c00 r7:04208060 r6:00000000 r5:84707030 r4:84707074 [<80aa53e0>] (device_del) from [<80dedb54>] (usb_disable_device+0xdc/0x1f0 drivers/usb/core/message.c:1418) r10:00000000 r9:00000000 r8:84707000 r7:84706400 r6:850a5248 r5:00000001 r4:00000038 [<80deda78>] (usb_disable_device) from [<80de29b8>] (usb_disconnect+0xec/0x29c drivers/usb/core/hub.c:2304) r10:00000001 r9:84c65200 r8:847064c4 r7:83dee400 r6:84706480 r5:84706400 r4:60000113 [<80de28cc>] (usb_disconnect) from [<80de5668>] (hub_port_connect drivers/usb/core/hub.c:5361 [inline]) [<80de28cc>] (usb_disconnect) from [<80de5668>] (hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]) [<80de28cc>] (usb_disconnect) from [<80de5668>] (port_event drivers/usb/core/hub.c:5821 [inline]) [<80de28cc>] (usb_disconnect) from [<80de5668>] (hub_event+0xe78/0x194c drivers/usb/core/hub.c:5903) r10:00000001 r9:00000100 r8:83b10700 r7:84706400 r6:8381e400 r5:83dee610 r4:00000001 [<80de47f0>] (hub_event) from [<80266034>] (process_one_work+0x1b4/0x4f4 kernel/workqueue.c:3229) r10:82e64805 r9:82e36c00 r8:00800000 r7:dddd00c0 r6:82e64800 r5:83b10700 r4:82cb6080 [<80265e80>] (process_one_work) from [<80266c18>] (process_scheduled_works kernel/workqueue.c:3310 [inline]) [<80265e80>] (process_one_work) from [<80266c18>] (worker_thread+0x1ec/0x3bc kernel/workqueue.c:3391) r10:82e36c00 r9:82cb60ac r8:61c88647 r7:dddd00e0 r6:82604d40 r5:dddd00c0 r4:82cb6080 [<80266a2c>] (worker_thread) from [<8026fc94>] (kthread+0x104/0x134 kernel/kthread.c:389) r10:00000000 r9:df839e78 r8:82cb5b40 r7:82cb6080 r6:80266a2c r5:82e36c00 r4:82cb5980 [<8026fb90>] (kthread) from [<80200114>] (ret_from_fork+0x14/0x20 arch/arm/kernel/entry-common.S:137) Exception stack(0xdf841fb0 to 0xdf841ff8) 1fa0: 00000000 00000000 00000000 00000000 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:8026fb90 r4:82cb5980 Rebooting in 86400 seconds.. --- If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing.