INFO: task kcompactd0:30 blocked for more than 143 seconds. Not tainted 6.0.0-rc5-syzkaller-00094-ga335366bad13 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kcompactd0 state:D stack:28232 pid: 30 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0xadf/0x52b0 kernel/sched/core.c:6494 schedule+0xda/0x1b0 kernel/sched/core.c:6570 io_schedule+0xba/0x130 kernel/sched/core.c:8714 folio_wait_bit_common+0x3dd/0xa90 mm/filemap.c:1298 lock_page include/linux/pagemap.h:960 [inline] __unmap_and_move mm/migrate.c:1009 [inline] unmap_and_move mm/migrate.c:1162 [inline] migrate_pages+0xc74/0x5920 mm/migrate.c:1441 compact_zone+0x1ac4/0x3750 mm/compaction.c:2416 kcompactd_do_work+0x2c4/0x720 mm/compaction.c:2854 kcompactd+0x866/0xf20 mm/compaction.c:2956 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 INFO: task syz-executor.0:1746 blocked for more than 145 seconds. Not tainted 6.0.0-rc5-syzkaller-00094-ga335366bad13 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28312 pid: 1746 ppid: 1669 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0xadf/0x52b0 kernel/sched/core.c:6494 schedule+0xda/0x1b0 kernel/sched/core.c:6570 rwsem_down_write_slowpath+0x59c/0x11e0 kernel/locking/rwsem.c:1182 __down_write_common kernel/locking/rwsem.c:1297 [inline] __down_write_common kernel/locking/rwsem.c:1294 [inline] __down_write kernel/locking/rwsem.c:1306 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1553 inode_lock include/linux/fs.h:756 [inline] process_measurement+0x168d/0x18b0 security/integrity/ima/ima_main.c:241 ima_file_check+0xac/0x100 security/integrity/ima/ima_main.c:517 do_open fs/namei.c:3559 [inline] path_openat+0x1611/0x28f0 fs/namei.c:3691 do_filp_open+0x1b6/0x400 fs/namei.c:3718 do_sys_openat2+0x16d/0x4c0 fs/open.c:1311 do_sys_open fs/open.c:1327 [inline] __do_sys_openat fs/open.c:1343 [inline] __se_sys_openat fs/open.c:1338 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1338 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+0x63/0xcd RIP: 0033:0x7f2531c89409 RSP: 002b:00007f2532d20168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f2531d9c120 RCX: 00007f2531c89409 RDX: 0000000000004000 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f2531ce4367 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeba2c46df R14: 00007f2532d20300 R15: 0000000000022000 INFO: task syz-executor.3:1747 blocked for more than 147 seconds. Not tainted 6.0.0-rc5-syzkaller-00094-ga335366bad13 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28368 pid: 1747 ppid: 1605 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0xadf/0x52b0 kernel/sched/core.c:6494 schedule+0xda/0x1b0 kernel/sched/core.c:6570 rwsem_down_write_slowpath+0x59c/0x11e0 kernel/locking/rwsem.c:1182 __down_write_common kernel/locking/rwsem.c:1297 [inline] __down_write_common kernel/locking/rwsem.c:1294 [inline] __down_write kernel/locking/rwsem.c:1306 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1553 inode_lock include/linux/fs.h:756 [inline] process_measurement+0x168d/0x18b0 security/integrity/ima/ima_main.c:241 ima_file_check+0xac/0x100 security/integrity/ima/ima_main.c:517 do_open fs/namei.c:3559 [inline] path_openat+0x1611/0x28f0 fs/namei.c:3691 do_filp_open+0x1b6/0x400 fs/namei.c:3718 do_sys_openat2+0x16d/0x4c0 fs/open.c:1311 do_sys_open fs/open.c:1327 [inline] __do_sys_openat fs/open.c:1343 [inline] __se_sys_openat fs/open.c:1338 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1338 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+0x63/0xcd RIP: 0033:0x7fdae6e89409 RSP: 002b:00007fdae7f1b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fdae6f9c120 RCX: 00007fdae6e89409 RDX: 0000000000004000 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007fdae6ee4367 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd0a1abe7f R14: 00007fdae7f1b300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8bf888b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8bf885b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/27: #0: ffffffff8bf89400 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6492 2 locks held by getty/3285: #0: ffff888026be7098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef0/0x13e0 drivers/tty/n_tty.c:2177 3 locks held by kworker/u4:7/5141: 1 lock held by syz-executor.3/1272: 1 lock held by syz-executor.2/1319: 2 locks held by syz-executor.1/1368: 1 lock held by syz-executor.2/1421: 1 lock held by syz-executor.3/1470: 1 lock held by syz-executor.2/1505: 1 lock held by syz-executor.4/1522: 1 lock held by syz-executor.0/1563: 1 lock held by syz-executor.5/1572: 1 lock held by syz-executor.1/1623: 2 locks held by syz-executor.4/1710: 2 locks held by syz-executor.5/1738: 1 lock held by syz-executor.0/1742: 1 lock held by syz-executor.0/1746: #0: ffff888074d03628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #0: ffff888074d03628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: process_measurement+0x168d/0x18b0 security/integrity/ima/ima_main.c:241 1 lock held by syz-executor.3/1747: #0: ffff888074d03628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #0: ffff888074d03628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: process_measurement+0x168d/0x18b0 security/integrity/ima/ima_main.c:241 2 locks held by syz-fuzzer/1749: #0: ffff88807f203488 (&sig->cred_guard_mutex){+.+.}-{3:3}, at: prepare_bprm_creds fs/exec.c:1477 [inline] #0: ffff88807f203488 (&sig->cred_guard_mutex){+.+.}-{3:3}, at: bprm_execve+0xb2/0x1960 fs/exec.c:1812 #1: ffff888074d03628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff888074d03628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: process_measurement+0x6f7/0x18b0 security/integrity/ima/ima_main.c:241 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.0.0-rc5-syzkaller-00094-ga335366bad13 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x46/0x14f lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x206/0x250 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc18/0xf50 kernel/hung_task.c:369 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt+0x6f/0xb0 drivers/acpi/processor_idle.c:112