INFO: task syz-executor.1:1908 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-syzkaller-00929-gded5c1a16ec6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26016 pid:1908 ppid:5061 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 __lock_sock+0x141/0x260 net/core/sock.c:2893 lock_sock_nested+0xda/0xf0 net/core/sock.c:3474 lock_sock include/net/sock.h:1710 [inline] rawv6_sendmsg+0x154c/0x3d70 net/ipv6/raw.c:918 inet_sendmsg+0x9d/0xe0 net/ipv4/af_inet.c:829 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg+0xde/0x190 net/socket.c:747 ____sys_sendmsg+0x344/0x920 net/socket.c:2493 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2547 __sys_sendmmsg+0x18f/0x460 net/socket.c:2633 __do_sys_sendmmsg net/socket.c:2662 [inline] __se_sys_sendmmsg net/socket.c:2659 [inline] __x64_sys_sendmmsg+0x9d/0x100 net/socket.c:2659 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:0x7f95df48c169 RSP: 002b:00007f95e012a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f95df5abf80 RCX: 00007f95df48c169 RDX: 040000000000035c RSI: 0000000020001700 RDI: 0000000000000005 RBP: 00007f95df4e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcbc42246f R14: 00007f95e012a300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c7984b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c7981b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8c7990c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6559 2 locks held by getty/4759: #0: ffff8880283ed098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176 3 locks held by kworker/u4:2/10549: 2 locks held by kworker/u4:6/11508: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376 #1: ffffc9000c0cfdb0 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380 1 lock held by syz-executor.1/1908: #0: ffff888018f48fb0 (sk_lock-AF_INET6){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1710 [inline] #0: ffff888018f48fb0 (sk_lock-AF_INET6){+.+.}-{0:0}, at: rawv6_sendmsg+0x154c/0x3d70 net/ipv6/raw.c:918 1 lock held by syz-executor.1/1913: 1 lock held by syz-executor.3/1954: #0: ffff888029c2c9b0 (sk_lock-AF_INET6){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1710 [inline] #0: ffff888029c2c9b0 (sk_lock-AF_INET6){+.+.}-{0:0}, at: rawv6_sendmsg+0x154c/0x3d70 net/ipv6/raw.c:918 1 lock held by syz-executor.3/1956: 1 lock held by syz-executor.4/1955: #0: ffff888029c2e6b0 (sk_lock-AF_INET6){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1710 [inline] #0: ffff888029c2e6b0 (sk_lock-AF_INET6){+.+.}-{0:0}, at: rawv6_sendmsg+0x154c/0x3d70 net/ipv6/raw.c:918 1 lock held by syz-executor.4/1957: 1 lock held by syz-executor.1/1981: 1 lock held by syz-executor.1/1983: #0: ffff8880298d49b0 (sk_lock-AF_INET6){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1710 [inline] #0: ffff8880298d49b0 (sk_lock-AF_INET6){+.+.}-{0:0}, at: rawv6_sendmsg+0x154c/0x3d70 net/ipv6/raw.c:918 2 locks held by syz-executor.3/2458: 2 locks held by syz-executor.3/2462: 2 locks held by syz-executor.4/2464: #0: ffff88802a698460 (sb_writers#4){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1322 [inline] #0: ffff88802a698460 (sb_writers#4){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1308 [inline] #0: ffff88802a698460 (sb_writers#4){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1308 #1: ffff888085424000 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #1: ffff888085424000 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_dio_write_iter fs/ext4/file.c:534 [inline] #1: ffff888085424000 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_file_write_iter+0x1081/0x1740 fs/ext4/file.c:708 2 locks held by syz-executor.4/2473: 1 lock held by syz-executor.1/2501: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc5-syzkaller-00929-gded5c1a16ec6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/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:148 [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:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1956 Comm: syz-executor.3 Not tainted 6.4.0-rc5-syzkaller-00929-gded5c1a16ec6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0xb/0x70 kernel/kcov.c:207 Code: 0f 1e fa 48 8b be a8 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 65 8b 05 6d 75 7f 7e <89> c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 c0 bb 03 00 a9 RSP: 0018:ffffc90015817320 EFLAGS: 00000206 RAX: 0000000080000000 RBX: 000000000000ffd8 RCX: ffffffff88ca8f33 RDX: ffff88802ac7bb80 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 0000000000000028 R08: 0000000000000006 R09: 000000000000ffd8 R10: 0000000000000001 R11: 0000000000094001 R12: 0000000000000001 R13: dffffc0000000000 R14: ffff88807eb33140 R15: 000000000000ffd8 FS: 00007fc5f2f70700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020009038 CR3: 00000000210e3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ip6_append_data.isra.0+0xf0d/0x4420 net/ipv6/ip6_output.c:1628 ip6_append_data+0x1f4/0x550 net/ipv6/ip6_output.c:1884 rawv6_sendmsg+0x15bb/0x3d70 net/ipv6/raw.c:919 inet_sendmsg+0x9d/0xe0 net/ipv4/af_inet.c:829 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg+0xde/0x190 net/socket.c:747 splice_to_socket+0x954/0xe30 fs/splice.c:917 do_splice_from fs/splice.c:969 [inline] direct_splice_actor+0x114/0x180 fs/splice.c:1157 splice_direct_to_actor+0x34a/0x9c0 fs/splice.c:1103 do_splice_direct+0x1ad/0x280 fs/splice.c:1209 do_sendfile+0xb19/0x12c0 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1316 [inline] __se_sys_sendfile64 fs/read_write.c:1308 [inline] __x64_sys_sendfile64+0x14d/0x210 fs/read_write.c:1308 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:0x7fc5f228c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc5f2f70168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fc5f23ac050 RCX: 00007fc5f228c169 RDX: 0000000020000040 RSI: 0000000000000003 RDI: 0000000000000005 RBP: 00007fc5f22e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc97d1171f R14: 00007fc5f2f70300 R15: 0000000000022000