INFO: task udevd:4778 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24880 pid: 4778 ppid: 3563 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:0x7fdf574ed407 RSP: 002b:00007fffe1a642c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fdf573ff880 RCX: 00007fdf574ed407 RDX: 00000000000a0800 RSI: 000055abe572b520 RDI: ffffffffffffff9c RBP: 000055abe572a910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000055abe5751040 R13: 000055abe5742410 R14: 0000000000000000 R15: 000055abe5751040 Showing all locks held in the system: 3 locks held by kworker/0:1/13: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90000d27d00 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8c1210f0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0xa1/0x4b0 kernel/rcu/tree.c:4043 1 lock held by khungtaskd/27: #0: ffffffff8c11c760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/0:2/1108: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90004a5fd00 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8c1210f0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0xa1/0x4b0 kernel/rcu/tree.c:4043 2 locks held by getty/3951: #0: ffff88802be95098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900025e62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 3 locks held by kworker/u4:7/4603: 1 lock held by udevd/4778: #0: ffff888020d88518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x157/0xa60 block/bdev.c:820 6 locks held by kworker/1:16/5213: #0: ffff8881415ec938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000349fd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff8880240ff220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:764 [inline] #2: ffff8880240ff220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1a7/0x5560 drivers/usb/core/hub.c:5827 #3: ffff8880241ba5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3168 [inline] #3: ffff8880241ba5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5393 [inline] #3: ffff8880241ba5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5637 [inline] #3: ffff8880241ba5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5799 [inline] #3: ffff8880241ba5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2234/0x5560 drivers/usb/core/hub.c:5881 #4: ffff888023b31568 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5394 [inline] #4: ffff888023b31568 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5637 [inline] #4: ffff888023b31568 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5799 [inline] #4: ffff888023b31568 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x226d/0x5560 drivers/usb/core/hub.c:5881 #5: ffffffff8cb98350 (ehci_cf_port_reset_rwsem){.+.+}-{3:3}, at: hub_port_reset+0x14f/0x18d0 drivers/usb/core/hub.c:3030 3 locks held by kworker/0:11/5485: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000362fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8c1211e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #2: ffffffff8c1211e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x347/0x6b0 kernel/rcu/tree_exp.h:845 2 locks held by kworker/0:16/5493: #0: ffff888016872138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900034afd00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 3 locks held by kworker/0:19/5497: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000435fd00 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8c1210f0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0xa1/0x4b0 kernel/rcu/tree.c:4043 1 lock held by syz.5.653/7345: #0: ffff888020d88518 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1ab/0x320 block/bdev.c:1053 1 lock held by syz.5.653/7354: #0: ffff888020d88518 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1ab/0x320 block/bdev.c:1053 ============================================= NMI backtrace for cpu 0 CPU: 0 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4174 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:task_irq_context kernel/locking/lockdep.c:4520 [inline] RIP: 0010:__lock_acquire+0x437/0x7c60 kernel/locking/lockdep.c:4950 Code: df e8 7d 31 60 00 49 b8 00 00 00 00 00 fc ff df 48 89 9c 24 a8 00 00 00 48 8b 45 10 48 89 03 65 8b 05 21 73 a6 7e 31 db 85 c0 <0f> 95 c3 01 db 48 8b 44 24 30 4c 8d a0 d4 0a 00 00 4c 89 e0 48 c1 RSP: 0018:ffffc90002fff4e0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 1ffff1100f8598d7 RDX: 000000000000009f RSI: 0000000000000000 RDI: ffff88807c2cc6a8 RBP: ffffc90002fff730 R08: dffffc0000000000 R09: 0000000000000001 R10: fffffbfff1ad33a6 R11: 1ffffffff1ad33a5 R12: ffff88807c2cc698 R13: 0000000000000000 R14: 000000000000009f R15: ffff88807c2cc698 FS: 0000555588e3d500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3f689f4fe0 CR3: 0000000078ff9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623 do_write_seqcount_begin_nested include/linux/seqlock.h:519 [inline] do_write_seqcount_begin include/linux/seqlock.h:545 [inline] psi_group_change+0x113/0x1150 kernel/sched/psi.c:710 psi_task_switch+0x4d6/0x810 kernel/sched/psi.c:891 psi_sched_switch kernel/sched/stats.h:148 [inline] __schedule+0x1cd5/0x4390 kernel/sched/core.c:6390 schedule+0x11b/0x1e0 kernel/sched/core.c:6478 freezable_schedule include/linux/freezer.h:172 [inline] do_nanosleep+0x1f1/0x760 kernel/time/hrtimer.c:2026 hrtimer_nanosleep+0x2f7/0x520 kernel/time/hrtimer.c:2079 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1314 [inline] __se_sys_clock_nanosleep+0x2e6/0x370 kernel/time/posix-timers.c:1291 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:0x7ff3cf865843 Code: 1f 84 00 00 00 00 00 83 ff 03 74 7b 83 ff 02 b8 fa ff ff ff 49 89 ca 0f 44 f8 80 3d 1e 6d 1f 00 00 74 14 b8 e6 00 00 00 0f 05 d8 c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 28 48 89 54 24 10 RSP: 002b:00007ffd9f12f098 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff3cf865843 RDX: 00007ffd9f12f0b0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 00000000000000fe R09: 0003676bd4671220 R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffd9f12f500 R13: 0000000000000004 R14: 00007ffd9f12f0ec R15: 00007ffd9f12f180