INFO: task syz.2.3628:13601 blocked for more than 145 seconds. Not tainted 6.13.0-syzkaller-06167-g0afd22092df4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.3628 state:D stack:28416 pid:13601 tgid:13597 ppid:5831 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x1142/0x5b60 kernel/sched/core.c:6764 __schedule_loop kernel/sched/core.c:6841 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6856 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6913 __mutex_lock_common kernel/locking/mutex.c:662 [inline] __mutex_lock+0x6bd/0xb10 kernel/locking/mutex.c:730 tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] tty_open+0x53d/0xf80 drivers/tty/tty_io.c:2129 chrdev_open+0x237/0x6a0 fs/char_dev.c:414 do_dentry_open+0x735/0x1c40 fs/open.c:955 vfs_open+0x82/0x3f0 fs/open.c:1085 do_open fs/namei.c:3828 [inline] path_openat+0x1e88/0x2d80 fs/namei.c:3987 do_filp_open+0x20c/0x470 fs/namei.c:4014 do_sys_openat2+0x17a/0x1e0 fs/open.c:1427 do_sys_open fs/open.c:1442 [inline] __do_sys_openat fs/open.c:1458 [inline] __se_sys_openat fs/open.c:1453 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1453 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fccc678cd29 RSP: 002b:00007fccc7514038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fccc69a5fa0 RCX: 00007fccc678cd29 RDX: 0000000000000000 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007fccc680e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fccc69a5fa0 R15: 00007ffff4adf528 INFO: task syz.3.3627:13602 blocked for more than 145 seconds. Not tainted 6.13.0-syzkaller-06167-g0afd22092df4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.3627 state:D stack:28416 pid:13602 tgid:13598 ppid:5818 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x1142/0x5b60 kernel/sched/core.c:6764 __schedule_loop kernel/sched/core.c:6841 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6856 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6913 __mutex_lock_common kernel/locking/mutex.c:662 [inline] __mutex_lock+0x6bd/0xb10 kernel/locking/mutex.c:730 ptmx_open drivers/tty/pty.c:823 [inline] ptmx_open+0xf6/0x350 drivers/tty/pty.c:790 chrdev_open+0x237/0x6a0 fs/char_dev.c:414 do_dentry_open+0x735/0x1c40 fs/open.c:955 vfs_open+0x82/0x3f0 fs/open.c:1085 do_open fs/namei.c:3828 [inline] path_openat+0x1e88/0x2d80 fs/namei.c:3987 do_filp_open+0x20c/0x470 fs/namei.c:4014 do_sys_openat2+0x17a/0x1e0 fs/open.c:1427 do_sys_open fs/open.c:1442 [inline] __do_sys_openat fs/open.c:1458 [inline] __se_sys_openat fs/open.c:1453 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1453 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f914ed8cd29 RSP: 002b:00007f914fcbd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f914efa5fa0 RCX: 00007f914ed8cd29 RDX: 0000000000000000 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f914ee0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f914efa5fa0 R15: 00007ffff65e9ed8 Showing all locks held in the system: 3 locks held by kworker/0:0/8: 3 locks held by kworker/0:1/9: #0: ffff88801b078d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc900000e7d18 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffffffff8fef4f68 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 3 locks held by kworker/u8:1/12: #0: ffff88814cdb2148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc90000117d18 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffffffff8fef4f68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:129 [inline] #2: ffffffff8fef4f68 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4730 1 lock held by khungtaskd/30: #0: ffffffff8e1be140 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1be140 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1be140 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6746 3 locks held by kworker/u8:2/35: #0: ffff88801b081148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc90000ab7d18 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffffffff8fef4f68 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:285 3 locks held by kworker/u8:4/81: 3 locks held by kworker/u8:5/1790: 3 locks held by kworker/u8:6/3544: 3 locks held by syslogd/5171: 5 locks held by udevd/5189: 2 locks held by dhcpcd/5482: 2 locks held by getty/5565: #0: ffff88814d19b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 2 locks held by syz-executor/5817: 1 lock held by syz-executor/5819: 3 locks held by syz-executor/5827: 3 locks held by kworker/u8:8/5886: 2 locks held by kworker/0:6/5903: 4 locks held by kworker/1:6/5904: 1 lock held by syz.2.3628/13601: #0: ffffffff8ee880a8 (tty_mutex){+.+.}-{4:4}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffffffff8ee880a8 (tty_mutex){+.+.}-{4:4}, at: tty_open+0x53d/0xf80 drivers/tty/tty_io.c:2129 1 lock held by syz.3.3627/13602: #0: ffffffff8ee880a8 (tty_mutex){+.+.}-{4:4}, at: ptmx_open drivers/tty/pty.c:823 [inline] #0: ffffffff8ee880a8 (tty_mutex){+.+.}-{4:4}, at: ptmx_open+0xf6/0x350 drivers/tty/pty.c:790 3 locks held by kworker/u8:10/13610: 2 locks held by syz-executor/13613: 3 locks held by syz-executor/13620: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-syzkaller-06167-g0afd22092df4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xf14/0x1240 kernel/hung_task.c:397 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/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: 1790 Comm: kworker/u8:5 Not tainted 6.13.0-syzkaller-06167-g0afd22092df4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: bat_events batadv_tt_purge RIP: 0010:__kasan_check_read+0x0/0x20 mm/kasan/shadow.c:30 Code: c3 cc cc cc cc 48 83 c4 60 48 c7 c7 c8 74 7f 8d 5b 5d 41 5c e9 f1 6b 7c ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 0c 24 89 f6 31 d2 e9 1f f1 ff ff 66 66 2e 0f 1f RSP: 0018:ffffc90000a18360 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff88806454cd80 RCX: ffff8880639d5d88 RDX: 1ffff1100c73abb1 RSI: 0000000000000008 RDI: ffff8880639d5da8 RBP: ffff8880639d5d80 R08: 0000000000000000 R09: fffffbfff20c463a R10: ffffffff906231d7 R11: 0000000000000003 R12: 1ffff92000143071 R13: ffff88807f40a000 R14: 0000000000000000 R15: ffff8880639d5da8 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7b3c032ff8 CR3: 0000000030c6c000 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] br_fdb_update+0x56a/0x7c0 net/bridge/br_fdb.c:915 br_handle_frame_finish+0xd35/0x1c90 net/bridge/br_input.c:144 br_nf_hook_thresh+0x303/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+0x3ce/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+0xad7/0x14a0 net/bridge/br_input.c:433 __netif_receive_skb_core.constprop.0+0xa20/0x4330 net/core/dev.c:5722 __netif_receive_skb_one_core+0xb1/0x1e0 net/core/dev.c:5826 __netif_receive_skb+0x1d/0x160 net/core/dev.c:5941 process_backlog+0x443/0x15f0 net/core/dev.c:6289 __napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:7106 napi_poll net/core/dev.c:7175 [inline] net_rx_action+0xa94/0x1010 net/core/dev.c:7297 handle_softirqs+0x213/0x8f0 kernel/softirq.c:561 do_softirq kernel/softirq.c:462 [inline] do_softirq+0xb2/0xf0 kernel/softirq.c:449 __local_bh_enable_ip+0x100/0x120 kernel/softirq.c:389 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_tt_local_purge+0x21c/0x3c0 net/batman-adv/translation-table.c:1315 batadv_tt_purge+0x86/0xb90 net/batman-adv/translation-table.c:3509 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3317 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244