INFO: task syz-executor.3:21030 blocked for more than 144 seconds. Not tainted 6.2.0-rc7-syzkaller-00002-gd2d11f342b17 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27368 pid:21030 ppid:5093 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6606 schedule+0xde/0x1b0 kernel/sched/core.c:6682 request_wait_answer+0x46d/0x850 fs/fuse/dev.c:407 __fuse_request_send fs/fuse/dev.c:426 [inline] fuse_simple_request+0x711/0xe80 fs/fuse/dev.c:511 fuse_getxattr+0x239/0x420 fs/fuse/xattr.c:82 fuse_xattr_get+0x7d/0xb0 fs/fuse/xattr.c:188 vfs_getxattr_alloc+0x1af/0x330 fs/xattr.c:395 ima_read_xattr+0x38/0x70 security/integrity/ima/ima_appraise.c:228 process_measurement+0xc9b/0x18b0 security/integrity/ima/ima_main.c:320 ima_file_check+0xb0/0x100 security/integrity/ima/ima_main.c:519 do_open fs/namei.c:3559 [inline] path_openat+0x15f1/0x2a50 fs/namei.c:3714 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1337 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:0x7f996c28c0c9 RSP: 002b:00007f996abbc168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f996c3ac1f0 RCX: 00007f996c28c0c9 RDX: 0000000000020842 RSI: 000000002000c380 RDI: ffffffffffffff9c RBP: 00007f996c2e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdffeee5af R14: 00007f996abbc300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/11: #0: ffffffff8c78c7f0 (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/12: #0: ffffffff8c78c4f0 (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: ffffffff8c78d340 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494 2 locks held by getty/4744: #0: ffff8880237a9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900020182f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 2 locks held by kworker/u4:13/5537: #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc90004befda8 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 2 locks held by kworker/u4:10/12534: #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888012477138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc9000717fda8 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 2 locks held by kworker/0:2/15275: 4 locks held by kworker/0:14/15288: 2 locks held by syz-executor.5/20622: #0: ffff88804d763680 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: iterate_dir+0xd1/0x6f0 fs/readdir.c:55 #1: ffff88802a596460 (sb_writers#5){.+.+}-{0:0}, at: file_accessed include/linux/fs.h:2519 [inline] #1: ffff88802a596460 (sb_writers#5){.+.+}-{0:0}, at: iterate_dir+0x45d/0x6f0 fs/readdir.c:70 2 locks held by syz-executor.4/20907: #0: ffff888053cae980 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: iterate_dir+0xd1/0x6f0 fs/readdir.c:55 #1: ffff88802a596460 (sb_writers#5){.+.+}-{0:0}, at: file_accessed include/linux/fs.h:2519 [inline] #1: ffff88802a596460 (sb_writers#5){.+.+}-{0:0}, at: iterate_dir+0x45d/0x6f0 fs/readdir.c:70 1 lock held by syz-executor.0/20910: 1 lock held by syz-executor.3/21030: #0: ffff888020de6080 (&iint->mutex){+.+.}-{3:3}, at: process_measurement+0x3ab/0x18b0 security/integrity/ima/ima_main.c:260 1 lock held by syz-executor.3/21178: #0: ffff888028610308 (&xt[i].mutex){+.+.}-{3:3}, at: xt_find_table_lock+0x144/0x680 net/netfilter/x_tables.c:1242 3 locks held by syz-executor.2/21572: 1 lock held by syz-executor.1/21579: 2 locks held by syz-executor.1/21580: #0: ffff88802ad27da8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe7/0x100 fs/file.c:1046 #1: ffff88802a596460 (sb_writers#5){.+.+}-{0:0}, at: ksys_write+0x12b/0x250 fs/read_write.c:637 1 lock held by syz-executor.1/21581: #0: ffff88802a596460 (sb_writers#5){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1323 [inline] #0: ffff88802a596460 (sb_writers#5){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1309 [inline] #0: ffff88802a596460 (sb_writers#5){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1309 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.2.0-rc7-syzkaller-00002-gd2d11f342b17 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x333/0x3c0 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+0xc75/0xfc0 kernel/hung_task.c:377 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: 20622 Comm: syz-executor.5 Not tainted 6.2.0-rc7-syzkaller-00002-gd2d11f342b17 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:check_preemption_disabled+0x53/0x170 lib/smp_processor_id.c:19 Code: ff 89 de 0f 1f 44 00 00 85 db 74 11 0f 1f 44 00 00 44 89 e0 5b 5d 41 5c 41 5d 41 5e c3 0f 1f 44 00 00 9c 5b 81 e3 00 02 00 00 <31> ff 48 89 de 0f 1f 44 00 00 48 85 db 74 d3 0f 1f 44 00 00 31 ff RSP: 0018:ffffc900035ff9b0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff8aa69940 R08: ffff88807ed71128 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff8a4c3e40 R14: 00000000ffffffff R15: ffff88804d763530 FS: 00005555567e3400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200bd038 CR3: 000000007cf05000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:461 [inline] lock_is_held_type+0x67/0x140 kernel/locking/lockdep.c:5710 lock_is_held include/linux/lockdep.h:283 [inline] __might_resched+0x25/0x2d0 kernel/sched/core.c:10004 __ext4_handle_dirty_metadata+0x39/0x6f0 fs/ext4/ext4_jbd2.c:349 ext4_do_update_inode fs/ext4/inode.c:5257 [inline] ext4_mark_iloc_dirty+0x5e2/0x1c60 fs/ext4/inode.c:5877 ext4_orphan_add+0xefa/0x1440 fs/ext4/orphan.c:168 ext4_rmdir fs/ext4/namei.c:3179 [inline] ext4_rmdir+0x7c8/0xef0 fs/ext4/namei.c:3117 vfs_rmdir.part.0+0x1b0/0x5a0 fs/namei.c:4121 vfs_rmdir fs/namei.c:4106 [inline] do_rmdir+0x395/0x410 fs/namei.c:4182 __do_sys_unlinkat fs/namei.c:4362 [inline] __se_sys_unlinkat fs/namei.c:4356 [inline] __x64_sys_unlinkat+0xef/0x130 fs/namei.c:4356 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:0x7f59be88ba67 Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 07 01 00 00 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:00007ffcc63aa198 EFLAGS: 00000207 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00007f59be88ba67 RDX: 0000000000000200 RSI: 00007ffcc63ab360 RDI: 00000000ffffff9c RBP: 00007ffcc63aa260 R08: 0000000000000000 R09: 00007f59be988640 R10: 0000000000000231 R11: 0000000000000207 R12: 00007f59be8e6b24 R13: 00007ffcc63ab360 R14: 00005555567ec850 R15: 00007ffcc63ac460 vkms_vblank_simulate: vblank timer overrun vkms_vblank_simulate: vblank timer overrun