INFO: task syz-executor.1:22527 blocked for more than 143 seconds. Not tainted 6.5.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28384 pid:22527 ppid:5070 flags:0x20000006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_timeout+0x27a/0x2c0 kernel/time/timer.c:2143 ___down_common kernel/locking/semaphore.c:225 [inline] __down_common+0x328/0x6c0 kernel/locking/semaphore.c:246 down+0x74/0xa0 kernel/locking/semaphore.c:63 console_lock+0x2c/0x80 kernel/printk/printk.c:2600 con_install+0x91/0x600 drivers/tty/vt/vt.c:3332 tty_driver_install_tty drivers/tty/tty_io.c:1312 [inline] tty_init_dev.part.0+0x99/0x660 drivers/tty/tty_io.c:1424 tty_init_dev include/linux/err.h:61 [inline] tty_open_by_driver drivers/tty/tty_io.c:2090 [inline] tty_open+0xb29/0x1020 drivers/tty/tty_io.c:2137 chrdev_open+0x277/0x700 fs/char_dev.c:414 do_dentry_open+0x88b/0x1780 fs/open.c:914 do_open fs/namei.c:3636 [inline] path_openat+0x19af/0x29c0 fs/namei.c:3793 do_filp_open+0x1de/0x430 fs/namei.c:3820 do_sys_openat2+0x176/0x1e0 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_compat_sys_openat fs/open.c:1482 [inline] __se_compat_sys_openat fs/open.c:1480 [inline] __ia32_compat_sys_openat+0x16e/0x200 fs/open.c:1480 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x61/0xe0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7fa6579 RSP: 002b:00000000f7fa1150 EFLAGS: 00000293 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 00000000f7fa11a0 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 00000000f7353ff4 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c9a5970 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c9a5670 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/28: #0: ffffffff8c9a6580 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 2 locks held by getty/4782: #0: ffff8880285dd098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187 3 locks held by kworker/1:3/5114: #0: ffff888028328538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888028328538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888028328538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888028328538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888028328538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888028328538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888028328538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc9000574fd80 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffffffff8e3dfb68 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcf/0x1410 net/ipv6/addrconf.c:4093 3 locks held by kworker/1:9/9306: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc90003857d80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffffffff8e3dfb68 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:277 4 locks held by kworker/0:24/9826: 4 locks held by kworker/0:10/23917: 8 locks held by kworker/0:2/5261: 2 locks held by kworker/0:0/17293: 4 locks held by kworker/0:7/22265: 3 locks held by kworker/0:11/22514: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc90007a6fd80 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffffffff8e3dfb68 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:75 2 locks held by syz-executor.1/22527: #0: ffffffff8d4a5868 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2054 [inline] #0: ffffffff8d4a5868 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x567/0x1020 drivers/tty/tty_io.c:2137 #1: ffff888041f2d1c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_init_dev.part.0+0x37/0x660 drivers/tty/tty_io.c:1423 4 locks held by syz-executor.1/22692: #0: ffffffff8e479950 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1077 #1: ffffffff8e479a08 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8e479a08 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x573/0x800 net/netlink/genetlink.c:1065 #2: ffffffff8e3dfb68 (rtnl_mutex){+.+.}-{3:3}, at: wiphy_register+0x207c/0x2ce0 net/wireless/core.c:962 #3: ffff88802c340768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5773 [inline] #3: ffff88802c340768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: reg_process_self_managed_hints+0x78/0x170 net/wireless/reg.c:3181 2 locks held by syz-executor.1/23042: #0: ffffffff8e3cab90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487 #1: ffffffff8e3dfb68 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8e3dfb68 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x136/0x230 net/smc/smc_pnet.c:878 4 locks held by kworker/0:13/23044: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2ac/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf29/0x11b0 kernel/hung_task.c:379 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5261 Comm: kworker/0:2 Not tainted 6.5.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Workqueue: events cfg80211_wiphy_work RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x70 kernel/kcov.c:207 Code: 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be b0 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa <65> 8b 05 5d b1 7d 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b RSP: 0018:ffffc900000072e8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888035d0b640 RSI: ffff88805448b800 RDI: ffff88807ce8cc80 RBP: 1ffff92000000e61 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 000000000000004e R12: ffff888035d0b640 R13: ffff88807ce8cc80 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe5f17afac CR3: 000000000c776000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: br_multicast_count+0x78/0xba0 net/bridge/br_multicast.c:5018 maybe_deliver+0x38f/0x450 net/bridge/br_forward.c:193 br_flood+0x17e/0x640 net/bridge/br_forward.c:235 br_handle_frame_finish+0xfcb/0x1dd0 net/bridge/br_input.c:210 br_nf_hook_thresh+0x2ff/0x410 net/bridge/br_netfilter_hooks.c:1048 br_nf_pre_routing_finish_ipv6+0x683/0xf20 net/bridge/br_netfilter_ipv6.c:148 NF_HOOK include/linux/netfilter.h:303 [inline] br_nf_pre_routing_ipv6+0x41b/0x850 net/bridge/br_netfilter_ipv6.c:178 br_nf_pre_routing+0x8d8/0x1950 net/bridge/br_netfilter_hooks.c:508 nf_hook_entry_hookfn include/linux/netfilter.h:143 [inline] nf_hook_bridge_pre net/bridge/br_input.c:272 [inline] br_handle_frame+0x9da/0x16d0 net/bridge/br_input.c:417 __netif_receive_skb_core.constprop.0+0xa78/0x3df0 net/core/dev.c:5346 __netif_receive_skb_one_core+0xaf/0x180 net/core/dev.c:5450 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5566 process_backlog+0x101/0x6c0 net/core/dev.c:5894 __napi_poll.constprop.0+0xb4/0x530 net/core/dev.c:6460 napi_poll net/core/dev.c:6527 [inline] net_rx_action+0x956/0xe90 net/core/dev.c:6660 __do_softirq+0x218/0x965 kernel/softirq.c:553 do_softirq kernel/softirq.c:454 [inline] do_softirq+0xaa/0xe0 kernel/softirq.c:441 __local_bh_enable_ip+0xf8/0x120 kernel/softirq.c:381 spin_unlock_bh include/linux/spinlock.h:396 [inline] cfg80211_put_bss+0x1b4/0x280 net/wireless/scan.c:2959 ieee80211_rx_bss_put net/mac80211/scan.c:37 [inline] ieee80211_rx_bss_put+0x43/0x60 net/mac80211/scan.c:32 ieee80211_rx_bss_info net/mac80211/ibss.c:1196 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1613 [inline] ieee80211_ibss_rx_queued_mgmt+0x1ada/0x2ee0 net/mac80211/ibss.c:1642 ieee80211_iface_process_skb net/mac80211/iface.c:1604 [inline] ieee80211_iface_work+0xa1f/0xd40 net/mac80211/iface.c:1658 cfg80211_wiphy_work+0x24e/0x330 net/wireless/core.c:435 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597 worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304