INFO: task syz-executor.2:14053 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.2 state:D stack:27920 pid:14053 tgid:14047 ppid:13624 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:0x7fdca827dea9 RSP: 002b:00007fdca8f7d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007fdca83ac050 RCX: 00007fdca827dea9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00007fdca82ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fdca83ac050 R15: 00007ffec4586018 Showing all locks held in the system: 1 lock held by khungtaskd/30: #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:3/50: #0: ffff888015ecb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff888015ecb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc90000ba7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc90000ba7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffffffff8f5882d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:591 #3: ffffffff8e33a0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #3: ffffffff8e33a0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x463/0x820 kernel/rcu/tree_exp.h:939 1 lock held by kswapd0/87: 2 locks held by kswapd1/88: 3 locks held by kworker/u8:6/1039: 9 locks held by klogd/4514: 2 locks held by dhcpcd/4739: #0: ffff8880689c6678 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: netlink_dump+0xcb/0xe50 net/netlink/af_netlink.c:2209 #1: ffffffff8f5949c8 (rtnl_mutex){+.+.}-{3:3}, at: netlink_dump+0x5d3/0xe50 net/netlink/af_netlink.c:2268 2 locks held by getty/4830: #0: ffff88802accb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f0e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by syz-fuzzer/5084: 3 locks held by kworker/0:6/5165: #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: ffffc90004797d00 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc90004797d00 (fqdir_free_work){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffffffff8e339f80 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x4c/0x550 kernel/rcu/tree.c:4073 3 locks held by syz-executor.2/14048: 2 locks held by syz-executor.2/14053: #0: ffff88807ed36420 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88805eb199c0 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff88805eb199c0 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: do_unlinkat+0x26a/0x830 fs/namei.c:4386 3 locks held by syz-executor.0/15618: #0: ffffffff8f5949c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f5949c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 #1: ffff888072651408 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_open+0x22d/0x420 drivers/net/wireguard/device.c:50 #2: ffffffff8e33a0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #2: ffffffff8e33a0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x463/0x820 kernel/rcu/tree_exp.h:939 6 locks held by syz-executor.4/15783: #0: ffff88807c4e2420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2855 [inline] #0: ffff88807c4e2420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x233/0xcb0 fs/read_write.c:586 #1: ffff88802e627488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffff888020c56e18 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326 #3: ffffffff8eed2528 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff888060bf90e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #4: ffff888060bf90e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline] #4: ffff888060bf90e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1290 #5: ffff88807e469250 (&devlink->lock_key#51){+.+.}-{3:3}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1672 1 lock held by syz-executor.2/15901: #0: ffffffff8f5949c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f5949c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 1 lock held by syz-executor.3/15922: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 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+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: 4525 Comm: udevd Not tainted 6.9.0-rc5-syzkaller-00036-g9d1ddab261f3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__bfs kernel/locking/lockdep.c:1799 [inline] RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1844 [inline] RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2804 [inline] RIP: 0010:check_prev_add kernel/locking/lockdep.c:3138 [inline] RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3253 [inline] RIP: 0010:validate_chain+0x1f8d/0x58e0 kernel/locking/lockdep.c:3869 Code: ff 48 0f 44 d8 49 83 c6 30 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 2e c6 83 00 48 09 9c 24 90 00 00 00 4d 8b 3e <4d> 39 f7 0f 84 6e fc ff ff 41 b4 01 eb 0c 4d 8b 3f 4d 39 f7 0f 84 RSP: 0018:ffffc90003265d40 EFLAGS: 00000006 RAX: 1ffffffff258d23e RBX: 0000000000000144 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92c69220 RBP: ffffc90003266040 R08: ffffffff92f00517 R09: 1ffffffff25e00a2 R10: dffffc0000000000 R11: fffffbfff25e00a3 R12: dffffc0000000000 R13: ffffffff941248c8 R14: ffffffff92c691f0 R15: ffffffff94124858 FS: 00007f87c8560c80(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff0488d66cc CR3: 000000007d2ac000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1346/0x1fd0 kernel/locking/lockdep.c:5137 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 __wake_up_common_lock+0x25/0x1e0 kernel/sched/wait.c:105 wake_throttle_isolated mm/internal.h:196 [inline] too_many_isolated mm/vmscan.c:1786 [inline] shrink_inactive_list mm/vmscan.c:1894 [inline] shrink_list mm/vmscan.c:2163 [inline] shrink_lruvec+0x1450/0x2e40 mm/vmscan.c:5687 shrink_node_memcgs mm/vmscan.c:5873 [inline] shrink_node+0x1189/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 swapin_readahead+0x1e0/0x1080 mm/swap_state.c:904 do_swap_page+0x791/0x3f40 mm/memory.c:4048 handle_pte_fault mm/memory.c:5303 [inline] __handle_mm_fault+0x1583/0x7240 mm/memory.c:5441 handle_mm_fault+0x27f/0x770 mm/memory.c:5606 do_user_addr_fault arch/x86/mm/fault.c:1413 [inline] handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x2a8/0x8e0 arch/x86/mm/fault.c:1563 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:__get_user_8+0x11/0x20 arch/x86/lib/getuser.S:88 Code: ca c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 89 c2 48 c1 fa 3f 48 09 d0 0f 01 cb <48> 8b 10 31 c0 0f 01 ca c3 cc cc cc cc 66 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90003267d98 EFLAGS: 00050206 RAX: 00007f87c8561628 RBX: ffff88807d351550 RCX: ffffc90003267c03 RDX: 0000000000000000 RSI: ffffffff8bcaca20 RDI: ffffffff8c1ec360 RBP: ffffc90003267ec8 R08: ffffffff8fa7d16f R09: 1ffffffff1f4fa2d R10: dffffc0000000000 R11: fffffbfff1f4fa2e R12: ffffc90003267da0 R13: ffffc90003267fd8 R14: dffffc0000000000 R15: ffff88807d350000 rseq_get_rseq_cs kernel/rseq.c:161 [inline] rseq_ip_fixup kernel/rseq.c:281 [inline] __rseq_handle_notify_resume+0x159/0x14e0 kernel/rseq.c:329 rseq_handle_notify_resume include/linux/rseq.h:38 [inline] resume_user_mode_work include/linux/resume_user_mode.h:62 [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+0x114/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:0x7f87c8123457 Code: Unable to access opcode bytes at 0x7f87c812342d. RSP: 002b:00007ffd101aca18 EFLAGS: 00000246 ORIG_RAX: 00000000000000e8 RAX: 0000000000000000 RBX: 00007ffd101acb18 RCX: 00007f87c8123457 RDX: 0000000000000008 RSI: 00007ffd101acb18 RDI: 000000000000000b RBP: 000000000000000b R08: 0000000000000007 R09: e9c3aa228689892c R10: 0000000000000bb8 R11: 0000000000000246 R12: 0000000000000bb8 R13: 0000000200000001 R14: 0000000000000000 R15: 0000000000000000