syzbot


WARNING: ODEBUG bug in netdev_release

Status: upstream: reported syz repro on 2024/07/22 08:06
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+5ce05015d99fda6eaccd@syzkaller.appspotmail.com
First crash: 125d, last: 122d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [usb?] WARNING: ODEBUG bug in netdev_release 0 (1) 2024/07/22 08:06
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/10/13 20:24 21m retest repro upstream report log
2024/08/04 19:59 23m retest repro upstream report log

Sample crash report:
cdc_ncm 1-1:1.0 usb0: unregister 'cdc_ncm' usb-dummy_hcd.0-1, CDC NCM (NO ZLP)
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4334 at lib/debugobjects.c:515 debug_print_object+0xc4/0xd8 lib/debugobjects.c:515
ODEBUG: free active (active state 0) object: 84c3a7cc object type: work_struct hint: usbnet_deferred_kevent+0x0/0x388 drivers/net/usb/usbnet.c:630
Modules linked in:
Kernel panic - not syncing: kernel: panic_on_warn set ...
CPU: 1 PID: 4334 Comm: kworker/1:4 Not tainted 6.10.0-syzkaller #0
Hardware name: ARM-Versatile Express
Workqueue: usb_hub_wq hub_event
Call trace: 
[<818efbe0>] (dump_backtrace) from [<818efcdc>] (show_stack+0x18/0x1c arch/arm/kernel/traps.c:257)
 r7:00000000 r6:82622804 r5:00000000 r4:81feae20
[<818efcc4>] (show_stack) from [<8190d370>] (__dump_stack lib/dump_stack.c:88 [inline])
[<818efcc4>] (show_stack) from [<8190d370>] (dump_stack_lvl+0x54/0x7c lib/dump_stack.c:114)
[<8190d31c>] (dump_stack_lvl) from [<8190d3b0>] (dump_stack+0x18/0x1c lib/dump_stack.c:123)
 r5:00000000 r4:82864d0c
[<8190d398>] (dump_stack) from [<818f0784>] (panic+0x120/0x358 kernel/panic.c:347)
[<818f0664>] (panic) from [<80241f54>] (check_panic_on_warn kernel/panic.c:240 [inline])
[<818f0664>] (panic) from [<80241f54>] (print_tainted+0x0/0xa0 kernel/panic.c:235)
 r3:8260c5c4 r2:00000001 r1:81fd3f0c r0:81fdb594
 r7:80826ddc
[<80241ee0>] (check_panic_on_warn) from [<80242148>] (__warn+0x7c/0x180 kernel/panic.c:693)
[<802420cc>] (__warn) from [<80242434>] (warn_slowpath_fmt+0x1e8/0x1f4 kernel/panic.c:726)
 r8:00000009 r7:8203a2f4 r6:ea749a8c r5:83d81800 r4:00000000
[<80242250>] (warn_slowpath_fmt) from [<80826ddc>] (debug_print_object+0xc4/0xd8 lib/debugobjects.c:515)
 r10:00000005 r9:84c3a000 r8:81a01b64 r7:82063da4 r6:828c8614 r5:ea749b34
 r4:8260cda8
[<80826d18>] (debug_print_object) from [<8082867c>] (__debug_check_no_obj_freed lib/debugobjects.c:990 [inline])
[<80826d18>] (debug_print_object) from [<8082867c>] (debug_check_no_obj_freed+0x254/0x2a0 lib/debugobjects.c:1020)
 r8:84c3a800 r7:84c3a7cc r6:00000100 r5:00000003 r4:00000000
[<80828428>] (debug_check_no_obj_freed) from [<804bb71c>] (slab_free_hook mm/slub.c:2202 [inline])
[<80828428>] (debug_check_no_obj_freed) from [<804bb71c>] (slab_free mm/slub.c:4464 [inline])
[<80828428>] (debug_check_no_obj_freed) from [<804bb71c>] (kfree+0x1a0/0x340 mm/slub.c:4585)
 r10:82778cc0 r9:84f0b080 r8:84c3a000 r7:804614a8 r6:82c023c0 r5:ddea47e0
 r4:84c3a000
[<804bb57c>] (kfree) from [<804614a8>] (kvfree+0x2c/0x30 mm/util.c:696)
 r10:82778cc0 r9:84f0b080 r8:84c3a000 r7:00000000 r6:85096780 r5:85152000
 r4:84c3a000
[<8046147c>] (kvfree) from [<8145906c>] (netdev_release+0x2c/0x34 net/core/net-sysfs.c:2031)
 r5:85152000 r4:84c3a000
[<81459040>] (netdev_release) from [<80a6417c>] (device_release+0x38/0xa8 drivers/base/core.c:2581)
 r5:85152000 r4:84c3a3c0
[<80a64144>] (device_release) from [<818c9a3c>] (kobject_cleanup lib/kobject.c:689 [inline])
[<80a64144>] (device_release) from [<818c9a3c>] (kobject_release lib/kobject.c:720 [inline])
[<80a64144>] (device_release) from [<818c9a3c>] (kref_put include/linux/kref.h:65 [inline])
[<80a64144>] (device_release) from [<818c9a3c>] (kobject_put+0xc8/0x1f8 lib/kobject.c:737)
 r5:81b49224 r4:84c3a3c0
