INFO: task syz.0.5388:17281 blocked for more than 140 seconds. Not tainted 6.13.0-rc1-syzkaller-00036-g5076001689e4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.5388 state:D stack:28256 pid:17281 tgid:17280 ppid:5854 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x62b/0xa60 kernel/locking/mutex.c:735 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+0xf59/0x1ea0 fs/open.c:945 vfs_open+0x82/0x3f0 fs/open.c:1075 do_open fs/namei.c:3828 [inline] path_openat+0x1e6a/0x2d60 fs/namei.c:3987 do_filp_open+0x20c/0x470 fs/namei.c:4014 do_sys_openat2+0x17a/0x1e0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1428 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:0x7f94bc77e880 RSP: 002b:00007f94bd547b90 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f94bc77e880 RDX: 0000000000000002 RSI: 00007f94bd547c30 RDI: 00000000ffffff9c RBP: 00007f94bd547c30 R08: 0000000000000000 R09: 00007f94bd5479a7 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f94bc945fa0 R15: 00007ffe67d88968 Showing all locks held in the system: 1 lock held by kthreadd/2: 1 lock held by khungtaskd/30: #0: ffffffff8e1bb500 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1bb500 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1bb500 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 5 locks held by kworker/u8:2/35: 3 locks held by kworker/u8:3/52: 3 locks held by kworker/u8:4/67: 2 locks held by kswapd0/89: 3 locks held by kworker/u8:5/216: 5 locks held by kworker/R-bat_e/3391: 3 locks held by kworker/u8:6/3417: 3 locks held by kworker/u8:7/3470: 3 locks held by kworker/u8:8/3492: 3 locks held by syslogd/5174: 1 lock held by dhcpcd/5485: 2 locks held by getty/5574: #0: ffff88814d7ee0a0 (&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 1 lock held by syz-executor/5804: 4 locks held by syz-executor/5845: 5 locks held by syz-executor/5850: 5 locks held by syz-executor/5857: 3 locks held by syz-executor/5862: 2 locks held by kworker/0:6/5960: 3 locks held by kworker/0:7/5961: #0: ffff88801b078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3204 #1: ffffc9000470fd80 (key_gc_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffffffff8e1c6e38 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:297 1 lock held by syz.0.5388/17281: #0: ffffffff8ee6d028 (tty_mutex){+.+.}-{4:4}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffffffff8ee6d028 (tty_mutex){+.+.}-{4:4}, at: tty_open+0x53d/0xf80 drivers/tty/tty_io.c:2129 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc1-syzkaller-00036-g5076001689e4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 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: 3391 Comm: kworker/R-bat_e Not tainted 6.13.0-rc1-syzkaller-00036-g5076001689e4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_tt_purge RIP: 0010:unwind_next_frame+0x5e3/0x20c0 arch/x86/kernel/unwind_orc.c:517 Code: fc ff df 48 8b 14 24 48 c1 ea 03 80 3c 02 00 0f 85 a5 1a 00 00 48 89 c8 4d 8b 7d 38 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 <0f> b6 34 10 48 8d 41 01 48 89 c7 48 c1 ef 03 0f b6 14 17 48 89 cf RSP: 0018:ffffc90000a17eb8 EFLAGS: 00000a07 RAX: 1ffffffff21e61b1 RBX: 0000000000000001 RCX: ffffffff90f30d8e RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffffffff90709a08 RBP: ffffc90000a17f70 R08: ffffffff90f30d94 R09: ffffffff90f30d92 R10: ffffc90000a17f28 R11: 00000000000062e5 R12: ffffc90000a17f78 R13: ffffc90000a17f28 R14: 0000000000000005 R15: ffffc9000cc07dc0 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b0a5584060 CR3: 0000000035f9c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x95/0x100 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:345 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4104 [inline] slab_alloc_node mm/slub.c:4153 [inline] kmem_cache_alloc_noprof+0x226/0x3d0 mm/slub.c:4160 skb_clone+0x190/0x3f0 net/core/skbuff.c:2084 deliver_clone+0x3f/0xa0 net/bridge/br_forward.c:125 maybe_deliver+0xa7/0x120 net/bridge/br_forward.c:190 br_flood+0x17e/0x5c0 net/bridge/br_forward.c:236 br_handle_frame_finish+0xda5/0x1c80 net/bridge/br_input.c:215 br_nf_hook_thresh+0x303/0x410 net/bridge/br_netfilter_hooks.c:1198 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:536 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_bridge_pre net/bridge/br_input.c:277 [inline] br_handle_frame+0x9eb/0x1490 net/bridge/br_input.c:424 __netif_receive_skb_core.constprop.0+0xa76/0x4470 net/core/dev.c:5566 __netif_receive_skb_one_core+0xb1/0x1e0 net/core/dev.c:5670 __netif_receive_skb+0x1d/0x160 net/core/dev.c:5785 process_backlog+0x443/0x15f0 net/core/dev.c:6117 __napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:6877 napi_poll net/core/dev.c:6946 [inline] net_rx_action+0xa94/0x1010 net/core/dev.c:7068 handle_softirqs+0x213/0x8f0 kernel/softirq.c:554 do_softirq kernel/softirq.c:455 [inline] do_softirq+0xb2/0xf0 kernel/softirq.c:442 __local_bh_enable_ip+0x100/0x120 kernel/softirq.c:382 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_tt_local_purge+0x21c/0x3c0 net/batman-adv/translation-table.c:1314 batadv_tt_purge+0x86/0xb90 net/batman-adv/translation-table.c:3509 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] rescuer_thread+0x628/0xe20 kernel/workqueue.c:3487 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244