INFO: task syz-executor.1:6714 blocked for more than 143 seconds. Not tainted 5.16.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:22640 pid: 6714 ppid: 3642 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680 __mutex_lock kernel/locking/mutex.c:740 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792 tls_sw_sendpage+0x7f/0xc0 net/tls/tls_sw.c:1291 inet_sendpage+0x16b/0x360 net/ipv4/af_inet.c:833 kernel_sendpage+0x2ca/0x370 net/socket.c:3504 sock_sendpage+0x7e/0xb0 net/socket.c:1003 pipe_to_sendpage+0x258/0x340 fs/splice.c:364 splice_from_pipe_feed fs/splice.c:418 [inline] __splice_from_pipe+0x351/0x8b0 fs/splice.c:562 splice_from_pipe fs/splice.c:597 [inline] generic_splice_sendpage+0x181/0x210 fs/splice.c:746 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe6/0x1c0 fs/splice.c:936 splice_direct_to_actor+0x529/0xd00 fs/splice.c:891 do_splice_direct+0x291/0x3e0 fs/splice.c:979 do_sendfile+0x6fe/0x1040 fs/read_write.c:1245 __do_sys_sendfile64 fs/read_write.c:1310 [inline] __se_sys_sendfile64+0x171/0x1d0 fs/read_write.c:1296 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f0097798e99 RSP: 002b:00007f009610e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f00978abf60 RCX: 00007f0097798e99 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000006 RBP: 00007f00977f3031 R08: 0000000000000000 R09: 0000000000000000 R10: 0000800100020016 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff27b9711f R14: 00007f009610e300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1de40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3287: #0: ffff88807f28a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113 2 locks held by syz-fuzzer/3606: #0: ffff8880b9b395d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:478 #1: ffff8880b9b27888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x46c/0x780 kernel/sched/psi.c:871 3 locks held by kworker/1:13/18289: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc9000ae17d20 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2273 #2: ffff88801459acd8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x111/0x150 net/tls/tls_sw.c:2297 1 lock held by syz-executor.1/6714: #0: ffff88801459acd8 (&ctx->tx_lock){+.+.}-{3:3}, at: tls_sw_sendpage+0x7f/0xc0 net/tls/tls_sw.c:1291 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3606 Comm: syz-fuzzer Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lockdep_hardirqs_on_prepare+0x5f3/0x780 kernel/locking/lockdep.c:4273 Code: 38 c1 0f 8c a7 fa ff ff 48 c7 c7 24 ca fe 8d e8 43 ac 6a 00 48 ba 00 00 00 00 00 fc ff df e9 8c fa ff ff 48 c7 c1 20 49 bb 90 <80> e1 07 80 c1 03 38 c1 0f 8c ca fa ff ff 48 c7 c7 20 49 bb 90 e8 RSP: 0018:ffffc90002bcf740 EFLAGS: 00000002 RAX: 1ffffffff2176904 RBX: ffffffff815c6ee0 RCX: ffffffff90bb4920 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff815c6ee0 RBP: ffffc90002bcf7f8 R08: ffffffff818b3610 R09: ffffed10173672b9 R10: ffffed10173672b9 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880b9b3a318 R14: dffffc0000000000 R15: 1ffff92000579eec FS: 0000000001867c10(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562771f67680 CR3: 000000001b0d3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_on+0x6f/0x80 kernel/trace/trace_preemptirq.c:49 raw_spin_rq_unlock_irq kernel/sched/sched.h:1328 [inline] finish_lock_switch+0x1c0/0x350 kernel/sched/core.c:4732 finish_task_switch+0x140/0x630 kernel/sched/core.c:4850 context_switch kernel/sched/core.c:4975 [inline] __schedule+0xb7a/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_hrtimeout_range_clock+0x280/0x470 kernel/time/hrtimer.c:2305 ep_poll+0x1bff/0x1e80 fs/eventpoll.c:1849 do_epoll_wait+0x1b2/0x230 fs/eventpoll.c:2227 do_epoll_pwait fs/eventpoll.c:2261 [inline] __do_sys_epoll_pwait fs/eventpoll.c:2274 [inline] __se_sys_epoll_pwait+0x2c5/0x4a0 fs/eventpoll.c:2268 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x46e460 Code: 0f 05 89 44 24 20 c3 cc cc cc 8b 7c 24 08 48 8b 74 24 10 8b 54 24 18 44 8b 54 24 1c 49 c7 c0 00 00 00 00 b8 19 01 00 00 0f 05 <89> 44 24 20 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc RSP: 002b:00007ffd2d1aa530 EFLAGS: 00000246 ORIG_RAX: 0000000000000119 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000046e460 RDX: 0000000000000080 RSI: 00007ffd2d1aa580 RDI: 0000000000000003 RBP: 00007ffd2d1aab80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000003 R13: 00000000018677c0 R14: 000080c029000000 R15: 00000000000042c9 ---------------- Code disassembly (best guess): 0: 38 c1 cmp %al,%cl 2: 0f 8c a7 fa ff ff jl 0xfffffaaf 8: 48 c7 c7 24 ca fe 8d mov $0xffffffff8dfeca24,%rdi f: e8 43 ac 6a 00 callq 0x6aac57 14: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 1b: fc ff df 1e: e9 8c fa ff ff jmpq 0xfffffaaf 23: 48 c7 c1 20 49 bb 90 mov $0xffffffff90bb4920,%rcx * 2a: 80 e1 07 and $0x7,%cl <-- trapping instruction 2d: 80 c1 03 add $0x3,%cl 30: 38 c1 cmp %al,%cl 32: 0f 8c ca fa ff ff jl 0xfffffb02 38: 48 c7 c7 20 49 bb 90 mov $0xffffffff90bb4920,%rdi 3f: e8 .byte 0xe8