INFO: task syz-executor.4:5764 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29360 pid:5764 tgid:5756 ppid:5070 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6828 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6885 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:803 [inline] lookup_slow fs/namei.c:1708 [inline] walk_component+0x342/0x5b0 fs/namei.c:2004 lookup_last fs/namei.c:2461 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2485 filename_lookup+0x1e5/0x5b0 fs/namei.c:2514 user_path_at_empty+0x42/0x60 fs/namei.c:2921 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3689 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __x64_sys_mount+0x1ff/0x320 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f18f5c7de69 RSP: 002b:00007f18f69630c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f18f5dac120 RCX: 00007f18f5c7de69 RDX: 00000000200000c0 RSI: 0000000020000040 RDI: 0000000020000180 RBP: 00007f18f5cca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f18f5dac120 R15: 00007fff69fc5b48 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 1 lock held by acpid/4497: #0: ffffffff8d7bc4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #0: ffffffff8d7bc4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x682/0x7a0 kernel/rcu/tree_exp.h:939 2 locks held by getty/4812: #0: ffff88802efba0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015e02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 2 locks held by syz-executor.4/5763: 1 lock held by syz-executor.4/5764: #0: ffff888054818188 (&type->i_mutex_dir_key#15){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff888054818188 (&type->i_mutex_dir_key#15){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff888054818188 (&type->i_mutex_dir_key#15){.+.+}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 2 locks held by syz-executor.0/8488: #0: ffffffff8eb9f728 (input_mutex){+.+.}-{3:3}, at: __input_unregister_device+0x136/0x450 drivers/input/input.c:2219 #1: ffffffff8d7bc4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #1: ffffffff8d7bc4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x403/0x7a0 kernel/rcu/tree_exp.h:939 2 locks held by syz-executor.2/8492: 3 locks held by syz-executor.1/8508: #0: ffff88802dd82420 (sb_writers#5){.+.+}-{0:0}, at: ioctl_setflags fs/ioctl.c:726 [inline] #0: ffff88802dd82420 (sb_writers#5){.+.+}-{0:0}, at: do_vfs_ioctl+0x21b/0x1ac0 fs/ioctl.c:867 #1: ffff888045535e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:793 [inline] #1: ffff888045535e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: vfs_fileattr_set+0x153/0xc00 fs/ioctl.c:682 #2: ffff88802dd84b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_write fs/ext4/ext4.h:1781 [inline] #2: ffff88802dd84b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_ind_migrate+0x23c/0xa50 fs/ext4/migrate.c:625 1 lock held by syz-executor.1/8509: #0: ffff888045535e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:793 [inline] #0: ffff888045535e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: process_measurement+0x3a2/0x2100 security/integrity/ima/ima_main.c:248 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf86/0x1210 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8492 Comm: syz-executor.2 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__read_once_word_nocheck+0x9/0x20 include/asm-generic/rwonce.h:67 Code: e9 1f f9 ff ff 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 53 48 89 fb e8 a7 6d 50 00 <48> 8b 03 5b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f RSP: 0018:ffffc900000075a8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90000007ec8 RCX: ffffc9000000766c RDX: ffff888029343c00 RSI: ffffffff813c8b09 RDI: ffffc90000007ec8 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000003 R12: ffffc90000007ec8 R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000001 FS: 00007f7002b8f6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001a80 CR3: 0000000064840000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: deref_stack_reg arch/x86/kernel/unwind_orc.c:406 [inline] unwind_next_frame+0x1bba/0x23a0 arch/x86/kernel/unwind_orc.c:648 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3798 [inline] slab_alloc_node mm/slub.c:3845 [inline] kmem_cache_alloc_node+0x177/0x340 mm/slub.c:3888 __alloc_skb+0x2b1/0x380 net/core/skbuff.c:658 skb_copy+0x12c/0x2e0 net/core/skbuff.c:2128 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb9a/0x1310 drivers/net/wireless/virtual/mac80211_hwsim.c:1854 mac80211_hwsim_tx_frame+0x1eb/0x2a0 drivers/net/wireless/virtual/mac80211_hwsim.c:2200 __mac80211_hwsim_beacon_tx drivers/net/wireless/virtual/mac80211_hwsim.c:2217 [inline] mac80211_hwsim_beacon_tx+0x503/0x880 drivers/net/wireless/virtual/mac80211_hwsim.c:2300 __iterate_interfaces+0x2d2/0x580 net/mac80211/util.c:772 ieee80211_iterate_active_interfaces_atomic+0x71/0x1b0 net/mac80211/util.c:808 mac80211_hwsim_beacon+0x105/0x200 drivers/net/wireless/virtual/mac80211_hwsim.c:2326 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x20c/0xc20 kernel/time/hrtimer.c:1756 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1773 __do_softirq+0x218/0x8de kernel/softirq.c:554 invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:633 [inline] irq_exit_rcu+0xb9/0x120 kernel/softirq.c:645 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__sanitizer_cov_trace_pc+0x18/0x60 kernel/kcov.c:203 Code: 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 48 8b 15 04 db 76 7e 65 8b 05 05 db 76 7e a9 00 01 ff 00 <48> 8b 34 24 74 0f f6 c4 01 74 35 8b 82 14 16 00 00 85 c0 74 2b 8b RSP: 0018:ffffc900039bf1b8 EFLAGS: 00000246 RAX: 0000000080000001 RBX: ffffc900039bf240 RCX: ffffc9000ab7c000 RDX: ffff888029343c00 RSI: ffffffff813c8c34 RDI: 0000000000000006 RBP: 0000000000000001 R08: 0000000000000006 R09: ffffffff81c8329e R10: ffffffff81c83288 R11: dffffc0000000000 R12: ffffffff903606f0 R13: ffffffff903606c0 R14: 000000000002c2c4 R15: ffffc900039bf275 unwind_next_frame+0x33d/0x23a0 arch/x86/kernel/unwind_orc.c:495 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x162/0x1f0 mm/page_owner.c:129 __set_page_owner+0x1f/0x60 mm/page_owner.c:195 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x2d4/0x350 mm/page_alloc.c:1533 prep_new_page mm/page_alloc.c:1540 [inline] get_page_from_freelist+0xa28/0x3780 mm/page_alloc.c:3311 __alloc_pages+0x22b/0x2410 mm/page_alloc.c:4569 alloc_pages_mpol+0x258/0x600 mm/mempolicy.c:2133 shmem_alloc_folio+0x114/0x150 mm/shmem.c:1634 shmem_alloc_and_add_folio+0x14f/0x7b0 mm/shmem.c:1674 shmem_get_folio_gfp+0x685/0x13e0 mm/shmem.c:2061 shmem_get_folio mm/shmem.c:2166 [inline] shmem_write_begin+0x15a/0x370 mm/shmem.c:2750 generic_perform_write+0x272/0x620 mm/filemap.c:3930 shmem_file_write_iter+0x114/0x140 mm/shmem.c:2926 call_write_iter include/linux/fs.h:2108 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x6db/0x1100 fs/read_write.c:590 ksys_write+0x12f/0x260 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f7001e7cbaf Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c 81 02 00 48 RSP: 002b:00007f7002b8ee80 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000013bd7ef RCX: 00007f7001e7cbaf RDX: 00000000013bd7ef RSI: 00007f6ff7c00000 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000054ed R10: 00000000000003ce R11: 0000000000000293 R12: 0000000000000008 R13: 00007f7002b8ef80 R14: 00007f7002b8ef40 R15: 00007f6ff7c00000 vkms_vblank_simulate: vblank timer overrun