syzbot


WARNING: ODEBUG bug in virtual_ncidev_close

Status: auto-obsoleted due to no activity on 2023/03/21 05:56
Subsystems: net nfc
[Documentation on labels]
Reported-by: syzbot+4bf62ccd820c794f1292@syzkaller.appspotmail.com
First crash: 489d, last: 484d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING: ODEBUG bug in virtual_ncidev_close 0 (1) 2022/11/16 10:59

Sample crash report:
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: timer_list hint: nci_cmd_timer+0x0/0xb0 net/nfc/nci/core.c:624
WARNING: CPU: 1 PID: 8272 at lib/debugobjects.c:502 debug_print_object+0x16e/0x250 lib/debugobjects.c:502
Modules linked in:
CPU: 1 PID: 8272 Comm: syz-executor.4 Not tainted 6.1.0-rc5-syzkaller-00015-g81e7cfa3a9eb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:debug_print_object+0x16e/0x250 lib/debugobjects.c:502
Code: ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 af 00 00 00 48 8b 14 dd 40 0f a8 8a 4c 89 ee 48 c7 c7 20 03 a8 8a e8 df 66 9c 05 <0f> 0b 83 05 15 f4 44 0a 01 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e c3
RSP: 0018:ffffc9001655fc60 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: ffff888027c0ba80 RSI: ffffffff816574fc RDI: fffff52002cabf7e
RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8a4e9be0
R13: ffffffff8aa80800 R14: ffffffff816ec8f0 R15: dffffc0000000000
FS:  00005555562f3400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555574a7708 CR3: 0000000071e8c000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 __debug_check_no_obj_freed lib/debugobjects.c:989 [inline]
 debug_check_no_obj_freed+0x305/0x420 lib/debugobjects.c:1020
 slab_free_hook mm/slub.c:1699 [inline]
 slab_free_freelist_hook+0xeb/0x1c0 mm/slub.c:1750
 slab_free mm/slub.c:3661 [inline]
 __kmem_cache_free+0xaf/0x3b0 mm/slub.c:3674
 virtual_ncidev_close+0x7d/0x90 drivers/nfc/virtual_ncidev.c:167
 __fput+0x27c/0xa90 fs/file_table.c:320
 task_work_run+0x16f/0x270 kernel/task_work.c:179
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
 exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:203
 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
 syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296
 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fc7e6a3d40b
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:00007ffd62541350 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fc7e6a3d40b
RDX: 0000001b30720000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007fc7e6bad980 R08: 0000000000000000 R09: 00007ffd62566080
R10: 00007ffd62566090 R11: 0000000000000293 R12: 00000000001c58e2
R13: 00007fc7e6600d80 R14: 00007fc7e6bac120 R15: 0000000000000002
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/16 06:44 upstream 81e7cfa3a9eb 3a127a31 .config console log report info ci-upstream-kasan-gce-root WARNING: ODEBUG bug in virtual_ncidev_close
2022/11/21 05:56 linux-next 15f3bff12cf6 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in virtual_ncidev_close
* Struck through repros no longer work on HEAD.