syzbot


WARNING in notifier_chain_register

Status: auto-obsoleted due to no activity on 2023/04/20 02:11
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+5214f8dac5863061e37c@syzkaller.appspotmail.com
First crash: 622d, last: 534d
Cause bisection: introduced by (bisect log) :
commit ff7f2926114d3a50f5ffe461a9bce8d761748da5
Author: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Date: Tue Apr 26 08:18:23 2022 +0000

  Bluetooth: core: Fix missing power_on work cancel on HCI close

Crash: INFO: task hung in hci_dev_close_sync (log)
Repro: C syz .config
  
Fix bisection the fix commit could be any of (bisect log):
  ae3bbc04d4bf net: devlink: add port_init/fini() helpers to allow pre-register/post-unregister functions
  d82acd85cc41 net: dsa: move port_setup/teardown to be called outside devlink port registered area
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in notifier_chain_register 0 (1) 2022/07/06 13:50
Last patch testing requests (10)
Created Duration User Patch Repo Result
2023/04/20 00:53 27m retest repro linux-next OK log
2023/04/20 00:53 26m retest repro linux-next OK log
2023/04/20 00:53 28m retest repro linux-next OK log
2023/04/20 00:53 26m retest repro linux-next OK log
2023/01/09 19:32 22m retest repro net-next-old OK log
2023/01/09 19:32 22m retest repro upstream OK log
2023/01/09 19:32 22m retest repro net-old OK log
2023/01/09 19:32 22m retest repro upstream OK log
2022/07/08 11:16 18m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git cb71b93c2dc3 OK log
2022/07/07 10:58 12m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git cb71b93c2dc3 report log

Sample crash report:
------------[ cut here ]------------
notifier callback hci_suspend_notifier already registered
WARNING: CPU: 1 PID: 5144 at kernel/notifier.c:28 notifier_chain_register kernel/notifier.c:28 [inline]
WARNING: CPU: 1 PID: 5144 at kernel/notifier.c:28 notifier_chain_register+0x156/0x210 kernel/notifier.c:22
Modules linked in:
CPU: 1 PID: 5144 Comm: syz-executor373 Not tainted 6.0.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:notifier_chain_register kernel/notifier.c:28 [inline]
RIP: 0010:notifier_chain_register+0x156/0x210 kernel/notifier.c:22
Code: 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 a5 00 00 00 49 8b 75 00 48 c7 c7 00 dc eb 89 e8 17 01 ea 07 <0f> 0b 41 bc ef ff ff ff e8 4d 33 2b 00 44 89 e0 48 83 c4 18 5b 5d
RSP: 0018:ffffc90004bf7ca8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff8880262f5108 RCX: 0000000000000000
RDX: ffff88807aa2c1c0 RSI: ffffffff81611e08 RDI: fffff5200097ef87
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880262f5108 R14: ffff8880731e9110 R15: dffffc0000000000
FS:  0000555556457300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000280 CR3: 0000000077ac8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __blocking_notifier_chain_register kernel/notifier.c:266 [inline]
 blocking_notifier_chain_register+0x6f/0xc0 kernel/notifier.c:284
 hci_register_suspend_notifier net/bluetooth/hci_core.c:2749 [inline]
 hci_register_suspend_notifier+0x9d/0xc0 net/bluetooth/hci_core.c:2743
 hci_sock_bind+0x14b1/0x1760 net/bluetooth/hci_sock.c:1234
 __sys_bind+0x1e9/0x250 net/socket.c:1776
 __do_sys_bind net/socket.c:1787 [inline]
 __se_sys_bind net/socket.c:1785 [inline]
 __x64_sys_bind+0x6f/0xb0 net/socket.c:1785
 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:0x7f96a8c094a9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 d1 15 00 00 90 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:00007ffd0e811388 EFLAGS: 00000246 ORIG_RAX: 0000000000000031
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f96a8c094a9
RDX: 0000000000000006 RSI: 0000000020000280 RDI: 0000000000000004
RBP: 0000000000000003 R08: 0000000000000150 R09: 0000000000000150
R10: 0000000000000000 R11: 0000000000000246 R12: 00005555564572b8
R13: 0000000000000011 R14: 00007ffd0e8113f0 R15: 00007ffd0e8113a8
 </TASK>

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/08/30 03:28 upstream b90cb1053190 5b44472d .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in notifier_chain_register
2022/08/17 11:33 upstream 7ebfc85e2cd7 4e72d229 .config console log report syz C ci-upstream-kasan-gce-root WARNING in notifier_chain_register
2022/08/13 16:32 upstream 7ebfc85e2cd7 8dfcaa3d .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in notifier_chain_register
2022/08/25 21:27 net-old 0cf731f9ebb5 9b5bf4cd .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in notifier_chain_register
2022/08/25 21:56 net-next-old c19d893fbf3f 9b5bf4cd .config console log report syz C ci-upstream-net-kasan-gce WARNING in notifier_chain_register
2022/10/01 18:53 linux-next aaa11ce2ffc8 feb56351 .config console log report syz C [disk image] [vmlinux] ci-upstream-linux-next-kasan-gce-root WARNING in notifier_chain_register
2022/09/24 10:04 linux-next aaa11ce2ffc8 0042f2b4 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in notifier_chain_register
2022/07/11 01:19 linux-next cb71b93c2dc3 b5765a15 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in notifier_chain_register
2022/07/06 06:56 linux-next cb71b93c2dc3 bff65f44 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in notifier_chain_register
2022/09/23 03:07 net-old e738455b2c6d 0042f2b4 .config console log report info ci-upstream-net-this-kasan-gce WARNING in notifier_chain_register
2022/08/30 19:48 net-old f612466ebecb 4a380809 .config console log report info ci-upstream-net-this-kasan-gce WARNING in notifier_chain_register
2022/08/10 23:27 net-old 6fd2c17fb6e0 a6201f11 .config console log report info ci-upstream-net-this-kasan-gce WARNING in notifier_chain_register
2022/09/24 11:34 net-next-old 9258b8b1be2e 0042f2b4 .config console log report info ci-upstream-net-kasan-gce WARNING in notifier_chain_register
2022/09/19 00:20 net-next-old 44a8535fb87c dd9a85ff .config console log report info ci-upstream-net-kasan-gce WARNING in notifier_chain_register
2022/09/18 04:32 net-next-old 44a8535fb87c dd9a85ff .config console log report info ci-upstream-net-kasan-gce WARNING in notifier_chain_register
2022/07/27 00:17 linux-next cb71b93c2dc3 279b89c2 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in notifier_chain_register
* Struck through repros no longer work on HEAD.