INFO: task syz.4.1480:11632 blocked for more than 143 seconds. Not tainted 6.15.0-rc1-syzkaller-00246-g900241a5cc15 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.1480 state:D stack:27288 pid:11632 tgid:11619 ppid:5820 task_flags:0x400140 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x116f/0x5de0 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0xe7/0x3a0 kernel/sched/core.c:6860 schedule_timeout+0x257/0x290 kernel/time/sleep_timeout.c:75 ___down_common+0x2d8/0x460 kernel/locking/semaphore.c:229 __down_common kernel/locking/semaphore.c:250 [inline] __down+0x20/0x30 kernel/locking/semaphore.c:258 down+0x74/0xa0 kernel/locking/semaphore.c:64 console_lock+0x5b/0xa0 kernel/printk/printk.c:2849 do_fb_ioctl+0x2c0/0x7e0 drivers/video/fbdev/core/fb_chrdev.c:86 fb_ioctl+0xe5/0x150 drivers/video/fbdev/core/fb_chrdev.c:169 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __x64_sys_ioctl+0x190/0x200 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f49cc98d169 RSP: 002b:00007f49cd74f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f49ccba6160 RCX: 00007f49cc98d169 RDX: 0000200000000380 RSI: 0000000000004601 RDI: 0000000000000007 RBP: 00007f49cca0e990 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f49ccba6160 R15: 00007ffe5abe0358 INFO: task syz.2.1489:11654 blocked for more than 143 seconds. Not tainted 6.15.0-rc1-syzkaller-00246-g900241a5cc15 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.1489 state:D stack:26104 pid:11654 tgid:11649 ppid:5829 task_flags:0x400140 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x116f/0x5de0 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0xe7/0x3a0 kernel/sched/core.c:6860 schedule_timeout+0x257/0x290 kernel/time/sleep_timeout.c:75 ___down_common+0x2d8/0x460 kernel/locking/semaphore.c:229 __down_common kernel/locking/semaphore.c:250 [inline] __down+0x20/0x30 kernel/locking/semaphore.c:258 down+0x74/0xa0 kernel/locking/semaphore.c:64 console_lock+0x5b/0xa0 kernel/printk/printk.c:2849 con_install+0x99/0x600 drivers/tty/vt/vt.c:3515 tty_driver_install_tty drivers/tty/tty_io.c:1304 [inline] tty_init_dev.part.0+0x99/0x500 drivers/tty/tty_io.c:1416 tty_init_dev include/linux/err.h:70 [inline] tty_open_by_driver drivers/tty/tty_io.c:2082 [inline] tty_open+0xa50/0xf90 drivers/tty/tty_io.c:2129 chrdev_open+0x231/0x6a0 fs/char_dev.c:414 do_dentry_open+0x741/0x1c10 fs/open.c:956 vfs_open+0x82/0x3f0 fs/open.c:1086 do_open fs/namei.c:3845 [inline] path_openat+0x1e5e/0x2d40 fs/namei.c:4004 do_filp_open+0x20b/0x470 fs/namei.c:4031 do_sys_openat2+0x11b/0x1d0 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_openat fs/open.c:1460 [inline] __se_sys_openat fs/open.c:1455 [inline] __x64_sys_openat+0x174/0x210 fs/open.c:1455 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7eff4018bad0 RSP: 002b:00007eff40f58b70 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007eff4018bad0 RDX: 0000000000000002 RSI: 00007eff40f58c10 RDI: 00000000ffffff9c RBP: 00007eff40f58c10 R08: 0000000000000000 R09: 00007eff40f58987 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007eff403a6160 R15: 00007ffd0eb826a8 Showing all locks held in the system: 5 locks held by kworker/u8:0/12: 1 lock held by khungtaskd/31: #0: ffffffff8e3c15c0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e3c15c0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e3c15c0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6764 2 locks held by kworker/u8:5/989: #0: ffff88801b481148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc90003a4fd18 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 2 locks held by getty/5578: #0: ffff8880371220a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41b/0x14f0 drivers/tty/n_tty.c:2222 4 locks held by kworker/u8:4/8447: #0: ffff88801c2f3948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc9001b247d18 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffffffff90115f10 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xc9/0xb30 net/core/net_namespace.c:608 #3: ffffffff8fd65470 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_exit_net+0x177/0x590 drivers/infiniband/core/device.c:1122 2 locks held by syz.0.1471/11588: 2 locks held by syz.2.1489/11654: #0: ffffffff8f0a5148 (tty_mutex){+.+.}-{4:4}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffffffff8f0a5148 (tty_mutex){+.+.}-{4:4}, at: tty_open+0x53e/0xf90 drivers/tty/tty_io.c:2129 #1: ffff888079d7b1c0 (&tty->legacy_mutex){+.+.}-{4:4}, at: tty_init_dev.part.0+0x37/0x500 drivers/tty/tty_io.c:1415 2 locks held by syz-executor/11678: #0: ffffffff90115f10 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x286/0x5f0 net/core/net_namespace.c:514 #1: ffffffff8fd65470 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_exit_net+0x177/0x590 drivers/infiniband/core/device.c:1122 2 locks held by syz-executor/11682: #0: ffffffff90115f10 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x286/0x5f0 net/core/net_namespace.c:514 #1: ffffffff8fd65470 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_exit_net+0x177/0x590 drivers/infiniband/core/device.c:1122 2 locks held by kworker/u8:3/11686: 2 locks held by syz-executor/11690: #0: ffffffff90115f10 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x286/0x5f0 net/core/net_namespace.c:514 #1: ffffffff8fd65470 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_exit_net+0x177/0x590 drivers/infiniband/core/device.c:1122 4 locks held by syz-executor/11694: #0: ffffffff90115f10 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x286/0x5f0 net/core/net_namespace.c:514 #1: ffffffff8fd656f0 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x233/0x530 drivers/infiniband/core/device.c:1178 #2: ffffffff8fd65470 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x2a6/0x530 drivers/infiniband/core/device.c:1183 #3: ffff88807919cf60 (&device->compat_devs_mutex){+.+.}-{4:4}, at: add_one_compat_dev+0x112/0x7d0 drivers/infiniband/core/device.c:942 4 locks held by syz-executor/11696: 2 locks held by syz-executor/11698: 3 locks held by syz-executor/11701: #0: ffffffff90115f10 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x286/0x5f0 net/core/net_namespace.c:514 #1: ffffffff8fd656f0 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x233/0x530 drivers/infiniband/core/device.c:1178 #2: ffffffff8fd65470 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x2a6/0x530 drivers/infiniband/core/device.c:1183 1 lock held by modprobe/11705: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc1-syzkaller-00246-g900241a5cc15 #0 PREEMPT(full) 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+0x116/0x1f0 lib/dump_stack.c:120 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline] watchdog+0xf70/0x12c0 kernel/hung_task.c:437 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 12 Comm: kworker/u8:0 Not tainted 6.15.0-rc1-syzkaller-00246-g900241a5cc15 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: bat_events batadv_nc_worker RIP: 0010:kasan_check_range+0x12/0x1a0 mm/kasan/generic.c:188 Code: 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 85 f6 0f 84 50 01 00 00 48 89 f8 41 54 <44> 0f b6 c2 48 01 f0 55 53 0f 82 c6 00 00 00 48 b8 ff ff ff ff ff RSP: 0000:ffffc90000006840 EFLAGS: 00000202 RAX: ffffffff90865310 RBX: 1ffff92000000d0a RCX: ffffffff894a96a5 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90865310 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000007 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88805b8fd8c0 R13: ffff88803169a000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881249b3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f64bfbd6ba8 CR3: 000000004f7e4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:587 [inline] cpu_online include/linux/cpumask.h:1143 [inline] trace_netif_rx include/trace/events/net.h:158 [inline] netif_rx_internal+0xc5/0x5e0 net/core/dev.c:5378 __netif_rx+0x88/0xb0 net/core/dev.c:5419 veth_forward_skb drivers/net/veth.c:323 [inline] veth_xmit+0x82b/0xad0 drivers/net/veth.c:376 __netdev_start_xmit include/linux/netdevice.h:5203 [inline] netdev_start_xmit include/linux/netdevice.h:5212 [inline] xmit_one net/core/dev.c:3774 [inline] dev_hard_start_xmit+0x93/0x740 net/core/dev.c:3790 __dev_queue_xmit+0x7eb/0x43e0 net/core/dev.c:4627 dev_queue_xmit include/linux/netdevice.h:3350 [inline] br_dev_queue_push_xmit+0x272/0x8a0 net/bridge/br_forward.c:53 br_nf_dev_queue_xmit+0x6f3/0x2cb0 net/bridge/br_netfilter_hooks.c:923 NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] br_nf_post_routing+0x8e7/0x1190 net/bridge/br_netfilter_hooks.c:969 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xbb/0x200 net/netfilter/core.c:626 nf_hook+0x45e/0x780 include/linux/netfilter.h:269 NF_HOOK include/linux/netfilter.h:312 [inline] br_forward_finish+0xcd/0x130 net/bridge/br_forward.c:66 br_nf_hook_thresh+0x301/0x410 net/bridge/br_netfilter_hooks.c:1170 br_nf_forward_finish+0x66a/0xba0 net/bridge/br_netfilter_hooks.c:665 NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] br_nf_forward_ip.part.0+0x609/0x810 net/bridge/br_netfilter_hooks.c:719 br_nf_forward_ip net/bridge/br_netfilter_hooks.c:679 [inline] br_nf_forward+0xf0f/0x1be0 net/bridge/br_netfilter_hooks.c:776 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xbb/0x200 net/netfilter/core.c:626 nf_hook+0x45e/0x780 include/linux/netfilter.h:269 NF_HOOK include/linux/netfilter.h:312 [inline] __br_forward+0x1be/0x5b0 net/bridge/br_forward.c:115 deliver_clone net/bridge/br_forward.c:131 [inline] maybe_deliver+0xf1/0x180 net/bridge/br_forward.c:190 br_flood+0x17c/0x650 net/bridge/br_forward.c:237 br_handle_frame_finish+0xe8e/0x1c20 net/bridge/br_input.c:220 br_nf_hook_thresh+0x301/0x410 net/bridge/br_netfilter_hooks.c:1170 br_nf_pre_routing_finish_ipv6+0x76a/0xfb0 net/bridge/br_netfilter_ipv6.c:154 NF_HOOK include/linux/netfilter.h:314 [inline] br_nf_pre_routing_ipv6+0x3cd/0x8c0 net/bridge/br_netfilter_ipv6.c:184 br_nf_pre_routing+0x860/0x15b0 net/bridge/br_netfilter_hooks.c:508 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_bridge_pre net/bridge/br_input.c:282 [inline] br_handle_frame+0xad5/0x14a0 net/bridge/br_input.c:433 __netif_receive_skb_core.constprop.0+0xa23/0x4a00 net/core/dev.c:5771 __netif_receive_skb_one_core+0xb0/0x1e0 net/core/dev.c:5883 __netif_receive_skb+0x1d/0x160 net/core/dev.c:5998 process_backlog+0x442/0x15e0 net/core/dev.c:6350 __napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:7322 napi_poll net/core/dev.c:7386 [inline] net_rx_action+0xa97/0x1010 net/core/dev.c:7508 handle_softirqs+0x216/0x8e0 kernel/softirq.c:579 do_softirq kernel/softirq.c:480 [inline] do_softirq+0xb2/0xf0 kernel/softirq.c:467 __local_bh_enable_ip+0x100/0x120 kernel/softirq.c:407 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_nc_purge_paths+0x1d4/0x3a0 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x921/0x1030 net/batman-adv/network-coding.c:720 process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245