INFO: task udevd:5777 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:23560 pid:5777 ppid:5160 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699 schedule+0xbd/0x170 kernel/sched/core.c:6773 io_schedule+0x80/0xd0 kernel/sched/core.c:9022 folio_wait_bit_common+0x6eb/0xf70 mm/filemap.c:1329 folio_put_wait_locked mm/filemap.c:1493 [inline] do_read_cache_folio+0x1c0/0x7e0 mm/filemap.c:3786 read_mapping_folio include/linux/pagemap.h:898 [inline] read_part_sector+0xd2/0x350 block/partitions/core.c:718 adfspart_check_POWERTEC+0x8d/0xf00 block/partitions/acorn.c:454 check_partition block/partitions/core.c:138 [inline] blk_add_partitions block/partitions/core.c:600 [inline] bdev_disk_changed+0x73a/0x1410 block/partitions/core.c:689 blkdev_get_whole+0x30d/0x390 block/bdev.c:672 blkdev_get_by_dev+0x279/0x600 block/bdev.c:814 blkdev_open+0x152/0x360 block/fops.c:589 do_dentry_open+0x8c6/0x1500 fs/open.c:929 do_open fs/namei.c:3640 [inline] path_openat+0x274b/0x3190 fs/namei.c:3797 do_filp_open+0x1c5/0x3d0 fs/namei.c:3824 do_sys_openat2+0x12c/0x1c0 fs/open.c:1421 do_sys_open fs/open.c:1436 [inline] __do_sys_openat fs/open.c:1452 [inline] __se_sys_openat fs/open.c:1447 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1447 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f3a17aa7407 RSP: 002b:00007ffe8e747fa0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f3a181ee880 RCX: 00007f3a17aa7407 RDX: 00000000000a0800 RSI: 0000558f97cf6430 RDI: ffffffffffffff9c RBP: 0000558f97cf5910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000558f97d08e20 R13: 0000558f97d0d410 R14: 0000000000000000 R15: 0000558f97d08e20 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8cd2fee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #0: ffffffff8cd2fee0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #0: ffffffff8cd2fee0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633 3 locks held by kworker/u4:9/2936: 1 lock held by syslogd/5142: #0: ffff8880b8e3c018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xad/0x140 kernel/sched/core.c:566 2 locks held by getty/5546: #0: ffff88802ccf20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000328b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217 no locks held by syz-executor/5771. 1 lock held by udevd/5777: #0: ffff8880217e74c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:805 5 locks held by kworker/0:7/5866: 1 lock held by udevd/5930: #0: ffff8880b8e3c018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xad/0x140 kernel/sched/core.c:566 2 locks held by kworker/1:6/9244: #0: ffff888017872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc90004417d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc90004417d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 4 locks held by kvm-nx-lpage-re/10678: #0: ffffffff8cd59948 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:369 [inline] #0: ffffffff8cd59948 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x26/0xe0 kernel/cgroup/cgroup-v1.c:61 #1: ffffffff8cbcb1d0 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_lock+0x11/0x30 kernel/cgroup/cgroup.c:2414 #2: ffffffff8cd59b30 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_task_all+0x30/0xe0 kernel/cgroup/cgroup-v1.c:62 #3: ffffffff8cd358b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #3: ffffffff8cd358b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x448/0x830 kernel/rcu/tree_exp.h:1004 1 lock held by kvm-nx-lpage-re/10685: #0: ffffffff8cd59948 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:369 [inline] #0: ffffffff8cd59948 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x26/0xe0 kernel/cgroup/cgroup-v1.c:61 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 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+0x16c/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x39b/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf41/0xf80 kernel/hung_task.c:379 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5149 Comm: klogd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:memset_orig+0x6a/0xac arch/x86/lib/memset_64.S:85 Code: 47 18 48 89 47 20 48 89 47 28 48 89 47 30 48 89 47 38 48 8d 7f 40 75 d8 0f 1f 84 00 00 00 00 00 89 d1 83 e1 38 74 14 c1 e9 03 <66> 0f 1f 44 00 00 ff c9 48 89 07 48 8d 7f 08 75 f5 83 e2 07 74 0a RSP: 0018:ffffc900032a7370 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffc900032a7480 RCX: 0000000000000002 RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc900032a7498 RBP: ffffc900032a7498 R08: ffffc900032a74a7 R09: 0000000000000000 R10: ffffc900032a7498 R11: fffff52000654e95 R12: ffffc900032a7448 R13: dffffc0000000000 R14: ffffffff8861631a R15: ffffffff8f54c1e4 FS: 00007f3e923a4c80(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000002b0030 CR3: 000000002f95c000 CR4: 00000000003526e0 Call Trace: unwind_next_frame+0x1648/0x2970 arch/x86/kernel/unwind_orc.c:592 arch_stack_walk+0x144/0x190 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4e/0x70 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:374 [inline] __kasan_kmalloc+0x8f/0xa0 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:198 [inline] __do_kmalloc_node mm/slab_common.c:1007 [inline] __kmalloc_node_track_caller+0xb2/0x230 mm/slab_common.c:1027 kmalloc_reserve+0x116/0x240 net/core/skbuff.c:584 __alloc_skb+0x138/0x2c0 net/core/skbuff.c:653 alloc_skb include/linux/skbuff.h:1284 [inline] alloc_skb_with_frags+0xca/0x7c0 net/core/skbuff.c:6332 sock_alloc_send_pskb+0x857/0x990 net/core/sock.c:2821 unix_dgram_sendmsg+0x5a1/0x1720 net/unix/af_unix.c:2001 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] __sys_sendto+0x46a/0x620 net/socket.c:2201 __do_sys_sendto net/socket.c:2213 [inline] __se_sys_sendto net/socket.c:2209 [inline] __x64_sys_sendto+0xde/0xf0 net/socket.c:2209 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f3e924f4407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffd4691bdb0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f3e923a4c80 RCX: 00007f3e924f4407 RDX: 000000000000006a RSI: 00007ffd4691bef0 RDI: 0000000000000003 RBP: 00007ffd4691c320 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffd4691c338 R13: 00007ffd4691bef0 R14: 000000000000004f R15: 00007ffd4691bef0