INFO: task syz.4.226:4848 blocked for more than 143 seconds. Not tainted 5.15.182-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.226 state:D stack:25824 pid: 4848 ppid: 4176 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 perf_pending_task_sync+0x13c/0x1c0 kernel/events/core.c:5127 _free_event+0x34/0xe60 kernel/events/core.c:5133 put_event kernel/events/core.c:5258 [inline] perf_event_release_kernel+0x832/0x8c0 kernel/events/core.c:5383 perf_release+0x37/0x40 kernel/events/core.c:5393 __fput+0x234/0x930 fs/file_table.c:311 task_work_run+0x125/0x1a0 kernel/task_work.c:188 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0x616/0x20a0 kernel/exit.c:874 do_group_exit+0x12e/0x300 kernel/exit.c:996 get_signal+0x6ca/0x12c0 kernel/signal.c:2900 arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fd2f94ea927 RSP: 002b:00007fd2f7359c48 EFLAGS: 00000206 ORIG_RAX: 0000000000000027 RAX: 0000000000000077 RBX: 00007fd2f7359db0 RCX: 00007fd2f94ea927 RDX: 00007fd2f7359c80 RSI: 00007fd2f7359db0 RDI: 0000000000000021 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000206 R12: 0000000000000073 R13: 00007fd2f735aeb0 R14: 9999999999999999 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c11bea0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3939: #0: ffff88802bf48098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900026362e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 4 locks held by syz-executor/4168: #0: ffff888079614ff0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x5f/0x1030 net/bluetooth/hci_core.c:1737 #1: ffff888079614078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x3f4/0x1030 net/bluetooth/hci_core.c:1782 #2: ffffffff8d370e08 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1517 [inline] #2: ffffffff8d370e08 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa4/0x220 net/bluetooth/hci_conn.c:1622 #3: ffffffff8c120928 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #3: ffffffff8c120928 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x347/0x6b0 kernel/rcu/tree_exp.h:845 1 lock held by syz-executor/4169: #0: ffffffff8d22a288 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:699 [inline] #0: ffffffff8d22a288 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3d/0x1b0 drivers/net/tun.c:3440 3 locks held by syz-executor/4183: #0: ffff88807c638ff0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x5f/0x1030 net/bluetooth/hci_core.c:1737 #1: ffff88807c638078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x3f4/0x1030 net/bluetooth/hci_core.c:1782 #2: ffffffff8d370e08 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1517 [inline] #2: ffffffff8d370e08 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa4/0x220 net/bluetooth/hci_conn.c:1622 2 locks held by kworker/1:4/4216: #0: ffff888016872138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000358fd00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 2 locks held by kworker/1:5/4247: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90003e5fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 4 locks held by kworker/u4:7/5191: #0: ffff8880169cd938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90002ebfd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d21e610 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x132/0xb80 net/core/net_namespace.c:589 #3: ffffffff8d22a288 (rtnl_mutex){+.+.}-{3:3}, at: cangw_pernet_exit+0xe/0x20 net/can/gw.c:1244 2 locks held by kworker/1:6/5223: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90002ddfd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 2 locks held by syz-executor/6787: #0: ffffffff8d22a288 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:699 [inline] #0: ffffffff8d22a288 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3d/0x1b0 drivers/net/tun.c:3440 #1: ffffffff8c120928 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #1: ffffffff8c120928 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x320/0x6b0 kernel/rcu/tree_exp.h:845 3 locks held by syz-executor/7455: #0: ffff888060d8cff0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x5f/0x1030 net/bluetooth/hci_core.c:1737 #1: ffff888060d8c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x3f4/0x1030 net/bluetooth/hci_core.c:1782 #2: ffffffff8d370e08 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1517 [inline] #2: ffffffff8d370e08 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa4/0x220 net/bluetooth/hci_conn.c:1622 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.182-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 20 Comm: ksoftirqd/1 Not tainted 5.15.182-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:__lock_acquire+0xd7c/0x7c60 kernel/locking/lockdep.c:4982 Code: 00 00 00 e8 16 a4 00 00 85 c0 0f 84 7b 4c 00 00 48 c7 c0 60 0f 0a 96 48 c1 e8 03 49 b8 00 00 00 00 00 fc ff df 42 0f b6 04 00 <84> c0 0f 85 98 5b 00 00 83 3d 25 1b ae 14 00 48 8b 4c 24 60 75 3d RSP: 0018:ffffc90000da5da0 EFLAGS: 00000802 RAX: 0000000000000004 RBX: 0000000000000004 RCX: ffffffff815c98b4 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ff9a0c0 RBP: ffffc90000da5ff0 R08: dffffc0000000000 R09: fffffbfff1ff3419 R10: fffffbfff1ff3419 R11: 1ffffffff1ff3418 R12: ffff88813fe70bb0 R13: ffff88813fe70000 R14: ffffffff8f94b378 R15: ffff88813fe70b90 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff265aa67b0 CR3: 0000000029b85000 CR4: 00000000003506e0 DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] dev_get_by_index+0x21/0x290 net/core/dev.c:913 batadv_tt_local_add+0xce/0x1a60 net/batman-adv/translation-table.c:654 batadv_interface_tx+0x681/0x1410 net/batman-adv/soft-interface.c:251 __netdev_start_xmit include/linux/netdevice.h:5027 [inline] netdev_start_xmit include/linux/netdevice.h:5041 [inline] xmit_one net/core/dev.c:3649 [inline] dev_hard_start_xmit+0x2a5/0x7e0 net/core/dev.c:3665 __dev_queue_xmit+0x19df/0x2ed0 net/core/dev.c:4288 br_dev_queue_push_xmit+0x685/0x820 net/bridge/br_forward.c:53 NF_HOOK+0x590/0x610 include/linux/netfilter.h:302 br_nf_post_routing+0x915/0xcb0 net/bridge/br_netfilter_hooks.c:958 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0xb9/0x200 net/netfilter/core.c:584 nf_hook include/linux/netfilter.h:257 [inline] NF_HOOK+0x1eb/0x370 include/linux/netfilter.h:300 br_forward_finish+0x74/0x80 net/bridge/br_forward.c:66 br_nf_hook_thresh net/bridge/br_netfilter_hooks.c:-1 [inline] br_nf_forward_finish+0x986/0xd20 net/bridge/br_netfilter_hooks.c:665 NF_HOOK+0x590/0x610 include/linux/netfilter.h:302 br_nf_forward_ip+0xc5c/0x10a0 net/bridge/br_netfilter_hooks.c:735 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0xb9/0x200 net/netfilter/core.c:584 nf_hook include/linux/netfilter.h:257 [inline] NF_HOOK+0x1eb/0x370 include/linux/netfilter.h:300 __br_forward+0x41f/0x600 net/bridge/br_forward.c:115 deliver_clone net/bridge/br_forward.c:131 [inline] maybe_deliver+0xb5/0x150 net/bridge/br_forward.c:189 br_flood+0x2fc/0x450 net/bridge/br_forward.c:231 br_handle_frame_finish+0x1018/0x12c0 net/bridge/br_input.c:180 br_nf_hook_thresh net/bridge/br_netfilter_hooks.c:-1 [inline] br_nf_pre_routing_finish+0x12c6/0x1d50 net/bridge/br_netfilter_hooks.c:429 NF_HOOK+0x590/0x610 include/linux/netfilter.h:302 br_nf_pre_routing+0xdc3/0x1390 net/bridge/br_netfilter_hooks.c:538 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_bridge_pre net/bridge/br_input.c:242 [inline] br_handle_frame+0x89b/0x1180 net/bridge/br_input.c:384 __netif_receive_skb_core+0xfb0/0x35d0 net/core/dev.c:5419 __netif_receive_skb_one_core net/core/dev.c:5523 [inline] __netif_receive_skb+0x74/0x290 net/core/dev.c:5639 process_backlog+0x364/0x780 net/core/dev.c:6516 __napi_poll+0xc0/0x430 net/core/dev.c:7075 napi_poll net/core/dev.c:7142 [inline] net_rx_action+0x4a8/0x9c0 net/core/dev.c:7232 handle_softirqs+0x328/0x820 kernel/softirq.c:558 run_ksoftirqd+0x98/0xf0 kernel/softirq.c:925 smpboot_thread_fn+0x4f6/0x970 kernel/smpboot.c:164 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287