INFO: task udevd:2400 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00132-ga2cf936ebef2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:26480 pid:2400 tgid:2400 ppid:1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xca6/0x3170 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 d_revalidate fs/namei.c:861 [inline] d_revalidate fs/namei.c:858 [inline] lookup_fast+0x239/0x540 fs/namei.c:1653 walk_component+0x5b/0x5b0 fs/namei.c:2000 link_path_walk.part.0.constprop.0+0x77f/0xcd0 fs/namei.c:2331 link_path_walk fs/namei.c:2256 [inline] path_openat+0x22f/0x2990 fs/namei.c:3795 do_filp_open+0x1dc/0x430 fs/namei.c:3826 do_sys_openat2+0x17a/0x1e0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f15ed8a99a4 RSP: 002b:00007ffff63a21e0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f15ed8a99a4 RDX: 0000000000080000 RSI: 00007ffff63a2318 RDI: 00000000ffffff9c RBP: 00007ffff63a2318 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 000055ce18648b42 R14: 0000000000000001 R15: 0000000000000000 INFO: task syz-executor.0:2516 blocked for more than 171 seconds. Not tainted 6.9.0-rc5-syzkaller-00132-ga2cf936ebef2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24816 pid:2516 tgid:2516 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xca6/0x3170 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 d_revalidate fs/namei.c:861 [inline] d_revalidate fs/namei.c:858 [inline] lookup_fast+0x239/0x540 fs/namei.c:1653 walk_component+0x5b/0x5b0 fs/namei.c:2000 link_path_walk.part.0.constprop.0+0x77f/0xcd0 fs/namei.c:2331 link_path_walk fs/namei.c:2256 [inline] path_openat+0x22f/0x2990 fs/namei.c:3795 do_filp_open+0x1dc/0x430 fs/namei.c:3826 do_sys_openat2+0x17a/0x1e0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0d988ff701 RSP: 002b:00007ffcc14f9b20 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f0d988ff701 RDX: 0000000000090800 RSI: 00007f0d9894a45d RDI: 00000000ffffff9c RBP: 00007ffcc14f9bec R08: 0000000000000078 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 000000000001d430 R14: 000000000001c965 R15: 0000000000000008 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff884b4560 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff884b4560 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff884b4560 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 5 locks held by kworker/u8:3/46: #0: ffff888100aad948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3229 #1: ffffc90000307d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3230 #2: ffffffff89602650 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xbf0 net/core/net_namespace.c:591 #3: ffffffff896173c8 (rtnl_mutex){+.+.}-{3:3}, at: cleanup_net+0x503/0xbf0 net/core/net_namespace.c:627 #4: ffffffff884bfc78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #4: ffffffff884bfc78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x682/0x7a0 kernel/rcu/tree_exp.h:939 2 locks held by getty/2460: #0: ffff8881137d00a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000432f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 4 locks held by udevd/4785: #0: ffff8881124be2f0 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182 #1: ffff8881180d8088 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff8881124543c8 (kn->active#24){.+.+}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff888116d3e190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:995 [inline] #3: ffff888116d3e190 (&dev->mutex){....}-{3:3}, at: serial_show+0x26/0xa0 drivers/usb/core/sysfs.c:143 5 locks held by kworker/1:3/4786: #0: ffff888104ebed48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3229 #1: ffffc9000427fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3230 #2: ffff888109fea190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #2: ffff888109fea190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5848 #3: ffff888116d3e190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #3: ffff888116d3e190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1003 #4: ffff8881166aa160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #4: ffff8881166aa160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1003 1 lock held by syz-executor.3/4905: 1 lock held by syz-executor.1/4906: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc5-syzkaller-00132-ga2cf936ebef2 #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+0x116/0x1f0 lib/dump_stack.c:114 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf86/0x1240 kernel/hung_task.c:380 kthread+0x2c1/0x3a0 kernel/kthread.c:388 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 PID: 4907 Comm: syz-executor.0 Not tainted 6.9.0-rc5-syzkaller-00132-ga2cf936ebef2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__hrtimer_start_range_ns kernel/time/hrtimer.c:1265 [inline] RIP: 0010:hrtimer_start_range_ns+0x34f/0xe10 kernel/time/hrtimer.c:1305 Code: 48 c1 ea 03 80 3c 02 00 0f 85 aa 09 00 00 31 ff 4d 89 75 18 44 89 e6 e8 cf 76 12 00 45 84 e4 0f 84 35 01 00 00 e8 41 7c 12 00 <8b> 54 24 34 4c 89 fe 4c 89 ef e8 a2 e8 ff ff 4c 89 fa 48 b8 00 00 RSP: 0018:ffffc900001a8b90 EFLAGS: 00000046 RAX: 0000000080010002 RBX: 0000000000000000 RCX: ffffffff81405441 RDX: ffff888135f61d00 RSI: ffffffff8140544f RDI: 0000000000000001 RBP: 00000045df07d595 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: 00000000f652c701 R13: ffff888109fe8418 R14: 00000045df07d595 R15: ffff8881f652c840 FS: 000055556c088480(0000) GS:ffff8881f6500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe15d5ec018 CR3: 0000000134718000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hrtimer_start include/linux/hrtimer.h:275 [inline] dummy_timer+0x286d/0x3900 drivers/usb/gadget/udc/dummy_hcd.c:1998 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x8b/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__sanitizer_cov_trace_cmp8+0x8/0x20 kernel/kcov.c:283 Code: 00 00 00 e9 ea fe ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 0c 24 <48> 89 f2 48 89 fe bf 06 00 00 00 e9 b8 fe ff ff 0f 1f 84 00 00 00 RSP: 0018:ffffc9000b0df540 EFLAGS: 00000246 RAX: 1ffff9200161bebc RBX: ffffc9000b0df5a8 RCX: ffffffff81153f94 RDX: ffff888135f61d00 RSI: ffffc9000b0df638 RDI: ffffc9000b0df5a0 RBP: ffffc9000b0df638 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: dffffc0000000000 R13: fffff5200161beb7 R14: fffff5200161beb6 R15: ffffc9000b0df5a0 __unwind_start+0x594/0x880 arch/x86/kernel/unwind_orc.c:758 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xb2/0x170 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x162/0x1f0 mm/page_owner.c:156 __set_page_owner+0x8a/0x560 mm/page_owner.c:325 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x2d4/0x350 mm/page_alloc.c:1534 prep_new_page mm/page_alloc.c:1541 [inline] get_page_from_freelist+0x139c/0x3470 mm/page_alloc.c:3317 __alloc_pages+0x21e/0x2290 mm/page_alloc.c:4575 alloc_pages_mpol+0xeb/0x400 mm/mempolicy.c:2264 vm_area_alloc_pages mm/vmalloc.c:3561 [inline] __vmalloc_area_node mm/vmalloc.c:3637 [inline] __vmalloc_node_range+0xa26/0x14b0 mm/vmalloc.c:3818 vmalloc_user+0x6b/0x90 mm/vmalloc.c:3972 kcov_ioctl+0x4f/0x730 kernel/kcov.c:704 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl fs/ioctl.c:890 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:890 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3f4b5e8a0b Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007ffec58fed50 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f3f4b5e8a0b RDX: 0000000000040000 RSI: ffffffff80086301 RDI: 00000000000000d9 RBP: 00007f3f4b7170e8 R08: 00000000000000d8 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffec58ff488 R13: 0000000000000003 R14: 00007f3f4b7170e8 R15: 0000000000000001