INFO: task syz.3.753:8095 blocked for more than 168 seconds. Not tainted 6.12.0-rc1-syzkaller-00349-g8f602276d390 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.753 state:D stack:25824 pid:8095 tgid:8095 ppid:7800 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0xef5/0x5750 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6767 schedule_timeout+0x258/0x2a0 kernel/time/timer.c:2591 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3e1/0x600 kernel/sched/completion.c:116 __flush_work+0x776/0xc30 kernel/workqueue.c:4217 fsnotify_destroy_group+0x146/0x350 fs/notify/group.c:76 inotify_release+0x3b/0x70 fs/notify/inotify/inotify_user.c:308 __fput+0x3f6/0xb60 fs/file_table.c:431 task_work_run+0x14e/0x250 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [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+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe869b7dff9 RSP: 002b:00007ffde3b14ea8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fe869d37a80 RCX: 00007fe869b7dff9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fe869d37a80 R08: 00007fe869d22000 R09: 00007ffde3b1519f R10: 00000000003fea60 R11: 0000000000000246 R12: 0000000000077871 R13: 00007ffde3b14fb0 R14: 0000000000000032 R15: ffffffffffffffff Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff8e1c3c38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329 1 lock held by khungtaskd/30: #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720 3 locks held by kworker/u8:2/35: 4 locks held by kworker/u8:3/52: 5 locks held by kworker/u9:0/54: #0: ffff88807069a148 ((wq_completion)hci3#2){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90000bf7d80 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff888049630d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x170/0x410 net/bluetooth/hci_sync.c:327 #3: ffff888049630078 (&hdev->lock){+.+.}-{3:3}, at: hci_abort_conn_sync+0x150/0xb50 net/bluetooth/hci_sync.c:5567 #4: ffffffff90149928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:1957 [inline] #4: ffffffff90149928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_failed+0x158/0x340 net/bluetooth/hci_conn.c:1262 3 locks held by kworker/u8:4/61: 3 locks held by kswapd0/88: 2 locks held by kswapd1/89: 2 locks held by kworker/u8:6/2917: 2 locks held by kworker/u8:7/2962: 4 locks held by kworker/1:2/3147: #0: ffff88801b081948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc9000a077d80 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffffffff8fee11a8 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x84/0x1130 net/wireless/reg.c:2480 #3: ffff88807da80768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:6014 [inline] #3: ffff88807da80768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: reg_leave_invalid_chans net/wireless/reg.c:2468 [inline] #3: ffff88807da80768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: reg_check_chans_work+0x111/0x1130 net/wireless/reg.c:2483 5 locks held by kworker/u9:1/4612: #0: ffff888028632148 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc9000d98fd80 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff888024f2cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x170/0x410 net/bluetooth/hci_sync.c:327 #3: ffff888024f2c078 (&hdev->lock){+.+.}-{3:3}, at: hci_abort_conn_sync+0x150/0xb50 net/bluetooth/hci_sync.c:5567 #4: ffffffff90149928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:1957 [inline] #4: ffffffff90149928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_failed+0x158/0x340 net/bluetooth/hci_conn.c:1262 1 lock held by syslogd/4657: 1 lock held by klogd/4664: 1 lock held by dhcpcd/4888: 4 locks held by dhcpcd/4889: #0: ffffffff8e2d0070 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mmap kernel/fork.c:636 [inline] #0: ffffffff8e2d0070 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mm kernel/fork.c:1674 [inline] #0: ffffffff8e2d0070 (dup_mmap_sem){.+.+}-{0:0}, at: copy_mm kernel/fork.c:1723 [inline] #0: ffffffff8e2d0070 (dup_mmap_sem){.+.+}-{0:0}, at: copy_process+0x6780/0x8db0 kernel/fork.c:2372 #1: ffff88801b070b18 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:122 [inline] #1: ffff88801b070b18 (&mm->mmap_lock){++++}-{3:3}, at: dup_mmap kernel/fork.c:637 [inline] #1: ffff88801b070b18 (&mm->mmap_lock){++++}-{3:3}, at: dup_mm kernel/fork.c:1674 [inline] #1: ffff88801b070b18 (&mm->mmap_lock){++++}-{3:3}, at: copy_mm kernel/fork.c:1723 [inline] #1: ffff88801b070b18 (&mm->mmap_lock){++++}-{3:3}, at: copy_process+0x67a6/0x8db0 kernel/fork.c:2372 #2: ffff88807e24b118 (&mm->mmap_lock/1){+.+.}-{3:3}, at: mmap_write_lock_nested include/linux/mmap_lock.h:113 [inline] #2: ffff88807e24b118 (&mm->mmap_lock/1){+.+.}-{3:3}, at: dup_mmap kernel/fork.c:646 [inline] #2: ffff88807e24b118 (&mm->mmap_lock/1){+.+.}-{3:3}, at: dup_mm kernel/fork.c:1674 [inline] #2: ffff88807e24b118 (&mm->mmap_lock/1){+.+.}-{3:3}, at: copy_mm kernel/fork.c:1723 [inline] #2: ffff88807e24b118 (&mm->mmap_lock/1){+.+.}-{3:3}, at: copy_process+0x6806/0x8db0 kernel/fork.c:2372 #3: ffffffff8e3479c0 (fs_reclaim){+.+.}-{0:0}, at: __perform_reclaim mm/page_alloc.c:3907 [inline] #3: ffffffff8e3479c0 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_direct_reclaim mm/page_alloc.c:3932 [inline] #3: ffffffff8e3479c0 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_slowpath mm/page_alloc.c:4363 [inline] #3: ffffffff8e3479c0 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_noprof+0xaa3/0x25c0 mm/page_alloc.c:4746 2 locks held by getty/4982: #0: ffff888032a1a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 6 locks held by kworker/u9:3/5228: #0: ffff888070668148 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc900041f7d80 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff88805f1f4d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x170/0x410 net/bluetooth/hci_sync.c:327 #3: ffff88805f1f4078 (&hdev->lock){+.+.}-{3:3}, at: hci_abort_conn_sync+0x150/0xb50 net/bluetooth/hci_sync.c:5567 #4: ffffffff90149928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:1957 [inline] #4: ffffffff90149928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_failed+0x158/0x340 net/bluetooth/hci_conn.c:1262 #5: ffffffff8e1c3c38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329 5 locks held by kworker/u9:5/5239: #0: ffff8880305a0948 ((wq_completion)hci2){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc9000433fd80 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff88806dea0d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x170/0x410 net/bluetooth/hci_sync.c:327 #3: ffff88806dea0078 (&hdev->lock){+.+.}-{3:3}, at: hci_abort_conn_sync+0x150/0xb50 net/bluetooth/hci_sync.c:5567 #4: ffffffff90149928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:1957 [inline] #4: ffffffff90149928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_failed+0x158/0x340 net/bluetooth/hci_conn.c:1262 5 locks held by kworker/u9:6/5240: #0: ffff88802713a148 ((wq_completion)hci4){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc9000436fd80 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff888049634d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x170/0x410 net/bluetooth/hci_sync.c:327 #3: ffff888049634078 (&hdev->lock){+.+.}-{3:3}, at: hci_abort_conn_sync+0x150/0xb50 net/bluetooth/hci_sync.c:5567 #4: ffffffff90149928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:1957 [inline] #4: ffffffff90149928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_failed+0x158/0x340 net/bluetooth/hci_conn.c:1262 2 locks held by kworker/u8:10/5895: #0: ffff88801b089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc9001707fd80 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 3 locks held by kworker/u8:11/5897: 3 locks held by kworker/u8:13/5904: 3 locks held by kworker/u8:14/5906: #0: ffff88802e047148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc9001710fd80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffffffff8fee11a8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4736 3 locks held by kworker/u8:16/5912: 3 locks held by kworker/u8:18/5916: #0: ffff88801beeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc9001718fd80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffffffff8fecb810 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xb40 net/core/net_namespace.c:580 3 locks held by kworker/u8:19/5922: 4 locks held by kworker/u8:20/7754: 2 locks held by syz-executor/7792: 2 locks held by syz-executor/7893: 2 locks held by syz-executor/8135: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc1-syzkaller-00349-g8f602276d390 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf0c/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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 UID: 0 PID: 88 Comm: kswapd0 Not tainted 6.12.0-rc1-syzkaller-00349-g8f602276d390 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:stack_trace_consume_entry+0xaf/0x170 kernel/stacktrace.c:93 Code: c0 03 38 d0 7c 08 84 d2 0f 85 98 00 00 00 8b 43 0c 85 c0 75 57 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 80 3c 02 00 <0f> 85 9a 00 00 00 8d 45 01 89 43 10 48 8b 03 48 8d 2c e8 48 b8 00 RSP: 0018:ffffc9000250ef08 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffffc9000250efe8 RCX: 0000000000000000 RDX: 1ffff920004a1dfd RSI: ffffffff81ca4a22 RDI: ffffc9000250eff4 RBP: 0000000000000003 R08: ffffc9000250ef5c R09: ffffffff90fc13b6 R10: ffffc9000250ef28 R11: 000000000000ca19 R12: ffffffff81794de0 R13: ffffc9000250efe8 R14: 0000000000000000 R15: ffff88801ebe1e00 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe03fc3e520 CR3: 000000000df7c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x86/0x100 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x162/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x8d/0x400 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1108 [inline] free_unref_folios+0x956/0x1310 mm/page_alloc.c:2686 shrink_folio_list+0x3468/0x42d0 mm/vmscan.c:1482 evict_folios+0x6d6/0x1970 mm/vmscan.c:4583 try_to_shrink_lruvec+0x612/0x9b0 mm/vmscan.c:4778 shrink_one+0x3e3/0x7b0 mm/vmscan.c:4816 shrink_many mm/vmscan.c:4879 [inline] lru_gen_shrink_node mm/vmscan.c:4957 [inline] shrink_node+0x244c/0x3980 mm/vmscan.c:5937 kswapd_shrink_node mm/vmscan.c:6765 [inline] balance_pgdat+0xc19/0x18f0 mm/vmscan.c:6957 kswapd+0x5ea/0xbf0 mm/vmscan.c:7226 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244