INFO: task syslogd:5188 blocked for more than 146 seconds. Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syslogd state:D stack:24192 pid:5188 tgid:5188 ppid:1 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe5a/0x5ae0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_timeout+0x244/0x280 kernel/time/sleep_timeout.c:75 ___down_common+0x2d7/0x460 kernel/locking/semaphore.c:225 __down_common kernel/locking/semaphore.c:246 [inline] __down+0x20/0x30 kernel/locking/semaphore.c:254 down+0x74/0xa0 kernel/locking/semaphore.c:63 console_lock+0x5b/0xa0 kernel/printk/printk.c:2833 console_device+0x19/0x180 kernel/printk/printk.c:3482 tty_lookup_driver+0x2fb/0x510 drivers/tty/tty_io.c:1930 tty_open_by_driver drivers/tty/tty_io.c:2047 [inline] tty_open+0x54e/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:0x7f8a370409a4 RSP: 002b:00007ffe9bb95340 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f8a370409a4 RDX: 0000000000000901 RSI: 00007f8a371df3b3 RDI: 00000000ffffff9c RBP: 00007f8a371df3b3 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000901 R13: 0000000000000901 R14: 0000000000000901 R15: 000055a11c103410 Showing all locks held in the system: 4 locks held by kworker/u8:0/11: #0: ffff88802e701948 ((wq_completion)ext4-rsv-conversion){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90000107d80 ((work_completion)(&ei->i_rsv_conversion_work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff88814e476958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf6c/0x1430 fs/jbd2/transaction.c:448 #3: ffff88807f27c7e0 (&ei->i_data_sem){++++}-{4:4}, at: ext4_map_blocks+0x352/0x1370 fs/ext4/inode.c:701 6 locks held by kworker/u8:1/12: 1 lock held by khungtaskd/30: #0: ffffffff8e1bb380 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1bb380 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1bb380 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 2 locks held by kworker/u8:2/35: 3 locks held by kworker/u8:4/80: 3 locks held by kswapd0/88: 3 locks held by kworker/u8:7/3928: 3 locks held by kworker/u8:8/3951: 1 lock held by jbd2/sda1-8/5168: 1 lock held by syslogd/5188: #0: ffffffff8ee57fe8 (tty_mutex){+.+.}-{4:4}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffffffff8ee57fe8 (tty_mutex){+.+.}-{4:4}, at: tty_open+0x53d/0xf80 drivers/tty/tty_io.c:2129 1 lock held by dhcpcd/5499: 2 locks held by getty/5582: #0: ffff88802e7380a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fc62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 4 locks held by syz-executor/5828: 1 lock held by syz-executor/5830: 1 lock held by syz-executor/5831: 1 lock held by syz-executor/5833: 6 locks held by syz.4.5750/17848: 2 locks held by syz-executor/17891: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/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:223 [inline] watchdog+0xf0c/0x1240 kernel/hung_task.c:379 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: 12 Comm: kworker/u8:1 Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: bat_events batadv_tt_purge RIP: 0010:find_match+0xe3/0x15d0 net/ipv6/route.c:771 Code: e7 c3 f7 45 84 ff 74 39 31 db e8 78 e5 c3 f7 48 b8 00 00 00 00 00 fc ff df 4c 01 f0 48 c7 00 00 00 00 00 c7 40 08 00 00 00 00 <48> 8d 65 d0 89 d8 5b 41 5a 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc RSP: 0018:ffffc90000a178d0 EFLAGS: 00000282 RAX: fffff52000142f29 RBX: 0000000000000000 RCX: ffffffff89ca4f7d RDX: ffff88801d6c4880 RSI: ffffffff89ca4df8 RDI: 0000000000000005 RBP: ffffc90000a179d8 R08: 0000000000000005 R09: 00000000fffffffd R10: 00000000fffffffd R11: 0000000000000005 R12: 00000000fffffffd R13: ffff888142f8a0b8 R14: 1ffff92000142f29 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555ad57608 CR3: 0000000029e34000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __find_rr_leaf+0x141/0xe00 net/ipv6/route.c:835 find_rr_leaf net/ipv6/route.c:856 [inline] rt6_select net/ipv6/route.c:900 [inline] fib6_table_lookup+0x57e/0xa30 net/ipv6/route.c:2195 ip6_pol_route+0x1cd/0x1120 net/ipv6/route.c:2231 pol_lookup_func include/net/ip6_fib.h:616 [inline] fib6_rule_lookup+0x536/0x720 net/ipv6/fib6_rules.c:117 ip6_route_input_lookup net/ipv6/route.c:2300 [inline] ip6_route_input+0x663/0xc10 net/ipv6/route.c:2596 ip6_rcv_finish_core.constprop.0+0x1a0/0x5d0 net/ipv6/ip6_input.c:66 ip6_rcv_finish+0x12c/0x5b0 net/ipv6/ip6_input.c:77 ip_sabotage_in+0x21b/0x290 net/bridge/br_netfilter_hooks.c:1021 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xbb/0x200 net/netfilter/core.c:626 nf_hook.constprop.0+0x42e/0x750 include/linux/netfilter.h:269 NF_HOOK include/linux/netfilter.h:312 [inline] ipv6_rcv+0xa4/0x680 net/ipv6/ip6_input.c:309 __netif_receive_skb_one_core+0x12e/0x1e0 net/core/dev.c:5672 __netif_receive_skb+0x1d/0x160 net/core/dev.c:5785 netif_receive_skb_internal net/core/dev.c:5871 [inline] netif_receive_skb+0x13f/0x7b0 net/core/dev.c:5930 NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] br_pass_frame_up+0x346/0x490 net/bridge/br_input.c:70 br_handle_frame_finish+0xdcf/0x1c80 net/bridge/br_input.c:221 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+0xa77/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] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 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