[<818c9974>] (kobject_put) from [<80a643a8>] (put_device+0x18/0x1c drivers/base/core.c:3787)
 r7:84f0b800 r6:84c3a10c r5:84c3a000 r4:00000000
[<80a64390>] (put_device) from [<8140e054>] (free_netdev+0x114/0x18c net/core/dev.c:11196)
[<8140df40>] (free_netdev) from [<80d3b2d0>] (usbnet_disconnect+0xac/0xf0 drivers/net/usb/usbnet.c:1636)
 r6:84c3a794 r5:84c3a680 r4:00000000
[<80d3b224>] (usbnet_disconnect) from [<80d9fa70>] (usb_unbind_interface+0x84/0x2c4 drivers/usb/core/driver.c:461)
 r8:00000044 r7:84f0b830 r6:82778cc0 r5:00000000 r4:84f0b800
[<80d9f9ec>] (usb_unbind_interface) from [<80a6c284>] (device_remove drivers/base/dd.c:568 [inline])
[<80d9f9ec>] (usb_unbind_interface) from [<80a6c284>] (device_remove+0x64/0x6c drivers/base/dd.c:560)
 r10:00000000 r9:84f0b080 r8:00000044 r7:84f0b874 r6:82778cc0 r5:00000000
 r4:84f0b830
[<80a6c220>] (device_remove) from [<80a6d79c>] (__device_release_driver drivers/base/dd.c:1270 [inline])
[<80a6c220>] (device_remove) from [<80a6d79c>] (device_release_driver_internal+0x18c/0x200 drivers/base/dd.c:1293)
 r5:00000000 r4:84f0b830
[<80a6d610>] (device_release_driver_internal) from [<80a6d828>] (device_release_driver+0x18/0x1c drivers/base/dd.c:1316)
 r9:84f0b080 r8:82cd1f40 r7:82cd1f38 r6:82cd1f0c r5:84f0b830 r4:82cd1f30
[<80a6d810>] (device_release_driver) from [<80a6b90c>] (bus_remove_device+0xcc/0x120 drivers/base/bus.c:574)
[<80a6b840>] (bus_remove_device) from [<80a65a24>] (device_del+0x148/0x38c drivers/base/core.c:3868)
 r9:84f0b080 r8:83d81800 r7:04208060 r6:00000000 r5:84f0b830 r4:84f0b874
[<80a658dc>] (device_del) from [<80d9d48c>] (usb_disable_device+0xdc/0x1f0 drivers/usb/core/message.c:1418)
 r10:00000000 r9:00000000 r8:84f0b800 r7:84f0b000 r6:8508fec8 r5:00000001
 r4:00000038
[<80d9d3b0>] (usb_disable_device) from [<80d922ec>] (usb_disconnect+0xec/0x29c drivers/usb/core/hub.c:2304)
 r10:00000001 r9:846e9800 r8:84f0b0c4 r7:83d6d400 r6:84f0b080 r5:84f0b000
 r4:60000113
[<80d92200>] (usb_disconnect) from [<80d94e9c>] (hub_port_connect drivers/usb/core/hub.c:5361 [inline])
[<80d92200>] (usb_disconnect) from [<80d94e9c>] (hub_port_connect_change drivers/usb/core/hub.c:5661 [inline])
[<80d92200>] (usb_disconnect) from [<80d94e9c>] (port_event drivers/usb/core/hub.c:5821 [inline])
[<80d92200>] (usb_disconnect) from [<80d94e9c>] (hub_event+0xd78/0x194c drivers/usb/core/hub.c:5903)
 r10:00000001 r9:00000101 r8:83a3bd00 r7:84f0b000 r6:83d6cc00 r5:83d6d610
 r4:00000001
[<80d94124>] (hub_event) from [<802658fc>] (process_one_work+0x1b4/0x4f4 kernel/workqueue.c:3231)
 r10:82e5c805 r9:83d81800 r8:01800000 r7:ddde4000 r6:82e5c800 r5:83a3bd00
 r4:85073080
[<80265748>] (process_one_work) from [<802664e0>] (process_scheduled_works kernel/workqueue.c:3312 [inline])
[<80265748>] (process_one_work) from [<802664e0>] (worker_thread+0x1ec/0x3f4 kernel/workqueue.c:3390)
 r10:83d81800 r9:850730ac r8:61c88647 r7:ddde4020 r6:82604d40 r5:ddde4000
 r4:85073080
[<802662f4>] (worker_thread) from [<8026f538>] (kthread+0x104/0x134 kernel/kthread.c:389)
 r10:00000000 r9:df815e78 r8:85020a00 r7:85073080 r6:802662f4 r5:83d81800
 r4:85072440
[<8026f434>] (kthread) from [<80200114>] (ret_from_fork+0x14/0x20 arch/arm/kernel/entry-common.S:134)
Exception stack(0xea749fb0 to 0xea749ff8)
9fa0:                                     00000000 00000000 00000000 00000000
9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:8026f434 r4:85072440
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/21 19:59 upstream 2c9b3512402e b88348e9 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in netdev_release
2024/07/18 08:01 upstream e2f710f97f35 0f902625 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING: ODEBUG bug in netdev_release
* Struck through repros no longer work on HEAD.