syzbot


WARNING: ODEBUG bug in get_taint

Status: upstream: reported on 2024/08/15 05:22
Subsystems: net usb
[Documentation on labels]
Reported-by: syzbot+ffe5c7db7c30a0fbb165@syzkaller.appspotmail.com
First crash: 78d, last: 21h01m
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] [usb?] WARNING: ODEBUG bug in get_taint 0 (1) 2024/08/15 05:22

Sample crash report:
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 12
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: 5131 at lib/debugobjects.c:514 debug_print_object+0xc4/0xd8 lib/debugobjects.c:514
ODEBUG: free active (active state 0) object: 84e80fcc 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: 5131 Comm: kworker/0:5 Not tainted 6.12.0-rc2-syzkaller #0
Hardware name: ARM-Versatile Express
Workqueue: usb_hub_wq hub_event
Call trace: 
[<81998df8>] (dump_backtrace) from [<81998ef4>] (show_stack+0x18/0x1c arch/arm/kernel/traps.c:257)
 r7:00000000 r6:826228c4 r5:00000000 r4:8203d394
[<81998edc>] (show_stack) from [<819b7384>] (__dump_stack lib/dump_stack.c:94 [inline])
[<81998edc>] (show_stack) from [<819b7384>] (dump_stack_lvl+0x54/0x7c lib/dump_stack.c:120)
[<819b7330>] (dump_stack_lvl) from [<819b73c4>] (dump_stack+0x18/0x1c lib/dump_stack.c:129)
 r5:00000000 r4:82870d18
[<819b73ac>] (dump_stack) from [<81999a20>] (panic+0x120/0x374 kernel/panic.c:354)
[<81999900>] (panic) from [<802420e0>] (check_panic_on_warn kernel/panic.c:243 [inline])
[<81999900>] (panic) from [<802420e0>] (get_taint+0x0/0x1c kernel/panic.c:238)
 r3:8260c5c4 r2:00000001 r1:82025774 r0:8202d1dc
 r7:80854510
