INFO: task syz-executor.5:8835 blocked for more than 143 seconds. Not tainted 6.3.0-rc6-syzkaller-00035-g0bcc40255504 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26624 pid:8835 ppid:5107 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_openat fs/open.c:1380 [inline] __se_sys_openat fs/open.c:1375 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1375 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:0x7f2ba468c169 RSP: 002b:00007f2ba53d1168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f2ba47ac120 RCX: 00007f2ba468c169 RDX: 0000000000101541 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007f2ba46e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff6cc2826f R14: 00007f2ba53d1300 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/4744: #0: ffff88802c299098 (&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 2 locks held by syz-executor.3/5110: #0: ffff888021d540e0 (&type->s_umount_key#83){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361 #1: ffffffff8cf2a878 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8cf2a878 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:989 2 locks held by kworker/0:13/5343: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc900060d7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 8 locks held by syz-executor.5/8834: 1 lock held by syz-executor.5/8835: #0: ffff88803d8d9c08 (&sb->s_type->i_mutex_key#27){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff88803d8d9c08 (&sb->s_type->i_mutex_key#27){+.+.}-{3:3}, at: process_measurement+0x435/0x1ce0 security/integrity/ima/ima_main.c:243 1 lock held by syz-executor.2/10518: #0: ffff88807c52a0e0 (&type->s_umount_key#55/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc6-syzkaller-00035-g0bcc40255504 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/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: 5179 Comm: syz-fuzzer Not tainted 6.3.0-rc6-syzkaller-00035-g0bcc40255504 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0033:0x46a941 Code: 49 c0 f3 44 0f 6f 51 d0 4c 29 db f3 44 0f 6f 59 e0 f3 44 0f 6f 61 f0 c5 fe 6f 26 4c 01 de 48 29 c3 c5 fe 6f 06 c5 fe 6f 4e 20 fe 6f 56 40 c5 fe 6f 5e 60 48 01 c6 c5 fd 7f 07 c5 fd 7f 4f 20 RSP: 002b:000000c000fb8c38 EFLAGS: 00000202 RAX: 0000000000000080 RBX: 00000000000015e0 RCX: 000000c004ea8000 RDX: 0000000000515b20 RSI: 000000c004ea69a0 RDI: 000000c0003bc9a0 RBP: 000000c000fb8c68 R08: 000000c004ea6000 R09: 0000000000000000 R10: 000000c0003bc000 R11: 0000000000000020 R12: 0000000000000000 R13: 0000000000007fbb R14: 000000c0000061a0 R15: 0000000000000002 FS: 000000c00ed30c90 GS: 0000000000000000