INFO: task syz-executor.5:8575 blocked for more than 143 seconds. Not tainted 6.3.0-syzkaller-00113-g1a0beef98b58 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26720 pid:8575 ppid:8256 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:758 [inline] process_measurement+0x435/0x1ce0 security/integrity/ima/ima_main.c:243 ima_file_check+0xf1/0x170 security/integrity/ima/ima_main.c:539 do_open fs/namei.c:3562 [inline] path_openat+0x280a/0x3170 fs/namei.c:3715 do_filp_open+0x234/0x490 fs/namei.c:3742 do_sys_openat2+0x13f/0x500 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_sys_open fs/open.c:1372 [inline] __se_sys_open fs/open.c:1368 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1368 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa6b588c169 RSP: 002b:00007fa6b65c0168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fa6b59ac120 RCX: 00007fa6b588c169 RDX: 0000000000000000 RSI: 0000000000000a00 RDI: 00000000200000c0 RBP: 00007fa6b58e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd9969ebaf R14: 00007fa6b65c0300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cf25570 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cf25d70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffffffff8cf253a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4732: #0: ffff8880280ef098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177 4 locks held by kworker/u4:5/21784: #0: ffff88801772c138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc90010f2fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 #2: ffff88802754e0e0 (&type->s_umount_key#58){++++}-{3:3}, at: trylock_super+0x1f/0xf0 fs/super.c:414 #3: ffff888032f752a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2207 [inline] #3: ffff888032f752a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x51a/0x6f0 fs/f2fs/segment.c:427 4 locks held by kworker/u4:2/29341: #0: ffff88801772c138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc9000b8a7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 #2: ffff88802e8640e0 (&type->s_umount_key#58){++++}-{3:3}, at: trylock_super+0x1f/0xf0 fs/super.c:414 #3: ffff8880280c12a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2207 [inline] #3: ffff8880280c12a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x51a/0x6f0 fs/f2fs/segment.c:427 6 locks held by syz-executor.5/8539: 2 locks held by syz-executor.5/8575: #0: ffff88802754e460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff888036d7e348 (&sb->s_type->i_mutex_key#24){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff888036d7e348 (&sb->s_type->i_mutex_key#24){+.+.}-{3:3}, at: process_measurement+0x435/0x1ce0 security/integrity/ima/ima_main.c:243 5 locks held by syz-executor.0/9567: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller-00113-g1a0beef98b58 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x187/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+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x270/0x300 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: 9567 Comm: syz-executor.0 Not tainted 6.3.0-syzkaller-00113-g1a0beef98b58 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:radix_tree_lookup+0x249/0x290 lib/radix-tree.c:817 Code: 48 c7 c7 00 a4 3c 8e 4c 89 ea e8 42 bf d1 f9 e9 73 fe ff ff e8 b8 c6 f2 f6 4c 89 e8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d e8 a1 c6 f2 f6 45 31 ed eb e4 e8 97 c6 f2 f6 eb 05 e8 90 c6 f2 RSP: 0018:ffffc9000b2b6e90 EFLAGS: 00000286 RAX: ffff888024bc92a0 RBX: 0000000000000014 RCX: ffff888024f157c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffff88802c8e0130 R08: ffffffff8a97b201 R09: ffffed10087f081a R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000014 R14: ffff888043f84000 R15: ffff888043f84000 FS: 00007fcb6343e700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055900f5eb680 CR3: 000000001cbbf000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lookup_nat_cache+0x23/0x290 fs/f2fs/node.c:211 f2fs_get_node_info+0x103/0x12c0 fs/f2fs/node.c:565 is_alive fs/f2fs/gc.c:1092 [inline] gc_data_segment fs/f2fs/gc.c:1525 [inline] do_garbage_collect+0x1d68/0x7440 fs/f2fs/gc.c:1739 f2fs_gc+0xc50/0x2200 fs/f2fs/gc.c:1837 f2fs_balance_fs+0x525/0x6f0 fs/f2fs/segment.c:428 f2fs_map_blocks+0x3ced/0x4710 fs/f2fs/data.c:1779 f2fs_expand_inode_data+0x567/0xaf0 fs/f2fs/file.c:1745 f2fs_fallocate+0x400/0x6d0 fs/f2fs/file.c:1840 vfs_fallocate+0x54b/0x6b0 fs/open.c:324 ksys_fallocate fs/open.c:347 [inline] __do_sys_fallocate fs/open.c:355 [inline] __se_sys_fallocate fs/open.c:353 [inline] __x64_sys_fallocate+0xbd/0x100 fs/open.c:353 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fcb6268c169 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:00007fcb6343e168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fcb627ac050 RCX: 00007fcb6268c169 RDX: 000000000000dc8b RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fcb626e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe7ba8a5af R14: 00007fcb6343e300 R15: 0000000000022000