INFO: task syz-executor.2:987 blocked for more than 143 seconds. Not tainted 5.19.0-rc1-syzkaller-00340-ge10b02ee5b6c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26544 pid: 987 ppid: 3636 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6559 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747 tls_sw_sendpage+0x7f/0xe0 net/tls/tls_sw.c:1288 inet_sendpage+0xd0/0x140 net/ipv4/af_inet.c:833 kernel_sendpage.part.0+0x1ff/0x7b0 net/socket.c:3571 kernel_sendpage net/socket.c:3568 [inline] sock_sendpage+0xdf/0x140 net/socket.c:1054 pipe_to_sendpage+0x2ad/0x380 fs/splice.c:364 splice_from_pipe_feed fs/splice.c:418 [inline] __splice_from_pipe+0x43e/0x8a0 fs/splice.c:562 splice_from_pipe fs/splice.c:597 [inline] generic_splice_sendpage+0xd4/0x140 fs/splice.c:746 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0x110/0x180 fs/splice.c:936 splice_direct_to_actor+0x34b/0x8c0 fs/splice.c:891 do_splice_direct+0x1a7/0x270 fs/splice.c:979 do_sendfile+0xae0/0x1240 fs/read_write.c:1262 __do_sys_sendfile64 fs/read_write.c:1327 [inline] __se_sys_sendfile64 fs/read_write.c:1313 [inline] __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1313 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f8e1fe89109 RSP: 002b:00007f8e210a3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f8e1ff9c030 RCX: 00007f8e1fe89109 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007f8e1fee30ad R08: 0000000000000000 R09: 0000000000000000 R10: 00000000f2090000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7d29079f R14: 00007f8e210a3300 R15: 0000000000022000 INFO: task syz-executor.2:995 blocked for more than 143 seconds. Not tainted 5.19.0-rc1-syzkaller-00340-ge10b02ee5b6c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29184 pid: 995 ppid: 3636 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6559 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747 tls_sw_sendmsg+0x251/0x1820 net/tls/tls_sw.c:954 inet6_sendmsg+0x99/0xe0 net/ipv6/af_inet6.c:652 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:734 sock_write_iter+0x284/0x3c0 net/socket.c:1108 call_write_iter include/linux/fs.h:2058 [inline] new_sync_write+0x38a/0x560 fs/read_write.c:504 vfs_write+0x7c0/0xac0 fs/read_write.c:591 ksys_write+0x1e8/0x250 fs/read_write.c:644 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f8e1fe89109 RSP: 002b:00007f8e21082168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8e1ff9c100 RCX: 00007f8e1fe89109 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f8e1fee30ad R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7d29079f R14: 00007f8e21082300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8bd867e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 1 lock held by hwrng/755: #0: ffffffff8c832c08 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0x141/0x370 drivers/char/hw_random/core.c:503 2 locks held by kworker/u4:6/1076: 2 locks held by getty/3286: #0: ffff88801f5ec098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2124 3 locks held by kworker/1:30/32254: #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc90015dbfda8 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff88807743d8d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x127/0x190 net/tls/tls_sw.c:2223 1 lock held by syz-executor.2/987: #0: ffff88807743d8d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tls_sw_sendpage+0x7f/0xe0 net/tls/tls_sw.c:1288 1 lock held by syz-executor.2/995: #0: ffff88807743d8d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tls_sw_sendmsg+0x251/0x1820 net/tls/tls_sw.c:954 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 5.19.0-rc1-syzkaller-00340-ge10b02ee5b6c #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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xc22/0xf90 kernel/hung_task.c:378 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1076 Comm: kworker/u4:6 Not tainted 5.19.0-rc1-syzkaller-00340-ge10b02ee5b6c #0 CPU: 0 PID: 1076 Comm: kworker/u4:6 Not tainted 5.19.0-rc1-syzkaller-00340-ge10b02ee5b6c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:mark_lock.part.0+0x13c/0x1910 kernel/locking/lockdep.c:4591 Code: 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 80 3c 11 00 0f 85 65 13 00 00 48 89 ee 48 23 70 50 0f 84 d3 06 00 00 41 ba 01 00 00 00 <48> b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 48 c7 RSP: 0018:ffffc9000490fa20 EFLAGS: 00000002 RAX: ffffffff906cf7e0 RBX: 1ffff92000921f4b RCX: 1ffffffff20d9f06 RDX: dffffc0000000000 RSI: 0000000000000040 RDI: ffffffff906cf830 RBP: 0000000000000040 R08: 0000000000000000 R09: ffffffff906789e7 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88801f226308 R13: 0000000000000006 R14: 0000000000000739 R15: ffff88801f226328 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c002da41c0 CR3: 000000001bf7d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_lock kernel/locking/lockdep.c:4596 [inline] mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4234 __trace_hardirqs_on_caller kernel/locking/lockdep.c:4260 [inline] lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4319 [inline] lockdep_hardirqs_on_prepare+0x28b/0x400 kernel/locking/lockdep.c:4271 trace_hardirqs_on+0x2d/0x120 kernel/trace/trace_preemptirq.c:49 __local_bh_enable_ip+0xa0/0x120 kernel/softirq.c:401 spin_unlock_bh include/linux/spinlock.h:394 [inline] batadv_nc_purge_paths+0x2a5/0x3a0 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x930/0xfa0 net/batman-adv/network-coding.c:722 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 ---------------- Code disassembly (best guess), 5 bytes skipped: 0: df 48 89 fisttps -0x77(%rax) 3: f9 stc 4: 48 c1 e9 03 shr $0x3,%rcx 8: 80 3c 11 00 cmpb $0x0,(%rcx,%rdx,1) c: 0f 85 65 13 00 00 jne 0x1377 12: 48 89 ee mov %rbp,%rsi 15: 48 23 70 50 and 0x50(%rax),%rsi 19: 0f 84 d3 06 00 00 je 0x6f2 1f: 41 ba 01 00 00 00 mov $0x1,%r10d * 25: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction 2c: fc ff df 2f: 48 01 c3 add %rax,%rbx 32: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) 39: 48 rex.W 3a: c7 .byte 0xc7