INFO: task syz-executor.0:10352 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00036-g9d1ddab261f3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:17584 pid:10352 tgid:10349 ppid:6052 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 io_schedule+0x8d/0x110 kernel/sched/core.c:9044 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:209 __wait_on_bit+0xb2/0x2f0 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d5/0x260 kernel/sched/wait_bit.c:64 wait_on_bit_io include/linux/wait_bit.h:101 [inline] __wait_on_buffer fs/buffer.c:123 [inline] wait_on_buffer include/linux/buffer_head.h:389 [inline] __sync_dirty_buffer+0x2f7/0x390 fs/buffer.c:2848 ntfs_write_bh+0x5f7/0x7c0 fs/ntfs3/fsntfs.c:1481 mi_write+0x9b/0x1e0 fs/ntfs3/record.c:388 ni_write_inode+0xc99/0x1010 fs/ntfs3/frecord.c:3372 ntfs_set_state+0x52f/0x6c0 fs/ntfs3/fsntfs.c:991 ntfs_sync_fs+0x1ca/0x1f0 fs/ntfs3/super.c:762 sync_filesystem+0xef/0x230 fs/sync.c:56 generic_shutdown_super+0x72/0x2d0 fs/super.c:620 kill_block_super+0x44/0x90 fs/super.c:1675 ntfs3_kill_sb+0x44/0x1b0 fs/ntfs3/super.c:1785 deactivate_locked_super+0xc6/0x130 fs/super.c:472 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1267 task_work_run+0x251/0x310 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa1b/0x27e0 kernel/exit.c:878 do_group_exit+0x207/0x2c0 kernel/exit.c:1027 get_signal+0x16a1/0x1740 kernel/signal.c:2911 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5aa6e7dea9 RSP: 002b:00007f5aa7bd70c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: fffffffffffffff4 RBX: 00007f5aa6fabf80 RCX: 00007f5aa6e7dea9 RDX: 0000000020000240 RSI: 0000000020000200 RDI: 0000000020000180 RBP: 00007f5aa6eca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000003c R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f5aa6fabf80 R15: 00007ffc974c0228 INFO: task syz-executor.5:10412 blocked for more than 145 seconds. Not tainted 6.9.0-rc5-syzkaller-00036-g9d1ddab261f3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:17488 pid:10412 tgid:10410 ppid:10038 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2558 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 __flush_work+0xa7b/0xc90 kernel/workqueue.c:4205 __cancel_work_sync+0x330/0x6d0 kernel/workqueue.c:4304 hci_cmd_sync_clear+0x30/0x220 net/bluetooth/hci_sync.c:588 hci_unregister_dev+0x151/0x4e0 net/bluetooth/hci_core.c:2767 vhci_release+0x83/0xd0 drivers/bluetooth/hci_vhci.c:674 __fput+0x42b/0x8a0 fs/file_table.c:422 task_work_run+0x251/0x310 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa1b/0x27e0 kernel/exit.c:878 do_group_exit+0x207/0x2c0 kernel/exit.c:1027 get_signal+0x16a1/0x1740 kernel/signal.c:2911 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0a4827dea9 RSP: 002b:00007f0a48fe50c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: fffffffffffffff4 RBX: 00007f0a483abf80 RCX: 00007f0a4827dea9 RDX: 0000000020000240 RSI: 0000000020000200 RDI: 0000000020000180 RBP: 00007f0a482ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000003c R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0a483abf80 R15: 00007fffe167ff78 Showing all locks held in the system: 4 locks held by kworker/u8:1/11: 1 lock held by khungtaskd/29: #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 4 locks held by kworker/u8:4/60: 3 locks held by kswapd0/89: 3 locks held by kswapd1/90: 2 locks held by kworker/u8:7/2435: #0: ffff888015081148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff888015081148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc90009517d00 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc90009517d00 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 2 locks held by getty/4838: #0: ffff88802acd60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by syz-fuzzer/5073: #0: ffff888029ae74a8 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:677 [inline] #0: ffff888029ae74a8 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x2f9/0x730 mm/memory.c:5762 #1: ffffffff8e42a800 (fs_reclaim){+.+.}-{0:0}, at: __perform_reclaim mm/page_alloc.c:3771 [inline] #1: ffffffff8e42a800 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_direct_reclaim mm/page_alloc.c:3796 [inline] #1: ffffffff8e42a800 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_slowpath+0xd31/0x23d0 mm/page_alloc.c:4202 2 locks held by syz-fuzzer/5077: #0: ffff888049e3e9a0 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:850 [inline] #0: ffff888049e3e9a0 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_fault+0xaf0/0x16a0 mm/filemap.c:3296 #1: ffffffff8e42a800 (fs_reclaim){+.+.}-{0:0}, at: __perform_reclaim mm/page_alloc.c:3771 [inline] #1: ffffffff8e42a800 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_direct_reclaim mm/page_alloc.c:3796 [inline] #1: ffffffff8e42a800 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_slowpath+0xd31/0x23d0 mm/page_alloc.c:4202 2 locks held by syz-fuzzer/5093: #0: ffff888049e3e9a0 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:850 [inline] #0: ffff888049e3e9a0 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_fault+0xaf0/0x16a0 mm/filemap.c:3296 #1: ffffffff8e42a800 (fs_reclaim){+.+.}-{0:0}, at: __perform_reclaim mm/page_alloc.c:3771 [inline] #1: ffffffff8e42a800 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_direct_reclaim mm/page_alloc.c:3796 [inline] #1: ffffffff8e42a800 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_slowpath+0xd31/0x23d0 mm/page_alloc.c:4202 4 locks held by kworker/u9:2/5098: #0: ffff888028825948 ((wq_completion)hci5){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff888028825948 ((wq_completion)hci5){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc90004547d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc90004547d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffff888149961060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:309 #3: ffff888149960078 (&hdev->lock){+.+.}-{3:3}, at: hci_abort_conn_sync+0x1ea/0xde0 net/bluetooth/hci_sync.c:5548 4 locks held by kworker/u9:4/5103: #0: ffff88807d2e0148 ((wq_completion)hci3){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff88807d2e0148 ((wq_completion)hci3){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc90004517d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc90004517d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffff88807f0e5060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:309 #3: ffff88807f0e4078 (&hdev->lock){+.+.}-{3:3}, at: hci_abort_conn_sync+0x1ea/0xde0 net/bluetooth/hci_sync.c:5548 2 locks held by syz-executor.0/10352: #0: ffff88804a3e00e0 (&type->s_umount_key#80){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88804a3e00e0 (&type->s_umount_key#80){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88804a3e00e0 (&type->s_umount_key#80){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:504 #1: ffff888059ac6840 (&ni->ni_lock){+.+.}-{3:3}, at: ni_trylock fs/ntfs3/ntfs_fs.h:1141 [inline] #1: ffff888059ac6840 (&ni->ni_lock){+.+.}-{3:3}, at: ni_write_inode+0x1bc/0x1010 fs/ntfs3/frecord.c:3265 2 locks held by syz-executor.2/10473: #0: ffff8880111fcda0 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:165 [inline] #0: ffff8880111fcda0 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5633 [inline] #0: ffff8880111fcda0 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x32/0x2f0 mm/memory.c:5693 #1: ffffffff8e42a800 (fs_reclaim){+.+.}-{0:0}, at: __perform_reclaim mm/page_alloc.c:3771 [inline] #1: ffffffff8e42a800 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_direct_reclaim mm/page_alloc.c:3796 [inline] #1: ffffffff8e42a800 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_slowpath+0xd31/0x23d0 mm/page_alloc.c:4202 2 locks held by syz-executor.5/10511: #0: ffff88802e9e1e20 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:165 [inline] #0: ffff88802e9e1e20 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5633 [inline] #0: ffff88802e9e1e20 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x32/0x2f0 mm/memory.c:5693 #1: ffffffff8e42a800 (fs_reclaim){+.+.}-{0:0}, at: __perform_reclaim mm/page_alloc.c:3771 [inline] #1: ffffffff8e42a800 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_direct_reclaim mm/page_alloc.c:3796 [inline] #1: ffffffff8e42a800 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_slowpath+0xd31/0x23d0 mm/page_alloc.c:4202 2 locks held by kworker/u8:7/10698: #0: ffff88801d5c8400 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff88801d5c8400 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: open_last_lookups fs/namei.c:3565 [inline] #0: ffff88801d5c8400 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: path_openat+0x7c4/0x3240 fs/namei.c:3796 #1: ffffffff8e3e6dc8 (oom_lock){+.+.}-{3:3}, at: __alloc_pages_may_oom mm/page_alloc.c:3438 [inline] #1: ffffffff8e3e6dc8 (oom_lock){+.+.}-{3:3}, at: __alloc_pages_slowpath+0x17ef/0x23d0 mm/page_alloc.c:4251 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc5-syzkaller-00036-g9d1ddab261f3 #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+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:380 kthread+0x2f2/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 44 Comm: kworker/1:1 Not tainted 6.9.0-rc5-syzkaller-00036-g9d1ddab261f3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events nsim_dev_trap_report_work RIP: 0010:get_current arch/x86/include/asm/current.h:49 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x8/0x70 kernel/kcov.c:206 Code: 8b 3d 6c 10 3f 0c 48 89 de 5b e9 c3 f1 58 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 0c 25 c0 d3 03 00 65 8b 15 50 d2 6d 7e f7 c2 00 01 ff 00 RSP: 0018:ffffc90000b46778 EFLAGS: 00000297 RAX: ffffffff8b790afc RBX: 0000000000000010 RCX: ffff88801b691e00 RDX: ffff88801b691e00 RSI: 0000000000000010 RDI: 0000000000000029 RBP: ffffc90000b46870 R08: ffffffff8b790aed R09: ffffffff8b790454 R10: 0000000000000012 R11: ffff88801b691e00 R12: ffffffff8bcb7dc5 R13: dffffc0000000000 R14: ffff0a0000000509 R15: 1ffff92000168d1c FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c000069f28 CR3: 000000001e77a000 CR4: 0000000000350ef0 Call Trace: vsnprintf+0x82c/0x1da0 lib/vsprintf.c:2857 sprintf+0xda/0x120 lib/vsprintf.c:3028 print_time kernel/printk/printk.c:1330 [inline] info_print_prefix+0x16b/0x310 kernel/printk/printk.c:1356 record_print_text kernel/printk/printk.c:1405 [inline] printk_get_next_message+0x6da/0xbe0 kernel/printk/printk.c:2840 console_emit_next_record kernel/printk/printk.c:2880 [inline] console_flush_all+0x410/0xfd0 kernel/printk/printk.c:2979 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3048 vprintk_emit+0x5a6/0x770 kernel/printk/printk.c:2348 _printk+0xd5/0x120 kernel/printk/printk.c:2373 show_free_areas mm/show_mem.c:349 [inline] __show_mem+0x16f0/0x24a0 mm/show_mem.c:406 warn_alloc_show_mem mm/page_alloc.c:3371 [inline] warn_alloc+0x354/0x410 mm/page_alloc.c:3396 __alloc_pages_slowpath+0x2378/0x23d0 mm/page_alloc.c:4318 __alloc_pages+0x43e/0x6c0 mm/page_alloc.c:4588 __alloc_pages_node include/linux/gfp.h:238 [inline] alloc_pages_node include/linux/gfp.h:261 [inline] alloc_slab_page+0x5f/0x160 mm/slub.c:2175 allocate_slab mm/slub.c:2346 [inline] new_slab+0x1dc/0x2f0 mm/slub.c:2391 ___slab_alloc+0xc73/0x1260 mm/slub.c:3525 __slab_alloc mm/slub.c:3610 [inline] __slab_alloc_node mm/slub.c:3663 [inline] slab_alloc_node mm/slub.c:3835 [inline] kmem_cache_alloc_node+0x24a/0x380 mm/slub.c:3888 __alloc_skb+0x1c3/0x440 net/core/skbuff.c:658 alloc_skb include/linux/skbuff.h:1313 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:748 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x254/0xaa0 drivers/net/netdevsim/dev.c:850 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0xa12/0x17c0 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 kthread+0x2f2/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244