[<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:8208c490 r6:e898da8c r5:8489ec00 r4:00000000
[<80242350>] (warn_slowpath_fmt) from [<80854510>] (debug_print_object+0xc4/0xd8 lib/debugobjects.c:514)
 r10:00000005 r9:84e80800 r8:81a01c24 r7:820b7280 r6:828dd084 r5:e898db34
 r4:8260cda4
[<8085444c>] (debug_print_object) from [<80855da0>] (__debug_check_no_obj_freed lib/debugobjects.c:989 [inline])
[<8085444c>] (debug_print_object) from [<80855da0>] (debug_check_no_obj_freed+0x254/0x2a0 lib/debugobjects.c:1019)
 r8:84e81000 r7:84e80fcc r6:00000100 r5:00000003 r4:00000000
[<80855b4c>] (debug_check_no_obj_freed) from [<804c9000>] (slab_free_hook mm/slub.c:2273 [inline])
[<80855b4c>] (debug_check_no_obj_freed) from [<804c9000>] (slab_free mm/slub.c:4579 [inline])
[<80855b4c>] (debug_check_no_obj_freed) from [<804c9000>] (kfree+0x190/0x394 mm/slub.c:4727)
 r10:8277df3c r9:85204080 r8:84e80800 r7:8046cfa0 r6:82c023c0 r5:ddea9a00
 r4:84e80800
[<804c8e70>] (kfree) from [<8046cfa0>] (kvfree+0x2c/0x30 mm/util.c:701)
 r10:8277df3c r9:85204080 r8:84e80800 r7:00000000 r6:8526ddc0 r5:8545b680
 r4:84e80800
[<8046cf74>] (kvfree) from [<814fb538>] (netdev_release+0x2c/0x34 net/core/net-sysfs.c:2034)
 r5:8545b680 r4:84e80800
[<814fb50c>] (netdev_release) from [<80aa3834>] (device_release+0x38/0xa8 drivers/base/core.c:2575)
 r5:8545b680 r4:84e80bc0
[<80aa37fc>] (device_release) from [<81972c6c>] (kobject_cleanup lib/kobject.c:689 [inline])
[<80aa37fc>] (device_release) from [<81972c6c>] (kobject_release lib/kobject.c:720 [inline])
[<80aa37fc>] (device_release) from [<81972c6c>] (kref_put include/linux/kref.h:65 [inline])
[<80aa37fc>] (device_release) from [<81972c6c>] (kobject_put+0xa0/0x1f4 lib/kobject.c:737)
 r5:81b4c9c4 r4:84e80bc0
[<81972bcc>] (kobject_put) from [<80aa3a60>] (put_device+0x18/0x1c drivers/base/core.c:3783)
 r7:85205000 r6:00000000 r5:84e80800 r4:00000000
[<80aa3a48>] (put_device) from [<814afc58>] (free_netdev+0x134/0x1ac net/core/dev.c:11255)
[<814afb24>] (free_netdev) from [<80d87928>] (usbnet_disconnect+0xb8/0xfc drivers/net/usb/usbnet.c:1652)
 r6:84e80f94 r5:84e80e80 r4:00000000
[<80d87870>] (usbnet_disconnect) from [<80defff8>] (usb_unbind_interface+0x84/0x2c4 drivers/usb/core/driver.c:461)
 r8:00000044 r7:85205030 r6:8277df3c r5:00000000 r4:85205000
[<80deff74>] (usb_unbind_interface) from [<80aab924>] (device_remove drivers/base/dd.c:569 [inline])
[<80deff74>] (usb_unbind_interface) from [<80aab924>] (device_remove+0x64/0x6c drivers/base/dd.c:561)
 r10:00000000 r9:85204080 r8:00000044 r7:85205074 r6:8277df3c r5:00000000
 r4:85205030
[<80aab8c0>] (device_remove) from [<80aace10>] (__device_release_driver drivers/base/dd.c:1273 [inline])
[<80aab8c0>] (device_remove) from [<80aace10>] (device_release_driver_internal+0x18c/0x200 drivers/base/dd.c:1296)
 r5:00000000 r4:85205030
[<80aacc84>] (device_release_driver_internal) from [<80aace9c>] (device_release_driver+0x18/0x1c drivers/base/dd.c:1319)
 r9:85204080 r8:82ef0640 r7:82ef0638 r6:82ef060c r5:85205030 r4:82ef0630
[<80aace84>] (device_release_driver) from [<80aaaf80>] (bus_remove_device+0xcc/0x120 drivers/base/bus.c:576)
[<80aaaeb4>] (bus_remove_device) from [<80aa52bc>] (device_del+0x148/0x38c drivers/base/core.c:3864)
 r9:85204080 r8:8489ec00 r7:04208060 r6:00000000 r5:85205030 r4:85205074
[<80aa5174>] (device_del) from [<80deda14>] (usb_disable_device+0xdc/0x1f0 drivers/usb/core/message.c:1418)
 r10:00000000 r9:00000000 r8:85205000 r7:85204000 r6:8527af88 r5:00000001
 r4:00000038
[<80ded938>] (usb_disable_device) from [<80de2878>] (usb_disconnect+0xec/0x29c drivers/usb/core/hub.c:2304)
 r10:00000001 r9:84ae6c00 r8:852040c4 r7:83bfb400 r6:85204080 r5:85204000
 r4:60000113
[<80de278c>] (usb_disconnect) from [<80de5528>] (hub_port_connect drivers/usb/core/hub.c:5361 [inline])
[<80de278c>] (usb_disconnect) from [<80de5528>] (hub_port_connect_change drivers/usb/core/hub.c:5661 [inline])
[<80de278c>] (usb_disconnect) from [<80de5528>] (port_event drivers/usb/core/hub.c:5821 [inline])
[<80de278c>] (usb_disconnect) from [<80de5528>] (hub_event+0xe78/0x194c drivers/usb/core/hub.c:5903)
 r10:00000001 r9:00000100 r8:83b31300 r7:85204000 r6:83bfac00 r5:83bfb610
 r4:00000001
[<80de46b0>] (hub_event) from [<80266034>] (process_one_work+0x1b4/0x4f4 kernel/workqueue.c:3229)
 r10:82e9ba05 r9:8489ec00 r8:00800000 r7:dddd00c0 r6:82e9ba00 r5:83b31300
 r4:853c8180
[<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:8489ec00 r9:853c81ac r8:61c88647 r7:dddd00e0 r6:82604d40 r5:dddd00c0
 r4:853c8180
[<80266a2c>] (worker_thread) from [<8026fc84>] (kthread+0x104/0x134 kernel/kthread.c:389)
 r10:00000000 r9:df83de78 r8:8527ad00 r7:853c8180 r6:80266a2c r5:8489ec00
 r4:8527af00
[<8026fb80>] (kthread) from [<80200114>] (ret_from_fork+0x14/0x20 arch/arm/kernel/entry-common.S:137)
Exception stack(0xe898dfb0 to 0xe898dff8)
dfa0:                                     00000000 00000000 00000000 00000000
dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:8026fb80 r4:8527af00
Rebooting in 86400 seconds..

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/08 10:06 upstream 87d6aab2389e 402f1df0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
2024/10/02 17:50 upstream e32cde8d2bd7 02f9582a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
2024/09/24 04:37 upstream 18ba6034468e 89298aad .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
2024/09/22 12:05 upstream 88264981f208 6f888b75 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
2024/09/18 13:29 upstream 2f27fce67173 c673ca06 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
2024/09/16 11:10 upstream 98f7e32f20d2 08d8a733 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
2024/09/15 08:44 upstream 0babf683783d 08d8a733 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
2024/09/06 06:30 upstream ad618736883b 464ac2ed .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
2024/09/01 11:21 upstream 6cd90e5ea72f 1eda0d14 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
2024/08/31 10:38 upstream fb24560f31f9 1eda0d14 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
2024/08/31 08:33 upstream fb24560f31f9 1eda0d14 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
2024/08/30 21:07 upstream 20371ba12063 db150e23 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
2024/08/15 05:22 upstream d07b43284ab3 e4bacdaf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
2024/08/14 06:07 upstream 6b4aa469f049 bde81f6f .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
2024/07/28 13:16 upstream 5437f30d3458 46eb10b7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
2024/07/24 05:15 upstream e9680017b2dc 57b2edb1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
2024/07/22 14:15 upstream 933069701c1b fb8445ca .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in get_taint
* Struck through repros no longer work on HEAD.