INFO: task syz-executor.0:27571 blocked for more than 143 seconds. Not tainted 6.7.0-rc6-syzkaller-01631-g3b83fa94cf31 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26512 pid:27571 tgid:27571 ppid:16749 flags:0x00000006 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:3404 __cancel_work_timer+0x3ef/0x590 kernel/workqueue.c:3491 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/0xb70 fs/file_table.c:394 __fput_sync+0x47/0x50 fs/file_table.c:475 __do_sys_close fs/open.c:1587 [inline] __se_sys_close fs/open.c:1572 [inline] __x64_sys_close+0x87/0xf0 fs/open.c:1572 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f6c5167bbda RSP: 002b:00007ffd933d0e40 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f6c5167bbda RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000032 R08: 0000001b32c20000 R09: 000000000000054b R10: 000000008172f8ee R11: 0000000000000293 R12: 00007f6c51201470 R13: ffffffffffffffff R14: 00007f6c51200000 R15: 00000000002a67a3 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cfab7a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfab7a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfab7a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by getty/4816: #0: ffff8880268690a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201 6 locks held by syz-executor.3/5101: 2 locks held by syz-executor.2/13906: 3 locks held by kworker/u4:4/19729: 3 locks held by kworker/1:2/25383: #0: ffff888013070d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2602 #1: ffffc900049cfd80 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2603 #2: ffff88803b021cf0 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x134/0x230 net/tls/tls_sw.c:2540 1 lock held by syz-executor.0/27571: #0: ffff888099cb2010 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff888099cb2010 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x260 net/socket.c:658 1 lock held by syz-executor.1/30488: #0: ffff88801306b120 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:124 [inline] #0: ffff88801306b120 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x15d/0x3c0 mm/util.c:554 4 locks held by syz-executor.1/30494: 2 locks held by syz-executor.1/30506: 2 locks held by syz-executor.0/30533: #0: ffff888082f68e10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff888082f68e10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x260 net/socket.c:658 #1: ffffffff8cfb71f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8cfb71f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x6b1/0x800 kernel/rcu/tree_exp.h:996 1 lock held by syz-executor.3/30539: #0: ffff88803e837130 (sk_lock-AF_ALG){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1706 [inline] #0: ffff88803e837130 (sk_lock-AF_ALG){+.+.}-{0:0}, at: hash_sendmsg+0xb7/0xf40 crypto/algif_hash.c:77 1 lock held by syz-executor.3/30542: #0: ffff88803e837130 (sk_lock-AF_ALG){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1706 [inline] #0: ffff88803e837130 (sk_lock-AF_ALG){+.+.}-{0:0}, at: hash_sendmsg+0xb7/0xf40 crypto/algif_hash.c:77 1 lock held by syz-executor.3/30543: #0: ffff88803e837130 (sk_lock-AF_ALG){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1706 [inline] #0: ffff88803e837130 (sk_lock-AF_ALG){+.+.}-{0:0}, at: hash_sendmsg+0xb7/0xf40 crypto/algif_hash.c:77 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc6-syzkaller-01631-g3b83fa94cf31 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 24466 Comm: kworker/u4:23 Not tainted 6.7.0-rc6-syzkaller-01631-g3b83fa94cf31 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:lock_release+0x3ca/0x690 kernel/locking/lockdep.c:5778 Code: 01 00 00 48 f7 04 24 00 02 00 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df 48 01 c5 48 c7 45 00 00 00 00 00 c7 45 08 00 00 00 00 <48> 8b 84 24 88 00 00 00 65 48 2b 04 25 28 00 00 00 0f 85 23 02 00 RSP: 0018:ffffc90010937a80 EFLAGS: 00000282 RAX: dffffc0000000000 RBX: b98d254c0818c18a RCX: ffffc90010937ad0 RDX: 1ffff11009a1050e RSI: ffffffff8accb200 RDI: ffffffff8b2f0560 RBP: fffff52002126f52 R08: 0000000000000000 R09: fffffbfff1e321a2 R10: ffffffff8f190d17 R11: 0000000000000002 R12: 0000000000000002 R13: 0000000000000003 R14: ffff88804d082878 R15: ffff88804d081dc0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb41ed7bb38 CR3: 0000000028f06000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release include/linux/rcupdate.h:306 [inline] rcu_read_unlock include/linux/rcupdate.h:780 [inline] batadv_nc_process_nc_paths.part.0+0x21c/0x3e0 net/batman-adv/network-coding.c:699 batadv_nc_process_nc_paths net/batman-adv/network-coding.c:679 [inline] batadv_nc_worker+0xd4f/0x10e0 net/batman-adv/network-coding.c:728 process_one_work+0x886/0x15d0 kernel/workqueue.c:2627 process_scheduled_works kernel/workqueue.c:2700 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781 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