INFO: task syz-executor.4:23961 blocked for more than 143 seconds. Not tainted 6.7.0-rc1-syzkaller-00138-g938dbead34cd #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26416 pid:23961 tgid:23954 ppid:5107 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_timeout+0x257/0x290 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3e0/0x5f0 kernel/sched/completion.c:116 __flush_work+0x523/0xa10 kernel/workqueue.c:3407 __cancel_work_timer+0x3ef/0x590 kernel/workqueue.c:3494 tls_sk_proto_close+0x4b1/0xac0 net/tls/tls_main.c:376 inet_release+0x132/0x270 net/ipv4/af_inet.c:433 inet6_release+0x4f/0x70 net/ipv6/af_inet6.c:485 __sock_release+0xae/0x260 net/socket.c:659 sock_close+0x1c/0x20 net/socket.c:1419 __fput+0x270/0xbb0 fs/file_table.c:394 task_work_run+0x14d/0x240 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa92/0x2ae0 kernel/exit.c:871 do_group_exit+0xd4/0x2a0 kernel/exit.c:1021 get_signal+0x23be/0x2790 kernel/signal.c:2904 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x121/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1e/0x60 kernel/entry/common.c:296 do_syscall_64+0x4d/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f736ec7cae9 RSP: 002b:00007f736fa620c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: 0000000000000005 RBX: 00007f736ed9c050 RCX: 00007f736ec7cae9 RDX: 000000000000275a RSI: 00000000200001c0 RDI: ffffffffffffff9c RBP: 00007f736ecc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f736ed9c050 R15: 00007ffeaa96aaf8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cfabce0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfabce0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfabce0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by getty/4826: #0: ffff88802a0ea0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201 3 locks held by kworker/1:13/10217: #0: ffff888013070d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2605 #1: ffffc900032d7d80 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2606 #2: ffff8880173b88f0 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x134/0x230 net/tls/tls_sw.c:2535 1 lock held by syz-executor.4/23961: #0: ffff88802c6a0810 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff88802c6a0810 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x260 net/socket.c:658 2 locks held by syz-executor.2/27760: #0: ffff88802cdf7630 (sk_lock-AF_INET6){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1720 [inline] #0: ffff88802cdf7630 (sk_lock-AF_INET6){+.+.}-{0:0}, at: sctp_sendmsg+0xd74/0x1e80 net/sctp/socket.c:1969 #1: ffffffff8cfabce0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #1: ffffffff8cfabce0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #1: ffffffff8cfabce0 (rcu_read_lock){....}-{1:2}, at: sctp_v4_get_dst+0x9b0/0x12c0 net/sctp/protocol.c:493 1 lock held by syz-executor.2/27773: #0: ffff88802cdf7630 (sk_lock-AF_INET6){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1720 [inline] #0: ffff88802cdf7630 (sk_lock-AF_INET6){+.+.}-{0:0}, at: sctp_setsockopt+0x444/0xb7e0 net/sctp/socket.c:4592 2 locks held by syz-executor.3/27762: #0: ffff88804aac88b8 (&nft_net->commit_mutex){+.+.}-{3:3}, at: nf_tables_valid_genid+0x31/0xb0 net/netfilter/nf_tables_api.c:10506 #1: ffffffff8cfb7738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8cfb7738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x6b1/0x800 kernel/rcu/tree_exp.h:996 2 locks held by syz-executor.3/27769: #0: ffffffff92b41118 (nfnl_subsys_nftables){+.+.}-{3:3}, at: nfnl_lock net/netfilter/nfnetlink.c:98 [inline] #0: ffffffff92b41118 (nfnl_subsys_nftables){+.+.}-{3:3}, at: nfnetlink_rcv_batch+0x2a2/0x2510 net/netfilter/nfnetlink.c:392 #1: ffff88804aac88b8 (&nft_net->commit_mutex){+.+.}-{3:3}, at: nf_tables_valid_genid+0x31/0xb0 net/netfilter/nf_tables_api.c:10506 2 locks held by syz-executor.5/27776: #0: ffffffff8eb48670 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1075 #1: ffffffff8eaac9a8 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0xb4/0xb10 net/wireless/nl80211.c:16329 2 locks held by syz-executor.0/27781: #0: ffffffff8eb48670 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1075 #1: ffffffff8eaac9a8 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0xb4/0xb10 net/wireless/nl80211.c:16329 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc1-syzkaller-00138-g938dbead34cd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/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/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 22748 Comm: kworker/u4:16 Not tainted 6.7.0-rc1-syzkaller-00138-g938dbead34cd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:__finalize_skb_around net/core/skbuff.c:353 [inline] RIP: 0010:__build_skb_around+0x56/0x3a0 net/core/skbuff.c:422 Code: f9 48 8d bb e0 00 00 00 48 b8 00 00 00 00 00 fc ff df 44 8d ad c0 fe ff ff 48 89 fa 81 c5 00 01 00 00 48 c1 ea 03 0f b6 04 02 <84> c0 74 08 3c 03 0f 8e fa 02 00 00 89 ab e0 00 00 00 48 8d ab e4 RSP: 0018:ffffc90014b37a08 EFLAGS: 00000a02 RAX: 0000000000000000 RBX: ffff88807b5b03c0 RCX: ffffffff88685070 RDX: 1ffff1100f6b6094 RSI: ffffffff8868507d RDI: ffff88807b5b04a0 RBP: 0000000000000500 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000400 R11: 0000000000000003 R12: ffff8880366a5000 R13: 00000000000002c0 R14: 0000000000020820 R15: ffff88801368c640 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4bca977978 CR3: 000000007d81b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __alloc_skb+0x167/0x330 net/core/skbuff.c:666 __netdev_alloc_skb+0x72/0x3f0 net/core/skbuff.c:715 __netdev_alloc_skb_ip_align include/linux/skbuff.h:3245 [inline] netdev_alloc_skb_ip_align include/linux/skbuff.h:3255 [inline] batadv_iv_ogm_aggregate_new+0x104/0x4a0 net/batman-adv/bat_iv_ogm.c:558 batadv_iv_ogm_queue_add net/batman-adv/bat_iv_ogm.c:670 [inline] batadv_iv_ogm_schedule_buff+0x99b/0x14f0 net/batman-adv/bat_iv_ogm.c:833 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:868 [inline] batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:861 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x31e/0x8c0 net/batman-adv/bat_iv_ogm.c:1712 process_one_work+0x886/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242