INFO: task syz-executor.4:7438 blocked for more than 143 seconds. Not tainted 6.0.0-syzkaller-06205-gffb39098bf87 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26216 pid: 7438 ppid: 3647 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5183 [inline] __schedule+0xadf/0x52b0 kernel/sched/core.c:6495 schedule+0xda/0x1b0 kernel/sched/core.c:6571 io_schedule+0xba/0x130 kernel/sched/core.c:8715 folio_wait_bit_common+0x3dd/0xa90 mm/filemap.c:1298 __folio_lock mm/filemap.c:1664 [inline] folio_lock include/linux/pagemap.h:939 [inline] folio_lock include/linux/pagemap.h:935 [inline] __filemap_get_folio+0xc6d/0xed0 mm/filemap.c:1936 truncate_inode_pages_range+0x37c/0x1510 mm/truncate.c:378 ntfs_evict_inode+0x16/0xa0 fs/ntfs3/inode.c:1741 evict+0x2ed/0x6b0 fs/inode.c:665 iput_final fs/inode.c:1748 [inline] iput.part.0+0x55d/0x810 fs/inode.c:1774 iput+0x58/0x70 fs/inode.c:1764 ntfs_fill_super+0x2e89/0x37f0 fs/ntfs3/super.c:1190 get_tree_bdev+0x440/0x760 fs/super.c:1323 vfs_get_tree+0x89/0x2f0 fs/super.c:1530 do_new_mount fs/namespace.c:3040 [inline] path_mount+0x1326/0x1e20 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568 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:0x7f8a5808bada RSP: 002b:00007f8a5919af88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f8a5808bada RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f8a5919afe0 RBP: 00007f8a5919b020 R08: 00007f8a5919b020 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f8a5919afe0 R15: 0000000020002500 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8bf85bf0 (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/14: #0: ffffffff8bf858f0 (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/29: #0: ffffffff8bf86740 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6492 3 locks held by acpid/2958: #0: ffff88807b8ff158 (&mousedev->mutex#2){+.+.}-{3:3}, at: mousedev_open_device+0x1f/0x140 drivers/input/mousedev.c:423 #1: ffff88803e7062c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_open_device+0x4a/0x320 drivers/input/input.c:630 #2: ffff888073eec148 (&dev->pm_mutex){+.+.}-{3:3}, at: bcm5974_open+0x97/0x160 drivers/input/mouse/bcm5974.c:837 2 locks held by getty/3288: #0: ffff88814ae4e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900031362f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef0/0x13e0 drivers/tty/n_tty.c:2177 7 locks held by kworker/0:0/3658: #0: ffff888017685538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888017685538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888017685538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888017685538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888017685538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888017685538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc900047afda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff888020cbb190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff888020cbb190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1bc/0x45e0 drivers/usb/core/hub.c:5681 #3: ffff88803e702190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #3: ffff88803e702190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x530 drivers/base/dd.c:983 #4: ffff88807a63c118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #4: ffff88807a63c118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x530 drivers/base/dd.c:983 #5: ffffffff8d0d7ee8 (input_mutex){+.+.}-{3:3}, at: input_register_device.cold+0x34/0x2fe drivers/input/input.c:2389 #6: ffff88803e7062c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_register_handle+0x6d/0x510 drivers/input/input.c:2555 2 locks held by kworker/u4:2/3692: #0: ffff8880b9b39fd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:545 #1: ffff8880b9b277c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x176/0x4e0 kernel/sched/psi.c:876 1 lock held by syz-executor.4/7438: #0: ffff888077a880e0 (&type->s_umount_key#80/1){+.+.}-{3:3}, at: alloc_super+0x22e/0xb60 fs/super.c:228 3 locks held by udevd/8795: #0: ffff8880831efc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:253 [inline] #0: ffff8880831efc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x189/0x710 fs/kernfs/file.c:300 #1: ffff88807c77fcb8 (kn->active#86){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:254 [inline] #1: ffff88807c77fcb8 (kn->active#86){++++}-{0:0}, at: kernfs_fop_read_iter+0x1ac/0x710 fs/kernfs/file.c:300 #2: ffff88803e702190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:840 [inline] #2: ffff88803e702190 (&dev->mutex){....}-{3:3}, at: read_descriptors+0x3c/0x2c0 drivers/usb/core/sysfs.c:873 5 locks held by kworker/u4:3/8846: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.0.0-syzkaller-06205-gffb39098bf87 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3692 Comm: kworker/u4:2 Not tainted 6.0.0-syzkaller-06205-gffb39098bf87 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__lock_acquire+0xd02/0x56d0 kernel/locking/lockdep.c:5056 Code: 85 78 49 00 00 8b 35 f9 53 82 0c 85 f6 0f 84 41 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 54 24 60 48 c1 ea 03 80 3c 02 00 <0f> 85 af 48 00 00 48 8b 44 24 08 48 8b 14 24 49 89 85 68 0a 00 00 RSP: 0018:ffffc90004dbf758 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffffffff8f7cbc60 RCX: ffffffff815e2cde RDX: 1ffff110048b98ad RSI: 0000000000000001 RDI: ffffffff8f7cbc78 RBP: c53481ec2129db82 R08: 0000000000000000 R09: ffffffff90908957 R10: fffffbfff212112a R11: 0000000000000000 R12: ffff8880245cc640 R13: ffff8880245cbb00 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ef25000 CR3: 000000000bc8e000 CR4: 0000000000350ef0 Call Trace: lock_acquire kernel/locking/lockdep.c:5666 [inline] lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5631 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] __get_locked_pte+0x154/0x270 mm/memory.c:1838 get_locked_pte include/linux/mm.h:2089 [inline] __text_poke+0x1b3/0x8e0 arch/x86/kernel/alternative.c:1132 text_poke arch/x86/kernel/alternative.c:1217 [inline] text_poke_bp_batch+0x37d/0x6b0 arch/x86/kernel/alternative.c:1515 text_poke_flush arch/x86/kernel/alternative.c:1670 [inline] text_poke_flush arch/x86/kernel/alternative.c:1667 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1677 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:801 static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate mm/kfence/core.c:811 [inline] toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:803 process_one_work+0x991/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306