INFO: task syz.9.2566:18920 blocked for more than 144 seconds. Not tainted 6.14.0-rc6-syzkaller-00003-g4d872d51bc9d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.2566 state:D stack:26992 pid:18920 tgid:18919 ppid:18566 task_flags:0x400140 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5378 [inline] __schedule+0x190e/0x4c90 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:225 [inline] __down_common+0x375/0x820 kernel/locking/semaphore.c:246 down+0x84/0xc0 kernel/locking/semaphore.c:63 console_lock+0x145/0x1b0 kernel/printk/printk.c:2833 con_install+0x99/0x7f0 drivers/tty/vt/vt.c:3515 tty_driver_install_tty drivers/tty/tty_io.c:1304 [inline] tty_init_dev+0xc1/0x4c0 drivers/tty/tty_io.c:1416 tty_open_by_driver drivers/tty/tty_io.c:2082 [inline] tty_open+0x9d9/0xde0 drivers/tty/tty_io.c:2129 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:0x7fc8e958bad0 RSP: 002b:00007fc8ea339b70 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fc8e958bad0 RDX: 0000000000000002 RSI: 00007fc8ea339c10 RDI: 00000000ffffff9c RBP: 00007fc8ea339c10 R08: 0000000000000000 R09: 00007fc8ea339987 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc8e97a5fa0 R15: 00007fc8e98cfa28 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 3 locks held by kworker/u8:1/13: 1 lock held by kworker/R-mm_pe/14: #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 2 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 1 lock held by kworker/R-write/33: #0: ffffffff8e9e46e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2678 3 locks held by kworker/u8:2/36: 3 locks held by kworker/u8:3/53: #0: ffff88814cee2148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88814cee2148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3319 #1: ffffc90000be7c60 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90000be7c60 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3319 #2: ffffffff8fed5d08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:129 [inline] #2: ffffffff8fed5d08 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4730 3 locks held by kworker/1:1/59: #0: ffff88801b080d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801b080d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3319 #1: ffffc9000124fc60 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc9000124fc60 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3319 #2: ffffffff8fed5d08 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 4 locks held by kworker/0:2/976: 2 locks held by kworker/1:2/3159: 1 lock held by kworker/R-bat_e/3398: #0: ffffffff8e9e46e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2678 4 locks held by kworker/u8:7/3505: #0: ffff8880597d3148 ((wq_completion)wg-kex-wg2#3){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff8880597d3148 ((wq_completion)wg-kex-wg2#3){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3319 #1: ffffc9000cfe7c60 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc9000cfe7c60 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3319 #2: ffff888061fb1308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x105/0xc90 drivers/net/wireguard/noise.c:529 #3: ffff88805ff532b8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x116/0xc90 drivers/net/wireguard/noise.c:530 3 locks held by syslogd/5190: 2 locks held by udevd/5208: 2 locks held by getty/5601: #0: ffff8880319350a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000330b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x616/0x1770 drivers/tty/n_tty.c:2211 3 locks held by kworker/1:3/5815: 5 locks held by kworker/0:1/5839: 1 lock held by syz-executor/5845: 4 locks held by kworker/u8:0/5886: 1 lock held by kworker/R-wg-cr/5892: #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/5893: #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/5895: #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/5897: #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/5901: 1 lock held by kworker/R-wg-cr/5904: #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/5910: 4 locks held by kworker/1:5/5911: 3 locks held by kworker/u8:4/5912: 8 locks held by kworker/0:4/5914: 3 locks held by kworker/u8:5/5915: 1 lock held by kworker/1:7/5916: #0: ffffffff8e9e46e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2678 4 locks held by kworker/1:8/5917: #0: ffff888024fd5148 ((wq_completion)wg-kex-wg1#21){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff888024fd5148 ((wq_completion)wg-kex-wg1#21){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3319 #1: ffffc9000452fc60 ((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: ffffc9000452fc60 ((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: ffff88805fdd9308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x158/0xd40 drivers/net/wireguard/noise.c:598 #3: ffff88805ff57538 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x6fd/0xd40 drivers/net/wireguard/noise.c:632 7 locks held by kworker/0:5/5941: 3 locks held by kworker/0:6/5942: #0: ffff88801b081d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801b081d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3319 #1: ffffc900045cfc60 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc900045cfc60 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3319 #2: ffffffff8fed5d08 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0x99/0xfb0 net/wireless/reg.c:2481 2 locks held by kworker/0:7/5943: 4 locks held by kworker/u8:6/6079: 3 locks held by kworker/u8:8/6263: 1 lock held by kworker/R-wg-cr/11556: #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/11569: #0: ffffffff8e9e46e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2678 2 locks held by syz-executor/12001: 1 lock held by kworker/R-wg-cr/12147: #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/12148: #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/0:0/14084: 3 locks held by syz-executor/14605: 1 lock held by kworker/R-wg-cr/14640: #0: ffffffff8e9e46e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2678 1 lock held by kworker/R-wg-cr/14643: #0: ffffffff8e9e46e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2678 1 lock held by kworker/R-wg-cr/14644: #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 2 locks held by kworker/0:8/16411: 6 locks held by kworker/u8:9/16461: #0: ffff88801bef6148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801bef6148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3319 #1: ffffc90003b67c60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90003b67c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3319 #2: ffffffff8fec94d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17a/0xd60 net/core/net_namespace.c:606 #3: ffffffff8fed5d08 (rtnl_mutex){+.+.}-{4:4}, at: wg_netns_pre_exit+0x1f/0x1e0 drivers/net/wireguard/device.c:415 #4: ffff8880617754e8 (&wg->device_update_lock){+.+.}-{4:4}, at: wg_netns_pre_exit+0xba/0x1e0 drivers/net/wireguard/device.c:420 #5: ffffffff8eb3e8b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:302 [inline] #5: ffffffff8eb3e8b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x820 kernel/rcu/tree_exp.h:996 3 locks held by kworker/u8:10/16464: 2 locks held by kworker/u8:11/16466: 4 locks held by kworker/u8:12/16468: #0: ffff888012066948 ((wq_completion)wg-kex-wg1#22){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff888012066948 ((wq_completion)wg-kex-wg1#22){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3319 #1: ffffc90003727c60 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90003727c60 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3319 #2: ffff888060971250 (&devlink->lock_key#15){+.+.}-{4:4}, at: nsim_dev_trap_report_work+0x57/0xb50 drivers/net/netdevsim/dev.c:838 #3: ffff8880b863e958 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598 3 locks held by kworker/u8:13/16470: 3 locks held by kworker/u8:14/16473: 4 locks held by kworker/u8:15/16474: #0: ffff888059551948 ((wq_completion)wg-kex-wg2#5){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff888059551948 ((wq_completion)wg-kex-wg2#5){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3319 #1: ffffc90000107c60 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90000107c60 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3319 #2: ffff8880615d5308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x105/0xc90 drivers/net/wireguard/noise.c:529 #3: ffff88805f856bb8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x116/0xc90 drivers/net/wireguard/noise.c:530 3 locks held by kworker/u8:16/16475: #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: ffffc90002fd7c60 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90002fd7c60 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3319 #2: ffffffff8fed5d08 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:285 3 locks held by kworker/u8:17/16477: 4 locks held by kworker/1:6/17181: 4 locks held by kworker/1:9/17649: 1 lock held by kworker/R-wg-cr/18603: #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/18604: #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/18605: #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 syz-executor/18617: 1 lock held by kworker/R-wg-cr/18626: #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/18631: #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/18632: #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 6 locks held by syz.3.2550/18838: 2 locks held by dhcpcd-run-hook/18907: 2 locks held by syz.9.2566/18920: #0: ffffffff8f376308 (tty_mutex){+.+.}-{4:4}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffffffff8f376308 (tty_mutex){+.+.}-{4:4}, at: tty_open+0x232/0xde0 drivers/tty/tty_io.c:2129 #1: ffff888069d1f1c0 (&tty->legacy_mutex){+.+.}-{4:4}, at: tty_init_dev+0x78/0x4c0 drivers/tty/tty_io.c:1415 4 locks held by kworker/0:9/18923: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.14.0-rc6-syzkaller-00003-g4d872d51bc9d #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5886 Comm: kworker/u8:0 Not tainted 6.14.0-rc6-syzkaller-00003-g4d872d51bc9d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: bat_events batadv_tt_purge RIP: 0010:memset_orig+0x30/0xb0 arch/x86/lib/memset_64.S:66 Code: fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 01 01 48 0f af c1 41 89 f9 41 83 e1 07 75 70 48 89 d1 48 c1 e9 06 74 35 0f 1f 44 00 00 <48> ff c9 48 89 07 48 89 47 08 48 89 47 10 48 89 47 18 48 89 47 20 RSP: 0018:ffffc90000a279c8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff8880491cb000 RCX: 0000000000000001 RDX: 0000000000000200 RSI: 0000000000000000 RDI: ffffed10092397c0 RBP: ffffea00012472c0 R08: ffffffff9454c94f R09: 0000000000000000 R10: ffffed1009239600 R11: fffffbfff28a992a R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000001000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561338a01048 CR3: 000000000e938000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kasan_poison mm/kasan/shadow.c:146 [inline] kasan_unpoison+0x46/0x70 mm/kasan/shadow.c:178 __kasan_unpoison_pages+0x24/0x30 mm/kasan/common.c:130 kasan_unpoison_pages include/linux/kasan.h:125 [inline] post_alloc_hook+0xba/0x240 mm/page_alloc.c:1535 prep_new_page mm/page_alloc.c:1559 [inline] get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3477 __alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4740 alloc_pages_mpol+0x311/0x660 mm/mempolicy.c:2270 alloc_slab_page mm/slub.c:2423 [inline] allocate_slab+0x8f/0x3a0 mm/slub.c:2587 new_slab mm/slub.c:2640 [inline] ___slab_alloc+0xc27/0x14a0 mm/slub.c:3826 __slab_alloc+0x58/0xa0 mm/slub.c:3916 __slab_alloc_node mm/slub.c:3991 [inline] slab_alloc_node mm/slub.c:4152 [inline] kmem_cache_alloc_noprof+0x268/0x380 mm/slub.c:4171 skb_clone+0x20c/0x390 net/core/skbuff.c:1994 deliver_clone net/bridge/br_forward.c:125 [inline] br_flood+0x3df/0x680 net/bridge/br_forward.c:249 br_handle_frame_finish+0x18d2/0x2000 net/bridge/br_input.c:220 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:5787 __netif_receive_skb_one_core net/core/dev.c:5891 [inline] __netif_receive_skb+0x12f/0x650 net/core/dev.c:6006 process_backlog+0x662/0x15b0 net/core/dev.c:6354 __napi_poll+0xcb/0x490 net/core/dev.c:7188 napi_poll net/core/dev.c:7257 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:7379 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_tt_global_purge net/batman-adv/translation-table.c:2250 [inline] batadv_tt_purge+0x4dd/0xa40 net/batman-adv/translation-table.c:3510 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