syzbot


WARNING: ODEBUG bug in wdm_release

Status: auto-closed as invalid on 2021/09/08 13:57
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+3e04448a4d634f32306d@syzkaller.appspotmail.com
First crash: 1081d, last: 1080d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING: ODEBUG bug in wdm_release 0 (1) 2021/05/11 10:43

Sample crash report:
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: work_struct hint: service_interrupt_work+0x0/0x110 arch/x86/include/asm/bitops.h:207
WARNING: CPU: 0 PID: 13346 at lib/debugobjects.c:505 debug_print_object+0x16e/0x250 lib/debugobjects.c:505
Modules linked in:
CPU: 0 PID: 13346 Comm: syz-executor.1 Not tainted 5.13.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:debug_print_object+0x16e/0x250 lib/debugobjects.c:505
Code: ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 af 00 00 00 48 8b 14 dd 80 f2 1f 86 4c 89 ee 48 c7 c7 80 e6 1f 86 e8 44 01 8a 03 <0f> 0b 83 05 95 43 ce 06 01 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e c3
RSP: 0018:ffffc9000d037cd8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: ffff8881101ab680 RSI: ffffffff812a5f73 RDI: fffff52001a06f8d
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: ffffffff814b963b R11: 0000000000000000 R12: ffffffff86068800
R13: ffffffff861fecc0 R14: ffffffff811a26a0 R15: dffffc0000000000
FS:  000000000285d400(0000) GS:ffff8881f6a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc00f329f60 CR3: 000000013e0b8000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __debug_check_no_obj_freed lib/debugobjects.c:987 [inline]
 debug_check_no_obj_freed+0x301/0x420 lib/debugobjects.c:1018
 slab_free_hook mm/slub.c:1556 [inline]
 slab_free_freelist_hook+0x13b/0x1b0 mm/slub.c:1606
 slab_free mm/slub.c:3166 [inline]
 kfree+0xdb/0x3b0 mm/slub.c:4225
 wdm_release+0x288/0x370 drivers/usb/class/cdc-wdm.c:752
 __fput+0x288/0x920 fs/file_table.c:280
 task_work_run+0xdd/0x1a0 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:174 [inline]
 exit_to_user_mode_prepare+0x218/0x220 kernel/entry/common.c:208
 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
 syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:57
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x41940b
Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44
RSP: 002b:00007ffdb45a4660 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: ffffffffffffffed RBX: 0000000000000006 RCX: 000000000041940b
RDX: ffffffffffffffbc RSI: 000000000b35c238 RDI: 0000000000000005
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b31526184
R10: 00007ffdb45a4750 R11: 0000000000000293 R12: 00000000000d4b11
R13: 00000000000003e8 R14: 000000000056bf60 R15: 00000000000d43c0

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/11 13:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4676be28a46e ca873091 .config console log report info ci2-upstream-usb WARNING: ODEBUG bug in wdm_release
2021/05/11 05:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4676be28a46e ca873091 .config console log report info ci2-upstream-usb WARNING: ODEBUG bug in wdm_release
2021/05/10 19:28 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing f91e5d097f12 ca873091 .config console log report info ci2-upstream-usb WARNING: ODEBUG bug in wdm_release
* Struck through repros no longer work on HEAD.