syzbot


WARNING: ODEBUG bug in free_pcp_prepare

Status: auto-obsoleted due to no activity on 2023/01/09 09:29
Subsystems: can
[Documentation on labels]
Reported-by: syzbot+de8f29c509042ee4cfce@syzkaller.appspotmail.com
First crash: 593d, last: 593d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING: ODEBUG bug in free_pcp_prepare 0 (1) 2022/09/15 09:40

Sample crash report:
ODEBUG: free active (active state 0) object type: work_struct hint: slcan_transmit+0x0/0x4d0 drivers/net/can/slcan/slcan-core.c:671
WARNING: CPU: 0 PID: 11471 at lib/debugobjects.c:502 debug_print_object+0x16e/0x250 lib/debugobjects.c:502
Modules linked in:
CPU: 0 PID: 11471 Comm: syz-executor.4 Not tainted 6.0.0-rc4-syzkaller-00302-gb96fbd602d35 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/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 80 0a 49 8a 4c 89 ee 48 c7 c7 20 fe 48 8a e8 24 3a 39 05 <0f> 0b 83 05 45 9d dd 09 01 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e c3
RSP: 0018:ffffc90002e2fa08 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff8161f408 RDI: fffff520005c5f33
RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff89ebcdc0
R13: ffffffff8a490340 R14: ffffffff814dd5e0 R15: dffffc0000000000
FS:  00007f46116af700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562b80d36950 CR3: 0000000026ded000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 __debug_check_no_obj_freed lib/debugobjects.c:989 [inline]
 debug_check_no_obj_freed+0x301/0x420 lib/debugobjects.c:1020
 free_pages_prepare mm/page_alloc.c:1455 [inline]
 free_pcp_prepare+0x445/0xd20 mm/page_alloc.c:1499
 free_unref_page_prepare mm/page_alloc.c:3380 [inline]
 free_unref_page+0x19/0x4d0 mm/page_alloc.c:3476
 kvfree+0x42/0x50 mm/util.c:655
 device_release+0x9f/0x240 drivers/base/core.c:2330
 kobject_cleanup lib/kobject.c:673 [inline]
 kobject_release lib/kobject.c:704 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x1be/0x4c0 lib/kobject.c:721
 put_device+0x1b/0x30 drivers/base/core.c:3624
 free_netdev+0x438/0x620 net/core/dev.c:10750
 tty_ldisc_close+0x110/0x190 drivers/tty/tty_ldisc.c:456
 tty_ldisc_kill+0x94/0x150 drivers/tty/tty_ldisc.c:608
 tty_ldisc_hangup+0x35c/0x680 drivers/tty/tty_ldisc.c:724
 __tty_hangup.part.0+0x40a/0x830 drivers/tty/tty_io.c:637
 __tty_hangup drivers/tty/tty_io.c:592 [inline]
 tty_vhangup drivers/tty/tty_io.c:707 [inline]
 tty_ioctl+0xe8e/0x15d0 drivers/tty/tty_io.c:2718
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f46104893c9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f46116af168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f461059bf80 RCX: 00007f46104893c9
RDX: 0700000000000000 RSI: 0000000000005437 RDI: 0000000000000003
RBP: 00007f46104e433f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffce6dbdeaf R14: 00007f46116af300 R15: 0000000000022000
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/11 09:28 upstream b96fbd602d35 356d8217 .config console log report info ci-upstream-kasan-gce-root WARNING: ODEBUG bug in free_pcp_prepare
* Struck through repros no longer work on HEAD.