syzbot


INFO: rcu detected stall in vhci_release

Status: auto-obsoleted due to no activity on 2024/12/19 05:19
Reported-by: syzbot+b380610c36b8065c5458@syzkaller.appspotmail.com
First crash: 103d, last: 103d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in vhci_release mm syz done 6 1h50m 85d 0/28 upstream: reported syz repro on 2024/09/28 11:56
linux-4.14 BUG: soft lockup in vhci_release 1 1346d 1346d 0/1 auto-closed as invalid on 2021/08/14 12:26

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2681 jiffies s: 221769 root: 0x1/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 27049 Comm: syz.3.7380 Not tainted 6.1.109-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:jhash2 include/linux/jhash.h:129 [inline]
RIP: 0010:hash_stack lib/stackdepot.c:276 [inline]
RIP: 0010:__stack_depot_save+0xb0/0x470 lib/stackdepot.c:444
Code: fd 89 fb c1 c3 06 31 eb 44 01 ef 89 d9 c1 c1 08 41 29 dd 44 31 e9 01 fb 29 cf 89 c8 c1 c0 10 31 f8 01 d9 89 c5 c1 c5 13 29 c3 <31> dd 01 c8 29 e9 41 89 ed 41 c1 c5 04 41 31 cd 01 c5 83 c6 fd 48
RSP: 0018:ffffc90000007078 EFLAGS: 00000287
RAX: 00000000cb36b4d1 RBX: 00000000de405fa3 RCX: 000000002be5e9d2
RDX: ffffc90000007110 RSI: 0000000000000014 RDI: 000000001e6836bf
RBP: 00000000a68e59b5 R08: 0000000000000010 R09: 0000000000000000
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000800
R13: 0000000022668256 R14: 0000000000000000 R15: ffffc900000070e0
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000000000b CR3: 00000000278e0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 kasan_save_stack+0x4d/0x60 mm/kasan/common.c:46
 __kasan_record_aux_stack+0xb0/0xc0 mm/kasan/generic.c:486
 call_rcu+0x163/0xa10 kernel/rcu/tree.c:2845
 refdst_drop include/net/dst.h:256 [inline]
 skb_dst_drop include/net/dst.h:268 [inline]
 __dev_queue_xmit+0x9cf/0x3cf0 net/core/dev.c:4248
 dev_queue_xmit include/linux/netdevice.h:3021 [inline]
 neigh_hh_output include/net/neighbour.h:528 [inline]
 neigh_output include/net/neighbour.h:542 [inline]
 ip6_finish_output2+0xeae/0x15f0 net/ipv6/ip6_output.c:138
 __ip6_finish_output net/ipv6/ip6_output.c:205 [inline]
 ip6_finish_output+0x6a0/0xa80 net/ipv6/ip6_output.c:216
 dst_output include/net/dst.h:444 [inline]
 NF_HOOK include/linux/netfilter.h:302 [inline]
 ndisc_send_skb+0xbab/0x14e0 net/ipv6/ndisc.c:511
 addrconf_rs_timer+0x357/0x610 net/ipv6/addrconf.c:3963
 call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504
 expire_timers kernel/time/timer.c:1549 [inline]
 __run_timers+0x67c/0x890 kernel/time/timer.c:1820
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833
 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571
 __do_softirq kernel/softirq.c:605 [inline]
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666
 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:preempt_latency_start kernel/sched/core.c:5690 [inline]
RIP: 0010:preempt_schedule_common+0x6c/0xd0 kernel/sched/core.c:6726
Code: f6 85 c0 74 0a 31 ff e8 32 81 bc f6 45 31 f6 65 48 8b 1d 17 21 53 75 48 81 c3 d8 14 00 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 <74> 08 48 89 df e8 0a e1 32 f7 4c 89 33 bf 01 00 00 00 e8 fd b6 ff
RSP: 0018:ffffc9000439f0a0 EFLAGS: 00000246
RAX: 1ffff11005ba9653 RBX: ffff88802dd4b298 RCX: ffffffff8ab13b00
RDX: dffffc0000000000 RSI: ffffffff8b0c0260 RDI: ffffffff8aaf4dc9
RBP: ffffc9000439f158 R08: dffffc0000000000 R09: fffffbfff223b649
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000873e1c
R13: 1ffff92000873e38 R14: ffffffff8aaf4dc9 R15: dffffc0000000000
 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6751
 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
 _raw_spin_unlock_irqrestore+0x128/0x130 kernel/locking/spinlock.c:194
 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
 __wake_up_common_lock kernel/sched/wait.c:140 [inline]
 __wake_up+0x128/0x1c0 kernel/sched/wait.c:160
 netlink_unlock_table net/netlink/af_netlink.c:479 [inline]
 netlink_broadcast+0xfe7/0x10b0 net/netlink/af_netlink.c:1525
 uevent_net_broadcast_untagged lib/kobject_uevent.c:331 [inline]
 kobject_uevent_net_broadcast+0x377/0x560 lib/kobject_uevent.c:409
 kobject_uevent_env+0x576/0x8c0 lib/kobject_uevent.c:608
 device_del+0x9c4/0xbd0 drivers/base/core.c:3900
 device_unregister+0x1c/0xc0 drivers/base/core.c:3923
 hci_conn_cleanup net/bluetooth/hci_conn.c:173 [inline]
 hci_conn_del+0x986/0xde0 net/bluetooth/hci_conn.c:1093
 hci_conn_hash_flush+0x205/0x2a0 net/bluetooth/hci_conn.c:2453
 hci_dev_close_sync+0x9a9/0x1020 net/bluetooth/hci_sync.c:5066
 hci_dev_do_close net/bluetooth/hci_core.c:510 [inline]
 hci_unregister_dev+0x207/0x500 net/bluetooth/hci_core.c:2710
 vhci_release+0x7f/0xd0 drivers/bluetooth/hci_vhci.c:573
 __fput+0x3f6/0x8d0 fs/file_table.c:320
 task_work_run+0x246/0x300 kernel/task_work.c:203
 exit_task_work include/linux/task_work.h:39 [inline]
 do_exit+0xa73/0x26a0 kernel/exit.c:871
 do_group_exit+0x202/0x2b0 kernel/exit.c:1021
 get_signal+0x16f7/0x17d0 kernel/signal.c:2870
 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871
 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f0fc1b7def9
Code: Unable to access opcode bytes at 0x7f0fc1b7decf.
RSP: 002b:00007f0fc295a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: fffffffffffffff7 RBX: 00007f0fc1d35f80 RCX: 00007f0fc1b7def9
RDX: 0000000000000002 RSI: 0000000020000080 RDI: ffffffffffffffff
RBP: 00007f0fc1bf09f6 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f0fc1d35f80 R15: 00007ffd918ce718
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/10 05:19 linux-6.1.y 5ca5b389fddf 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in vhci_release
* Struck through repros no longer work on HEAD.