INFO: task syz-executor.0:23371 blocked for more than 143 seconds. Not tainted 6.2.0-rc7-next-20230208-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24480 pid:23371 ppid:6110 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x245a/0x5a60 kernel/sched/core.c:6619 schedule+0xde/0x1a0 kernel/sched/core.c:6695 schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106 __flush_work+0x595/0xb60 kernel/workqueue.c:3174 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3261 tls_sk_proto_close+0x4ab/0xaf0 net/tls/tls_main.c:326 inet_release+0x132/0x270 net/ipv4/af_inet.c:428 inet6_release+0x50/0x70 net/ipv6/af_inet6.c:489 __sock_release+0xcd/0x290 net/socket.c:651 sock_close+0x1c/0x20 net/socket.c:1390 __fput+0x27c/0xa90 fs/file_table.c:321 task_work_run+0x16f/0x270 kernel/task_work.c:179 get_signal+0x1c7/0x25b0 kernel/signal.c:2635 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/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:0x7ff50be8c0f9 RSP: 002b:00007ff50cb2f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: 0000000000ffc000 RBX: 00007ff50bfac050 RCX: 00007ff50be8c0f9 RDX: 000000007ffff000 RSI: 0000000020000140 RDI: 0000000000000003 RBP: 00007ff50bee7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe8cd10f9f R14: 00007ff50cb2f300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c794230 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c793f30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/28: #0: ffffffff8c794e00 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6545 2 locks held by getty/4756: #0: ffff888028217098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.0/5997: 3 locks held by syz-executor.1/6139: 3 locks held by syz-executor.4/6138: 3 locks held by kworker/1:8/2679: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x86d/0x1820 kernel/workqueue.c:2361 #1: ffffc9000571fda8 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1820 kernel/workqueue.c:2365 #2: ffff888030ca0cd8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x12b/0x190 net/tls/tls_sw.c:2422 5 locks held by kworker/u4:3/20617: 4 locks held by kworker/u4:23/22451: 1 lock held by syz-executor.0/23371: #0: ffff88807691dc10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff88807691dc10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x290 net/socket.c:650 1 lock held by syz-executor.0/23447: #0: ffff8881468f34c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:735 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc7-next-20230208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x316/0x3e0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x3a7/0x460 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+0xe94/0x11e0 kernel/hung_task.c:379 kthread+0x2e8/0x3a0 kernel/kthread.c:376 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: 6138 Comm: syz-executor.4 Not tainted 6.2.0-rc7-next-20230208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x8/0x20 kernel/kcov.c:310 Code: 00 00 f3 0f 1e fa 48 8b 0c 24 89 f2 89 fe bf 05 00 00 00 e9 9a fe ff ff 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 0c 24 <48> 89 f2 48 89 fe bf 07 00 00 00 e9 78 fe ff ff 0f 1f 84 00 00 00 RSP: 0018:ffffc900177df618 EFLAGS: 00000202 RAX: 0000000000040000 RBX: 0000000000000002 RCX: ffffffff8a088f3f RDX: 0000000000040000 RSI: 0000000000000002 RDI: 0000000000000002 RBP: ffffc900177df6b8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000006 R11: 0000000000000000 R12: ffff8880798bec02 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000006 FS: 00007f40bda4a700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005619003495c0 CR3: 000000002884e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xa_is_node include/linux/xarray.h:1242 [inline] xas_load+0x5f/0x140 lib/xarray.c:237 mapping_get_entry mm/filemap.c:1856 [inline] __filemap_get_folio+0x152/0xdc0 mm/filemap.c:1918 pagecache_get_page+0x2e/0x280 mm/folio-compat.c:99 find_get_page_flags include/linux/pagemap.h:588 [inline] __find_get_block_slow fs/buffer.c:203 [inline] __find_get_block fs/buffer.c:1350 [inline] __find_get_block+0x363/0xcd0 fs/buffer.c:1344 __getblk_gfp fs/buffer.c:1372 [inline] __bread_gfp+0x2c/0x330 fs/buffer.c:1410 sb_bread include/linux/buffer_head.h:341 [inline] bfs_find_entry.isra.0+0x316/0x430 fs/bfs/dir.c:337 bfs_lookup+0x1aa/0x2b0 fs/bfs/dir.c:137 lookup_open.isra.0+0x944/0x1400 fs/namei.c:3394 open_last_lookups fs/namei.c:3484 [inline] path_openat+0x975/0x2750 fs/namei.c:3712 do_filp_open+0x1ba/0x410 fs/namei.c:3742 do_sys_openat2+0x16d/0x4c0 fs/open.c:1312 do_sys_open fs/open.c:1328 [inline] __do_sys_open fs/open.c:1336 [inline] __se_sys_open fs/open.c:1332 [inline] __x64_sys_open+0x11d/0x1c0 fs/open.c:1332 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:0x7f40bcc8c0f9 Code: Unable to access opcode bytes at 0x7f40bcc8c0cf. RSP: 002b:00007f40bda4a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f40bcdabf80 RCX: 00007f40bcc8c0f9 RDX: 0000000000000000 RSI: 00000000001612c2 RDI: 0000000020000040 RBP: 00007f40bcce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd1027276f R14: 00007f40bda4a300 R15: 0000000000022000