INFO: task khugepaged:34 blocked for more than 143 seconds. Not tainted 6.6.0-syzkaller-16176-g1b907d050735 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:khugepaged state:D stack:28032 pid:34 tgid:34 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee2/0x59a0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x969/0x1340 kernel/locking/mutex.c:747 __lru_add_drain_all+0x69/0x740 mm/swap.c:852 khugepaged_do_scan mm/khugepaged.c:2490 [inline] khugepaged+0x110/0x1410 mm/khugepaged.c:2559 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 INFO: task kworker/u4:7:2461 blocked for more than 143 seconds. Not tainted 6.6.0-syzkaller-16176-g1b907d050735 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:7 state:D stack:22256 pid:2461 tgid:2461 ppid:2 flags:0x00004000 Workqueue: events_unbound fsnotify_mark_destroy_workfn Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee2/0x59a0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6778 schedule_timeout+0x278/0x2c0 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3e0/0x5f0 kernel/sched/completion.c:116 __synchronize_srcu+0x1c7/0x2c0 kernel/rcu/srcutree.c:1388 fsnotify_mark_destroy_workfn+0x113/0x3e0 fs/notify/mark.c:898 process_one_work+0x884/0x15c0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 INFO: task kworker/u4:1:2952 blocked for more than 144 seconds. Not tainted 6.6.0-syzkaller-16176-g1b907d050735 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:1 state:D stack:23280 pid:2952 tgid:2952 ppid:2 flags:0x00004000 Workqueue: events_unbound fsnotify_connector_destroy_workfn Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee2/0x59a0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6778 schedule_timeout+0x278/0x2c0 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3e0/0x5f0 kernel/sched/completion.c:116 __synchronize_srcu+0x1c7/0x2c0 kernel/rcu/srcutree.c:1388 fsnotify_connector_destroy_workfn+0x4d/0xa0 fs/notify/mark.c:208 process_one_work+0x884/0x15c0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 INFO: task syz-executor.1:8827 blocked for more than 144 seconds. Not tainted 6.6.0-syzkaller-16176-g1b907d050735 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26720 pid:8827 tgid:8821 ppid:5093 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee2/0x59a0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6778 schedule_timeout+0x278/0x2c0 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3e0/0x5f0 kernel/sched/completion.c:116 __flush_work+0x523/0xa10 kernel/workqueue.c:3407 __lru_add_drain_all+0x52c/0x740 mm/swap.c:897 invalidate_bdev+0xa0/0xd0 block/bdev.c:86 ntfs_loadlog_and_replay+0x23e/0x5e0 fs/ntfs3/fsntfs.c:330 ntfs_fill_super+0x2603/0x44a0 fs/ntfs3/super.c:1268 get_tree_bdev+0x3b5/0x650 fs/super.c:1598 vfs_get_tree+0x8c/0x370 fs/super.c:1771 do_new_mount fs/namespace.c:3337 [inline] path_mount+0x1492/0x1ed0 fs/namespace.c:3664 do_mount fs/namespace.c:3677 [inline] __do_sys_mount fs/namespace.c:3886 [inline] __se_sys_mount fs/namespace.c:3863 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:3863 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fe41b67e1ea RSP: 002b:00007fe41c457ee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fe41c457f80 RCX: 00007fe41b67e1ea RDX: 0000000020000100 RSI: 00000000200000c0 RDI: 00007fe41c457f40 RBP: 0000000020000100 R08: 00007fe41c457f80 R09: 0000000000804018 R10: 0000000000804018 R11: 0000000000000202 R12: 00000000200000c0 R13: 00007fe41c457f40 R14: 000000000001f211 R15: 0000000020000000 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8cfa95e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfa95e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfa95e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 1 lock held by khugepaged/34: #0: ffffffff8d0bbb88 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x69/0x740 mm/swap.c:852 2 locks held by kworker/u4:7/2461: #0: ffff888013077938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc9000b147d80 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 2 locks held by getty/4816: #0: ffff88814a9bb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900020682f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201 2 locks held by kworker/u4:1/2952: #0: ffff888013077938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc9000492fd80 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 2 locks held by syz-executor.1/8827: #0: ffff888036b6c0e0 (&type->s_umount_key#73){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888036b6c0e0 (&type->s_umount_key#73){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888036b6c0e0 (&type->s_umount_key#73){+.+.}-{3:3}, at: get_tree_bdev+0x391/0x650 fs/super.c:1596 #1: ffffffff8d0bbb88 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x69/0x740 mm/swap.c:852 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.6.0-syzkaller-16176-g1b907d050735 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8840 Comm: syz-executor.2 Not tainted 6.6.0-syzkaller-16176-g1b907d050735 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:147 [inline] RIP: 0010:wrmsr arch/x86/include/asm/msr.h:254 [inline] RIP: 0010:native_apic_msr_write arch/x86/include/asm/apic.h:195 [inline] RIP: 0010:native_apic_msr_write+0x28/0x40 arch/x86/include/asm/apic.h:189 Code: 66 90 f3 0f 1e fa 8d 87 30 ff ff ff 83 e0 ef 74 1c 89 f8 83 e0 ef 83 f8 20 74 12 c1 ef 04 31 d2 89 f0 8d 8f 00 08 00 00 0f 30 <66> 90 c3 c3 89 f6 31 d2 89 cf e9 b9 2a 5c 03 66 0f 1f 84 00 00 00 RSP: 0018:ffffc90000007ec0 EFLAGS: 00000046 RAX: 000000000002a76e RBX: ffff8880b9828240 RCX: 0000000000000838 RDX: 0000000000000000 RSI: 000000000002a76e RDI: 0000000000000038 RBP: 000000000002a76e R08: 0000000000000005 R09: 000000000000003f R10: 0000000000000020 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000020 R14: 0000000000000000 R15: 00000185e0b5291c FS: 00005555571f2480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f75600adf00 CR3: 0000000020a74000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:403 [inline] lapic_next_event+0x10/0x20 arch/x86/kernel/apic/apic.c:448 clockevents_program_event+0x262/0x370 kernel/time/clockevents.c:334 tick_program_event+0xa5/0x130 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x36d/0x800 kernel/time/hrtimer.c:1827 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 8b 74 24 08 48 89 fb 48 83 c7 18 e8 1a d8 df f6 48 89 df e8 12 57 e0 f6 e8 1d 42 06 f7 fb bf 01 00 00 00 62 a3 d1 f6 65 8b 05 63 a4 7b 75 85 c0 74 02 5b c3 e8 50 69 78 RSP: 0018:ffffc9000ad17d00 EFLAGS: 00000206 RAX: 0000000007fdd809 RBX: ffff888019b91400 RCX: 1ffffffff1e32011 RDX: 0000000000000000 RSI: ffffffff8acca9a0 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8f193317 R11: 0000000000000000 R12: ffff888019b91898 R13: 0000000000000021 R14: ffff888019b91800 R15: 1ffff920015a2faf spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x1899/0x2790 kernel/signal.c:2907 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x4b/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f755f27cb23 Code: f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 41 89 ca 41 f7 c1 ff 0f 00 00 75 14 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 25 c3 0f 1f 40 00 48 c7 c0 b0 ff ff ff 64 c7 RSP: 002b:00007ffe845e0208 EFLAGS: 00000246 RAX: 00007f756006d000 RBX: 00007f755e5ff6c0 RCX: 00007f755f27cb23 RDX: 0000000000000000 RSI: 0000000000021000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000020022 R11: 0000000000000246 R12: 00007ffe845e04b0 R13: ffffffffffffffc0 R14: 0000000000001000 R15: 0000000000000000