INFO: task syz.2.560:7908 blocked for more than 142 seconds. Not tainted 6.14.0-rc7-syzkaller-00205-g586de92313fc #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.560 state:D stack:27392 pid:7908 tgid:7902 ppid:5827 task_flags:0x400040 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5378 [inline] __schedule+0x18bc/0x4c40 kernel/sched/core.c:6765 __schedule_loop kernel/sched/core.c:6842 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6857 schedule_timeout+0xb0/0x290 kernel/time/sleep_timeout.c:75 ___down_common kernel/locking/semaphore.c:229 [inline] __down_common+0x375/0x820 kernel/locking/semaphore.c:250 down+0x84/0xc0 kernel/locking/semaphore.c:64 console_lock+0x145/0x1b0 kernel/printk/printk.c:2833 vcs_open+0x5d/0xd0 drivers/tty/vt/vc_screen.c:763 chrdev_open+0x521/0x600 fs/char_dev.c:414 do_dentry_open+0xdec/0x1960 fs/open.c:956 vfs_open+0x3b/0x370 fs/open.c:1086 do_open fs/namei.c:3830 [inline] path_openat+0x2c81/0x3590 fs/namei.c:3989 do_filp_open+0x27f/0x4e0 fs/namei.c:4016 do_sys_openat2+0x13e/0x1d0 fs/open.c:1428 do_sys_open fs/open.c:1443 [inline] __do_sys_openat fs/open.c:1459 [inline] __se_sys_openat fs/open.c:1454 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1454 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff4f3d8d169 RSP: 002b:00007ff4f4c9e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ff4f3fa6080 RCX: 00007ff4f3d8d169 RDX: 0000000000008840 RSI: 0000200000000000 RDI: ffffffffffffff9c RBP: 00007ff4f3e0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff4f3fa6080 R15: 00007fff5f89f4b8 Showing all locks held in the system: 1 lock held by kthreadd/2: 1 lock held by kworker/R-kvfre/6: #0: ffffffff8e9e46e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2678 4 locks held by kworker/0:0/9: 2 locks held by kworker/0:1/10: 3 locks held by kworker/u8:0/12: 3 locks held by kworker/u8:1/13: 1 lock held by kworker/R-mm_pe/14: 4 locks held by kworker/1:0/26: 1 lock held by khungtaskd/31: #0: ffffffff8eb393e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8eb393e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8eb393e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6746 2 locks held by kworker/u8:2/36: #0: ffff88801b089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801b089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3319 #1: ffffc90000ac7c60 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90000ac7c60 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3319 3 locks held by kworker/u8:3/46: 5 locks held by kworker/1:1/48: 4 locks held by kworker/u8:4/62: 2 locks held by kworker/0:2/975: 3 locks held by kworker/u8:6/1088: 3 locks held by kworker/u8:7/1118: 3 locks held by kworker/u8:8/2975: 3 locks held by syslogd/5180: 1 lock held by klogd/5187: 2 locks held by udevd/5198: 1 lock held by dhcpcd/5491: 2 locks held by getty/5581: #0: ffff88814d7d30a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x616/0x1770 drivers/tty/n_tty.c:2211 2 locks held by syz-executor/5828: 2 locks held by syz-executor/5830: 3 locks held by kworker/1:3/5834: 1 lock held by kworker/R-wg-cr/5856: #0: ffffffff8e9e46e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffffffff8e9e46e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xa21/0xf90 kernel/workqueue.c:3529 1 lock held by kworker/R-wg-cr/5857: #0: ffffffff8e9e46e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffffffff8e9e46e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xa21/0xf90 kernel/workqueue.c:3529 1 lock held by kworker/R-wg-cr/5869: #0: ffffffff8e9e46e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffffffff8e9e46e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xa21/0xf90 kernel/workqueue.c:3529 4 locks held by kworker/1:4/5873: 4 locks held by kworker/1:5/5874: 1 lock held by kworker/0:3/5875: #0: ffffffff8e9e46e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2678 4 locks held by kworker/0:4/5876: 2 locks held by kworker/0:5/5877: 2 locks held by kworker/1:7/5922: 3 locks held by kworker/u8:9/5930: 3 locks held by kworker/u8:10/5931: 3 locks held by kworker/1:8/5962: #0: ffff88805e008548 ((wq_completion)wg-kex-wg0#6){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88805e008548 ((wq_completion)wg-kex-wg0#6){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3319 #1: ffffc9000466fc60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((typeof(*((worker))) *)(( unsigned long)((worker)))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc9000466fc60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((typeof(*((worker))) *)(( unsigned long)((worker)))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3319 #2: ffff88807f887538 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_begin_session+0x38/0xc00 drivers/net/wireguard/noise.c:822 3 locks held by kworker/u8:11/6031: 3 locks held by kworker/u8:12/6038: 3 locks held by kworker/u8:13/6307: 3 locks held by kworker/u8:14/7519: 3 locks held by kworker/u8:15/7520: 3 locks held by kworker/u8:16/7521: 3 locks held by kworker/u8:17/7522: 1 lock held by syz.3.557/7894: 3 locks held by syz.1.559/7907: 3 locks held by syz.1.559/7910: 4 locks held by kworker/u8:2/7915: 4 locks held by kworker/u8:18/7916: 3 locks held by syz-executor/7919: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.14.0-rc7-syzkaller-00205-g586de92313fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:236 [inline] watchdog+0x1058/0x10a0 kernel/hung_task.c:399 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 7916 Comm: kworker/u8:18 Not tainted 6.14.0-rc7-syzkaller-00205-g586de92313fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: bat_events batadv_bla_periodic_work RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5589 [inline] RIP: 0010:lock_is_held_type+0x82/0x190 kernel/locking/lockdep.c:5923 Code: 41 89 f6 49 89 ff 48 c7 04 24 00 00 00 00 9c 8f 04 24 4c 8b 24 24 fa 48 c7 c7 40 c1 2a 8c e8 05 1b 00 00 65 ff 05 ee 58 01 74 <41> 83 bd e8 0a 00 00 00 7e 47 4c 89 eb 48 81 c3 f0 0a 00 00 31 ed RSP: 0018:ffffc90000006308 EFLAGS: 00000002 RAX: 0000000000000000 RBX: 00000000ffffffff RCX: ffff888030501e00 RDX: 0000000000000100 RSI: ffffffff8c2ac140 RDI: ffffffff8c802ce0 RBP: ffff888032da24b8 R08: ffffffff8a9f183f R09: ffffc90000006690 R10: ffffc90000006680 R11: fffff52000000c9e R12: 0000000000000246 R13: ffff888030501e00 R14: 00000000ffffffff R15: ffffffff8fec3c48 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efd72dc0ff8 CR3: 000000003505c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:249 [inline] lockdep_rtnl_is_held+0x1b/0x40 net/core/rtnetlink.c:176 __in6_dev_get include/net/addrconf.h:347 [inline] ip6_ignore_linkdown include/net/addrconf.h:443 [inline] find_match+0xd8/0xc10 net/ipv6/route.c:747 __find_rr_leaf+0x275/0x8e0 net/ipv6/route.c:835 find_rr_leaf net/ipv6/route.c:856 [inline] rt6_select net/ipv6/route.c:900 [inline] fib6_table_lookup+0x413/0xbb0 net/ipv6/route.c:2195 ip6_pol_route+0x273/0x15d0 net/ipv6/route.c:2231 pol_lookup_func include/net/ip6_fib.h:616 [inline] fib6_rule_lookup+0x58c/0x790 net/ipv6/fib6_rules.c:119 ip6_route_input_lookup net/ipv6/route.c:2300 [inline] ip6_route_input+0x859/0xd90 net/ipv6/route.c:2596 ip6_rcv_finish+0x140/0x3d0 net/ipv6/ip6_input.c:77 ip_sabotage_in+0x203/0x290 net/bridge/br_netfilter_hooks.c:993 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xc3/0x220 net/netfilter/core.c:626 nf_hook include/linux/netfilter.h:269 [inline] NF_HOOK+0x29e/0x450 include/linux/netfilter.h:312 __netif_receive_skb_one_core net/core/dev.c:5896 [inline] __netif_receive_skb+0x1ea/0x650 net/core/dev.c:6009 netif_receive_skb_internal net/core/dev.c:6095 [inline] netif_receive_skb+0x1e8/0x890 net/core/dev.c:6154 NF_HOOK+0x9e/0x400 include/linux/netfilter.h:314 br_handle_frame_finish+0x1905/0x2000 br_nf_hook_thresh+0x472/0x590 br_nf_pre_routing_finish_ipv6+0xaa0/0xdd0 NF_HOOK include/linux/netfilter.h:314 [inline] br_nf_pre_routing_ipv6+0x379/0x770 net/bridge/br_netfilter_ipv6.c:184 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_bridge_pre net/bridge/br_input.c:282 [inline] br_handle_frame+0x9f3/0x1530 net/bridge/br_input.c:433 __netif_receive_skb_core+0x13e7/0x4540 net/core/dev.c:5790 __netif_receive_skb_one_core net/core/dev.c:5894 [inline] __netif_receive_skb+0x12f/0x650 net/core/dev.c:6009 process_backlog+0x662/0x15b0 net/core/dev.c:6357 __napi_poll+0xcb/0x490 net/core/dev.c:7191 napi_poll net/core/dev.c:7260 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:7382 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 do_softirq+0x11b/0x1e0 kernel/softirq.c:462 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:389 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_bla_purge_backbone_gw+0x445/0x4e0 net/batman-adv/bridge_loop_avoidance.c:1259 batadv_bla_periodic_work+0xc8/0xaf0 net/batman-adv/bridge_loop_avoidance.c:1445 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xabe/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd30 kernel/workqueue.c:3400 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244