INFO: task syz-executor.2:30972 blocked for more than 143 seconds. Not tainted 6.5.0-rc1-syzkaller-00006-g3f01e9fed845 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27440 pid:30972 ppid:5074 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 __pipe_lock fs/pipe.c:103 [inline] pipe_release+0x4d/0x310 fs/pipe.c:721 __fput+0x40c/0xad0 fs/file_table.c:384 task_work_run+0x16f/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd804a7ba1a RSP: 002b:00007fd804cbfb10 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007fd804a7ba1a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fd804b9d980 R08: 0000001b2ff20000 R09: 00000000000000c0 R10: 00000000889b756b R11: 0000000000000293 R12: 00000000001e047c R13: ffffffffffffffff R14: 00007fd804600000 R15: 00000000001e013b INFO: task syz-executor.2:30974 blocked for more than 143 seconds. Not tainted 6.5.0-rc1-syzkaller-00006-g3f01e9fed845 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27144 pid:30974 ppid:5074 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 __lock_sock+0x141/0x260 net/core/sock.c:2946 lock_sock_nested+0xda/0xf0 net/core/sock.c:3497 lock_sock include/net/sock.h:1708 [inline] udp_sendmsg+0x76b/0x2840 net/ipv4/udp.c:1092 inet_sendmsg+0x9d/0xe0 net/ipv4/af_inet.c:830 sock_sendmsg_nosec net/socket.c:725 [inline] sock_sendmsg+0xde/0x190 net/socket.c:748 ____sys_sendmsg+0x34a/0x920 net/socket.c:2494 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2548 __sys_sendmmsg+0x18f/0x460 net/socket.c:2634 __do_sys_sendmmsg net/socket.c:2663 [inline] __se_sys_sendmmsg net/socket.c:2660 [inline] __x64_sys_sendmmsg+0x9d/0x100 net/socket.c:2660 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd804a7cb29 RSP: 002b:00007fd80574a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007fd804b9bf80 RCX: 00007fd804a7cb29 RDX: 04000000000003bd RSI: 0000000020000180 RDI: 0000000000000005 RBP: 00007fd804ac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000008800 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd804b9bf80 R15: 00007fd804cbfa48 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c9a3af0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c9a37f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/28: #0: ffffffff8c9a4700 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 2 locks held by getty/4781: #0: ffff88814aa6e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015c02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xf08/0x13f0 drivers/tty/n_tty.c:2187 3 locks held by kworker/u4:19/22908: 1 lock held by syz-executor.2/30972: #0: ffff8880204e2868 (&pipe->mutex/1){+.+.}-{3:3}, at: __pipe_lock fs/pipe.c:103 [inline] #0: ffff8880204e2868 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_release+0x4d/0x310 fs/pipe.c:721 1 lock held by syz-executor.2/30974: #0: ffff888030dd1e30 (sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1708 [inline] #0: ffff888030dd1e30 (sk_lock-AF_INET){+.+.}-{0:0}, at: udp_sendmsg+0x76b/0x2840 net/ipv4/udp.c:1092 2 locks held by syz-executor.2/30976: 1 lock held by syz-executor.2/31073: #0: ffff888028642068 (&pipe->mutex/1){+.+.}-{3:3}, at: __pipe_lock fs/pipe.c:103 [inline] #0: ffff888028642068 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_release+0x4d/0x310 fs/pipe.c:721 2 locks held by syz-executor.2/31074: 1 lock held by syz-executor.2/31127: #0: ffff88802dfcb468 (&pipe->mutex/1){+.+.}-{3:3}, at: __pipe_lock fs/pipe.c:103 [inline] #0: ffff88802dfcb468 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_release+0x4d/0x310 fs/pipe.c:721 2 locks held by syz-executor.2/31128: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc1-syzkaller-00006-g3f01e9fed845 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/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+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 22908 Comm: kworker/u4:19 Not tainted 6.5.0-rc1-syzkaller-00006-g3f01e9fed845 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:67 [inline] RIP: 0010:lockdep_hardirqs_on+0x50/0x100 kernel/locking/lockdep.c:4416 Code: a9 00 00 f0 00 48 89 fd 75 41 65 8b 05 a9 55 e2 75 85 c0 75 69 65 8b 05 ba 52 e2 75 85 c0 75 5e 8b 35 d4 51 f5 07 85 f6 75 21 <9c> 58 f6 c4 02 75 7a 8b 15 c3 51 f5 07 85 d2 75 10 48 8b 83 b8 0a RSP: 0018:ffffc900095dfbf0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff88801ee69dc0 RCX: 1ffffffff23185b4 RDX: ffffffff918c2d40 RSI: 0000000000000000 RDI: ffffffff814e0c04 RBP: ffffffff814e0c04 R08: 0000000000000001 R09: fffffbfff230d3eb R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880780557a8 R13: ffff888078054c80 R14: dffffc0000000000 R15: ffffffff89eaf740 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555ffd076fe0 CR3: 000000000c775000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __local_bh_enable_ip+0xa4/0x130 kernel/softirq.c:386 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_nc_purge_paths+0x1cc/0x3c0 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x931/0xfe0 net/batman-adv/network-coding.c:722 process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308