INFO: task udevd:5081 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:23296 pid: 5081 ppid: 3562 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5049 [inline] __schedule+0x11bb/0x4390 kernel/sched/core.c:6395 schedule+0x11b/0x1e0 kernel/sched/core.c:6478 io_schedule+0x7c/0xd0 kernel/sched/core.c:8503 wait_on_page_bit_common+0x815/0xe00 mm/filemap.c:1356 wait_on_page_bit mm/filemap.c:1417 [inline] wait_on_page_locked include/linux/pagemap.h:688 [inline] wait_on_page_read mm/filemap.c:3437 [inline] do_read_cache_page+0xb05/0x1030 mm/filemap.c:3480 read_mapping_page include/linux/pagemap.h:515 [inline] read_part_sector+0xd4/0x4f0 block/partitions/core.c:731 adfspart_check_ICS+0xbf/0xe00 block/partitions/acorn.c:360 check_partition block/partitions/core.c:148 [inline] blk_add_partitions block/partitions/core.c:616 [inline] bdev_disk_changed+0x917/0x16b0 block/partitions/core.c:702 blkdev_get_whole+0x2f9/0x390 block/bdev.c:682 blkdev_get_by_dev+0x2d0/0xa60 block/bdev.c:827 blkdev_open+0x12d/0x2c0 block/fops.c:466 do_dentry_open+0x7ff/0xf80 fs/open.c:826 do_open fs/namei.c:3616 [inline] path_openat+0x2682/0x2f30 fs/namei.c:3750 do_filp_open+0x1b3/0x3e0 fs/namei.c:3777 do_sys_openat2+0x142/0x4a0 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1280 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f738d764407 RSP: 002b:00007ffccccb0ef0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f738d676880 RCX: 00007f738d764407 RDX: 00000000000a0800 RSI: 000055cb1852c4d0 RDI: ffffffffffffff9c RBP: 000055cb1851f910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000055cb18552cc0 R13: 000055cb18537410 R14: 0000000000000000 R15: 000055cb18552cc0 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c11c720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3950: #0: ffff88814c9be098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002d032e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 3 locks held by kworker/1:7/4261: #0: ffff888141d88138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000333fd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff888147d612a8 (&dev->power.lock){-...}-{2:2}, at: spin_lock_irq include/linux/spinlock.h:389 [inline] #2: ffff888147d612a8 (&dev->power.lock){-...}-{2:2}, at: rpm_idle+0x4ed/0x8c0 drivers/base/power/runtime.c:497 4 locks held by kworker/u4:5/4274: 1 lock held by udevd/5081: #0: ffff8880204e4518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x157/0xa60 block/bdev.c:820 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4274 Comm: kworker/u4:5 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: netns cleanup_net RIP: 0010:check_wait_context kernel/locking/lockdep.c:4702 [inline] RIP: 0010:__lock_acquire+0x6e7/0x7c60 kernel/locking/lockdep.c:4962 Code: fe 0f 88 70 01 00 00 44 89 fb 81 e3 ff ff ff 7f 83 f8 31 73 43 48 8d 04 9b 49 8d 5c c5 00 48 89 d8 48 c1 e8 03 42 0f b6 04 00 <84> c0 75 45 8b 1b 48 8b 44 24 58 42 0f b6 04 00 84 c0 75 55 48 8b RSP: 0018:ffffc9000336f680 EFLAGS: 00000802 RAX: 0000000000000000 RBX: ffff88802a35e478 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ffbd0c0 RBP: ffffc9000336f8d0 R08: dffffc0000000000 R09: fffffbfff1ff7a19 R10: fffffbfff1ff7a19 R11: 1ffffffff1ff7a18 R12: 0000000000000000 R13: ffff88802a35e450 R14: 0000000000000003 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f07fb545198 CR3: 0000000023cb3000 CR4: 00000000003506f0 DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000083 DR3: ffffffffefffff15 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:313 rcu_read_lock include/linux/rcupdate.h:740 [inline] inet_twsk_purge+0x119/0x810 net/ipv4/inet_timewait_sock.c:268 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x77b/0xb80 net/core/net_namespace.c:635 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287