syzbot


WARNING: ODEBUG bug in __sk_destruct (2)

Status: fixed on 2021/11/10 00:50
Reported-by: syzbot+@syzkaller.appspotmail.com
Fix commit: 14a4696bc311 can: isotp: isotp_release(): omit unintended hrtimer restart on socket release
First crash: 659d, last: 462d

Cause bisection: introduced by (bisect log) :
commit e057dd3fc20ffb3d7f150af46542a51b59b90127
Author: Oliver Hartkopp <socketcan@hartkopp.net>
Date: Mon Sep 28 20:04:04 2020 +0000

  can: add ISO 15765-2:2016 transport protocol

Crash: WARNING: ODEBUG bug in __sk_destruct (log)
Repro: C syz .config

Fix bisection: fixed by (bisect log) :
commit 14a4696bc3118ba49da28f79280e1d55603aa737
Author: Oliver Hartkopp <socketcan@hartkopp.net>
Date: Fri Jun 18 17:37:13 2021 +0000

  can: isotp: isotp_release(): omit unintended hrtimer restart on socket release

similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in __sk_destruct C 2855 1277d 1742d 13/24 fixed on 2019/08/27 17:15

Sample crash report:
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: hrtimer hint: isotp_rx_timer_handler+0x0/0x170 include/linux/list.h:71
WARNING: CPU: 0 PID: 13 at lib/debugobjects.c:505 debug_print_object+0x16e/0x250 lib/debugobjects.c:505
Modules linked in:
CPU: 0 PID: 13 Comm: ksoftirqd/0 Not tainted 5.13.0-rc3-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 e0 f9 c2 89 4c 89 ee 48 c7 c7 e0 ed c2 89 e8 f5 e1 01 05 <0f> 0b 83 05 f5 46 f6 09 01 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e c3
RSP: 0018:ffffc90000d27af8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: ffff8880123f8000 RSI: ffffffff815ce355 RDI: fffff520001a4f51
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815c81be R11: 0000000000000000 R12: ffffffff896da7c0
R13: ffffffff89c2f420 R14: ffffffff81648850 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000080 CR3: 000000000bc8e000 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
 free_pages_prepare mm/page_alloc.c:1303 [inline]
 __free_pages_ok+0x254/0xce0 mm/page_alloc.c:1572
 sk_prot_free net/core/sock.c:1747 [inline]
 __sk_destruct+0x6c6/0x900 net/core/sock.c:1832
 sk_destruct+0xbd/0xe0 net/core/sock.c:1847
 __sk_free+0xef/0x3d0 net/core/sock.c:1858
 sk_free+0x78/0xa0 net/core/sock.c:1869
 sock_put include/net/sock.h:1813 [inline]
 can_rx_delete_receiver+0xbd/0xf0 net/can/af_can.c:497
 rcu_do_batch kernel/rcu/tree.c:2558 [inline]
 rcu_core+0x7ab/0x13b0 kernel/rcu/tree.c:2793
 __do_softirq+0x29b/0x9f6 kernel/softirq.c:559
 run_ksoftirqd kernel/softirq.c:921 [inline]
 run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913
 smpboot_thread_fn+0x655/0x9e0 kernel/smpboot.c:165
 kthread+0x3b1/0x4a0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Crashes (62):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-net-this-kasan-gce 2021/06/18 12:03 net 1c200f832e14 aba2b2fb .config console log report syz C WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce 2021/06/29 16:45 upstream c54b245d0118 9d2ab5df .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce 2021/06/28 23:37 upstream 62fb9874f5da 9d2ab5df .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-root 2021/06/28 13:43 upstream 62fb9874f5da 9d2ab5df .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce 2021/06/28 06:37 upstream b4b27b9eed8e 9d2ab5df .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-selinux-root 2021/06/28 02:35 upstream b4b27b9eed8e 9d2ab5df .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-selinux-root 2021/06/27 17:42 upstream 625acffd7ae2 9d2ab5df .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce 2021/06/26 22:22 upstream 625acffd7ae2 9d2ab5df .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce 2021/06/26 07:21 upstream b7050b242430 9d2ab5df .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-smack-root 2021/06/25 17:27 upstream 44db63d1ad8d ae6bf8dd .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-selinux-root 2021/06/25 11:51 upstream 44db63d1ad8d 0edbbe31 .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce 2021/06/25 05:59 upstream 4a09d388f2ab 0edbbe31 .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce 2021/06/24 22:48 upstream 4a09d388f2ab 0edbbe31 .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-selinux-root 2021/06/24 22:35 upstream 4a09d388f2ab 0edbbe31 .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-selinux-root 2021/06/24 10:20 upstream 7426cedc7dad ec865f6a .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-root 2021/06/24 09:11 upstream 7426cedc7dad ec865f6a .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-selinux-root 2021/06/23 15:22 upstream 0c18f29aae7c aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-smack-root 2021/06/23 04:34 upstream 0c18f29aae7c aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce 2021/06/23 03:09 upstream 0c18f29aae7c aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce 2021/06/23 02:32 upstream 0c18f29aae7c aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-selinux-root 2021/06/22 15:34 upstream a96bfed64c89 aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-smack-root 2021/06/21 21:22 upstream 13311e74253f aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce 2021/06/21 17:43 upstream 13311e74253f aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce 2021/06/21 14:33 upstream cba5e97280f5 aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-smack-root 2021/06/20 22:55 upstream cba5e97280f5 aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce 2021/06/20 21:59 upstream cba5e97280f5 aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-root 2021/06/20 20:43 upstream cba5e97280f5 aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-root 2021/06/20 14:42 upstream 913ec3c22ef4 aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-selinux-root 2021/06/20 02:28 upstream 9ed13a17e38e aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-qemu-upstream 2021/06/20 00:26 upstream 913ec3c22ef4 aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-qemu-upstream 2021/06/19 13:20 upstream 9ed13a17e38e aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-qemu-upstream 2021/06/19 11:27 upstream 9ed13a17e38e aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-qemu-upstream 2021/05/28 00:22 upstream d7c5303fbc8a 858ea628 .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-qemu-upstream 2021/05/28 00:19 upstream d7c5303fbc8a 858ea628 .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-qemu-upstream 2021/05/18 05:46 upstream 8ac91e6c6033 a2eb125d .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-qemu-upstream 2021/04/16 23:18 upstream 2f7b98d1e55c 7e2b734b .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-qemu2-arm32 2021/10/31 10:44 upstream bf152b0b41dc 098b5d53 .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-qemu2-arm32 2021/10/20 03:51 upstream bf152b0b41dc 466b7db1 .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-386 2021/06/28 01:13 upstream b4b27b9eed8e 9d2ab5df .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-kasan-gce-386 2021/06/21 17:41 upstream 13311e74253f aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-this-kasan-gce 2021/06/19 14:03 net 35036d69b9bd aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-this-kasan-gce 2021/06/18 19:28 net 1c200f832e14 aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-this-kasan-gce 2021/06/18 10:57 net 1c200f832e14 aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-kasan-gce 2021/06/29 19:07 net-next 84fe73996c2e 9d2ab5df .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-kasan-gce 2021/06/28 20:21 net-next ff8744b5eb11 9d2ab5df .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-kasan-gce 2021/06/27 14:50 net-next ff8744b5eb11 9d2ab5df .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-kasan-gce 2021/06/27 09:10 net-next ff8744b5eb11 9d2ab5df .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-kasan-gce 2021/06/26 09:17 net-next ff8744b5eb11 9d2ab5df .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-kasan-gce 2021/06/26 05:58 net-next ff8744b5eb11 9d2ab5df .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-kasan-gce 2021/06/26 04:26 net-next ff8744b5eb11 ae6bf8dd .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-kasan-gce 2021/06/24 08:45 net-next 35713d9b8f09 ec865f6a .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-kasan-gce 2021/06/24 08:11 net-next 35713d9b8f09 ec865f6a .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-kasan-gce 2021/06/23 06:00 net-next 38f75922a690 aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-kasan-gce 2021/06/21 04:38 net-next adc2e56ebe63 aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-kasan-gce 2021/06/21 03:28 net-next adc2e56ebe63 aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-kasan-gce 2021/06/20 08:32 net-next adc2e56ebe63 aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-kasan-gce 2021/06/20 03:37 net-next adc2e56ebe63 aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
ci-upstream-net-kasan-gce 2021/06/20 02:08 net-next adc2e56ebe63 aba2b2fb .config console log report info WARNING: ODEBUG bug in __sk_destruct
* Struck through repros no longer work on HEAD.