INFO: task syz-executor.1:8831 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25176 pid:8831 tgid:8825 ppid:8355 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:830 [inline] do_unlinkat+0x26a/0x830 fs/namei.c:4386 __do_sys_unlink fs/namei.c:4447 [inline] __se_sys_unlink fs/namei.c:4445 [inline] __x64_sys_unlink+0x49/0x60 fs/namei.c:4445 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f84fae7dea9 RSP: 002b:00007f84fbba60c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007f84fafac1f0 RCX: 00007f84fae7dea9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00007f84faeca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f84fafac1f0 R15: 00007ffea84fdde8 INFO: task syz-executor.1:8834 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28920 pid:8834 tgid:8825 ppid:8355 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:830 [inline] do_unlinkat+0x26a/0x830 fs/namei.c:4386 __do_sys_unlink fs/namei.c:4447 [inline] __se_sys_unlink fs/namei.c:4445 [inline] __x64_sys_unlink+0x49/0x60 fs/namei.c:4445 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f84fae7dea9 RSP: 002b:00007f84fbb850c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007f84fafac2c0 RCX: 00007f84fae7dea9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000ac0 RBP: 00007f84faeca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f84fafac2c0 R15: 00007ffea84fdde8 Showing all locks held in the system: 3 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 2 locks held by kworker/u8:2/34: #0: ffff888015089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff888015089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc90000aa7d00 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc90000aa7d00 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 3 locks held by kworker/0:3/925: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc9000431fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc9000431fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffffffff8f594508 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 2 locks held by kworker/u8:5/1037: 7 locks held by kworker/u8:7/2809: 2 locks held by klogd/4515: 3 locks held by udevd/4526: 2 locks held by getty/4826: #0: ffff88802ae3b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000312b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by syz-fuzzer/5062: 3 locks held by syz-fuzzer/5065: 2 locks held by syz-fuzzer/5078: 4 locks held by syz-executor.1/8828: #0: ffff888059588420 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff8880705feae0 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff8880705feae0 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3892 #2: ffff8880705fe840 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1123 [inline] #2: ffff8880705fe840 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_lookup+0xf9/0x1f0 fs/ntfs3/namei.c:84 #3: ffff8880705ff7b0 (&ni->file.run_lock#2){.+.+}-{3:3}, at: mi_read+0x181/0x5a0 fs/ntfs3/record.c:129 2 locks held by syz-executor.1/8831: #0: ffff888059588420 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff8880705feae0 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff8880705feae0 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: do_unlinkat+0x26a/0x830 fs/namei.c:4386 2 locks held by syz-executor.1/8834: #0: ffff888059588420 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff8880705feae0 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff8880705feae0 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: do_unlinkat+0x26a/0x830 fs/namei.c:4386 1 lock held by syz-executor.3/10284: #0: ffffffff8f594508 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f594508 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 4 locks held by syz-executor.4/10286: #0: ffff88822bef1060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:552 [inline] #0: ffff88822bef1060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1db/0x4e0 net/bluetooth/hci_core.c:2773 #1: ffff88822bef0078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x48b/0x1050 net/bluetooth/hci_sync.c:5146 #2: ffffffff8f6fd868 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2025 [inline] #2: ffffffff8f6fd868 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2568 #3: ffffffff8e33a0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #3: ffffffff8e33a0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x39a/0x820 kernel/rcu/tree_exp.h:939 3 locks held by cmp/10368: 2 locks held by modprobe/10369: #0: ffff888062c76580 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:677 [inline] #0: ffff888062c76580 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x2f9/0x730 mm/memory.c:5762 #1: ffffffff8e428d80 (fs_reclaim){+.+.}-{0:0}, at: __perform_reclaim mm/page_alloc.c:3771 [inline] #1: ffffffff8e428d80 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_direct_reclaim mm/page_alloc.c:3796 [inline] #1: ffffffff8e428d80 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_slowpath+0xd31/0x23d0 mm/page_alloc.c:4202 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #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+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1037 Comm: kworker/u8:5 Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: loop1 loop_workfn RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5496 [inline] RIP: 0010:lock_is_held_type+0xd7/0x190 kernel/locking/lockdep.c:5825 Code: 48 ff c5 49 63 85 d0 0a 00 00 48 83 c3 28 48 39 c5 7c d8 eb 11 48 c7 c7 e0 1c 20 8e 48 89 ee e8 af e6 68 f9 eb cb 31 db eb 1e <41> 83 fe ff 74 13 31 c0 f6 43 22 03 0f 95 c0 31 db 44 39 f0 0f 94 RSP: 0000:ffffc9000478e238 EFLAGS: 00000002 RAX: 0000000000000001 RBX: ffff888022148b28 RCX: 0000000080000000 RDX: ffff888022148000 RSI: ffffffff8e334d20 RDI: ffff888022148b28 RBP: 0000000000000002 R08: ffffffff8b728fb7 R09: 1ffffffff25dfca0 R10: dffffc0000000000 R11: fffffbfff25dfca1 R12: 0000000000000246 R13: ffff888022148000 R14: 00000000ffffffff R15: ffffffff8e334d20 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd8fb32a276 CR3: 000000001fece000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xa_head include/linux/xarray.h:1200 [inline] xas_start+0x2d7/0x7b0 lib/xarray.c:190 xas_load lib/xarray.c:237 [inline] xa_load+0x205/0x480 lib/xarray.c:1461 list_lru_from_memcg_idx mm/list_lru.c:56 [inline] list_lru_count_one+0x148/0x2e0 mm/list_lru.c:172 list_lru_shrink_count include/linux/list_lru.h:156 [inline] super_cache_count+0x19f/0x2a0 fs/super.c:264 do_shrink_slab+0x86/0x1160 mm/shrinker.c:382 shrink_slab_memcg mm/shrinker.c:548 [inline] shrink_slab+0x883/0x14d0 mm/shrinker.c:626 shrink_node_memcgs mm/vmscan.c:5875 [inline] shrink_node+0x11f5/0x2d60 mm/vmscan.c:5908 shrink_zones mm/vmscan.c:6152 [inline] do_try_to_free_pages+0x695/0x1af0 mm/vmscan.c:6214 try_to_free_pages+0x760/0x1100 mm/vmscan.c:6449 __perform_reclaim mm/page_alloc.c:3774 [inline] __alloc_pages_direct_reclaim mm/page_alloc.c:3796 [inline] __alloc_pages_slowpath+0xdc3/0x23d0 mm/page_alloc.c:4202 __alloc_pages+0x43e/0x6c0 mm/page_alloc.c:4588 alloc_pages_mpol+0x3e8/0x680 mm/mempolicy.c:2264 __read_swap_cache_async+0x23f/0x8b0 mm/swap_state.c:470 swap_cluster_readahead+0x676/0x800 mm/swap_state.c:697 shmem_swapin_cluster mm/shmem.c:1576 [inline] shmem_swapin_folio+0x664/0x11d0 mm/shmem.c:1885 shmem_get_folio_gfp+0x416/0x1f50 mm/shmem.c:1991 shmem_get_folio mm/shmem.c:2160 [inline] shmem_file_read_iter+0x26f/0xa50 mm/shmem.c:2815 do_iter_readv_writev+0x5a4/0x800 vfs_iter_read+0x152/0x420 fs/read_write.c:830 lo_read_simple drivers/block/loop.c:286 [inline] do_req_filebacked drivers/block/loop.c:496 [inline] loop_handle_cmd drivers/block/loop.c:1907 [inline] loop_process_work+0xcfb/0x1e60 drivers/block/loop.c:1942 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0xa10/0x17c0 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244