INFO: task syz-executor.1:13423 blocked for more than 143 seconds. Not tainted 6.1.60-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:21696 pid:13423 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 io_schedule+0x88/0x100 kernel/sched/core.c:8782 folio_wait_bit_common+0x878/0x1290 mm/filemap.c:1296 folio_wait_writeback+0xe8/0x1e0 mm/page-writeback.c:3036 __filemap_fdatawait_range+0x1d2/0x710 mm/filemap.c:524 filemap_fdatawait_keep_errors+0x2d/0xc0 mm/filemap.c:619 wait_sb_inodes fs/fs-writeback.c:2603 [inline] sync_inodes_sb+0x8ae/0xb10 fs/fs-writeback.c:2725 sync_filesystem+0x16b/0x220 fs/sync.c:64 generic_shutdown_super+0x6b/0x340 fs/super.c:474 kill_block_super+0x7a/0xe0 fs/super.c:1459 deactivate_locked_super+0xa0/0x110 fs/super.c:332 cleanup_mnt+0x490/0x520 fs/namespace.c:1186 task_work_run+0x246/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb9e0c7de17 RSP: 002b:00007ffe2b7a5208 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fb9e0c7de17 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffe2b7a52c0 RBP: 00007ffe2b7a52c0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe2b7a6380 R13: 00007fb9e0cc73b9 R14: 00000000001e3ef7 R15: 000000000000000a Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d12a230 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d12aa30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/28: #0: ffffffff8d12a060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:306 [inline] #0: ffffffff8d12a060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d12a060 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6493 2 locks held by klogd/2990: 2 locks held by getty/3301: #0: ffff888028b69098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2188 2 locks held by kworker/u4:0/26727: 2 locks held by syz-executor.1/13423: #0: ffff88807c23c0e0 (&type->s_umount_key#87){++++}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:362 #1: ffff88807c23c990 (&s->s_sync_lock){+.+.}-{3:3}, at: wait_sb_inodes fs/fs-writeback.c:2542 [inline] #1: ffff88807c23c990 (&s->s_sync_lock){+.+.}-{3:3}, at: sync_inodes_sb+0x331/0xb10 fs/fs-writeback.c:2725 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.60-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2990 Comm: klogd Not tainted 6.1.60-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:memset_erms+0xb/0x10 arch/x86/lib/memset_64.S:65 Code: 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 f3 aa <4c> 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 01 01 RSP: 0018:ffffc9000255fb58 EFLAGS: 00000202 RAX: ffffffff83f29a00 RBX: ffffc9000255fbc0 RCX: 0000000000000000 RDX: 0000000000000030 RSI: 0000000000000000 RDI: ffffc9000255fbf0 RBP: ffffc9000255fc78 R08: dffffc0000000000 R09: ffffc9000255fbc0 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920004abf74 R13: dffffc0000000000 R14: ffff88807e018600 R15: dffffc0000000000 FS: 00007f5c03f4e380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa164683000 CR3: 000000007e514000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tomoyo_socket_sendmsg_permission+0x91/0x410 security/tomoyo/network.c:761 security_socket_sendmsg+0x6d/0xa0 security/security.c:2245 __sock_sendmsg net/socket.c:725 [inline] __sys_sendto+0x3db/0x5f0 net/socket.c:2134 __do_sys_sendto net/socket.c:2146 [inline] __se_sys_sendto net/socket.c:2142 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2142 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5c040b09b5 Code: 8b 44 24 08 48 83 c4 28 48 98 c3 48 98 c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 26 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 7a 48 8b 15 44 c4 0c 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffc814ab898 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f5c040b09b5 RDX: 000000000000004a RSI: 000055857da825b0 RDI: 0000000000000003 RBP: 000055857da79910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000013 R13: 00007f5c0423e212 R14: 00007ffc814ab998 R15: 0000000000000000