INFO: task udevd:4381 blocked for more than 143 seconds. Not tainted 5.15.189-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:25056 pid: 4381 ppid: 3561 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 io_schedule+0x7c/0xd0 kernel/sched/core.c:8484 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:3608 [inline] path_openat+0x2682/0x2f30 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 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:0x7fe17fcc9407 RSP: 002b:00007ffed526ce20 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fe17fbdb880 RCX: 00007fe17fcc9407 RDX: 00000000000a0800 RSI: 0000555c50958a60 RDI: ffffffffffffff9c RBP: 0000555c5093f910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000555c509690c0 R13: 0000555c50957420 R14: 0000000000000000 R15: 0000555c509690c0 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c11c360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:5/1268: 2 locks held by getty/3949: #0: ffff88802bdde098 (&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 1 lock held by udevd/4175: #0: ffff8880b903a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 2 locks held by udevd/4177: 1 lock held by syz-executor/4195: #0: ffff88801fcdfd18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x157/0xa60 block/bdev.c:820 2 locks held by udevd/4201: #0: ffff88801fcdfd18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf9/0x7d0 block/bdev.c:915 #1: ffff8881475e1468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xaa/0xb90 drivers/block/loop.c:1366 1 lock held by udevd/4381: #0: ffff88802033a918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x157/0xa60 block/bdev.c:820 2 locks held by kworker/1:20/6724: 1 lock held by syz.6.1137/9492: #0: ffff8880788ca460 (sb_writers#20){.+.+}-{0:0}, at: do_sendfile+0x5b2/0xec0 fs/read_write.c:1248 1 lock held by syz.4.1140/9479: #0: ffff88802bab9d28 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline] #0: ffff88802bab9d28 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x15d/0x2b0 mm/util.c:549 3 locks held by syz.4.1140/9480: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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: 3550 Comm: klogd Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:91 [inline] RIP: 0010:lock_acquire+0x124/0x3f0 kernel/locking/lockdep.c:5599 Code: 65 8b 05 7f 82 a6 7e 85 c0 0f 85 2d 01 00 00 65 4c 8b 35 2f 79 a6 7e 49 81 c6 ec 0a 00 00 4c 89 f0 48 c1 e8 03 42 0f b6 04 38 <84> c0 0f 85 f2 01 00 00 41 83 3e 00 0f 85 00 01 00 00 48 c7 84 24 RSP: 0018:ffffc90002e5f2a0 EFLAGS: 00000a03 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 49ff3f317237fd00 RDX: 0000000000000000 RSI: ffffffff8a599320 RDI: ffffffff8a5992e0 RBP: ffffc90002e5f3b0 R08: dffffc0000000000 R09: fffffbfff1ad2dd6 R10: fffffbfff1ad2dd6 R11: 1ffffffff1ad2dd5 R12: ffffffff8c11c360 R13: 1ffff920005cbe60 R14: ffff88807df628ac R15: dffffc0000000000 FS: 00007f8e72afec80(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f00cff8 CR3: 000000007e1d5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_acquire+0x20/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] percpu_ref_put_many include/linux/percpu-refcount.h:317 [inline] percpu_ref_put+0x16/0x150 include/linux/percpu-refcount.h:338 css_put include/linux/cgroup.h:405 [inline] obj_cgroup_uncharge_pages mm/memcontrol.c:2998 [inline] refill_obj_stock+0x28e/0x440 mm/memcontrol.c:3259 memcg_slab_free_hook+0x157/0x1f0 mm/slab.h:364 do_slab_free mm/slub.c:3432 [inline] ___cache_free+0x63/0x120 mm/slub.c:3506 qlist_free_all+0x35/0x90 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x150/0x160 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x2f/0xd0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] kmem_cache_alloc_node+0x12d/0x2d0 mm/slub.c:3256 __alloc_skb+0xf4/0x750 net/core/skbuff.c:415 alloc_skb include/linux/skbuff.h:1162 [inline] alloc_skb_with_frags+0xa7/0x730 net/core/skbuff.c:6170 sock_alloc_send_pskb+0x853/0x980 net/core/sock.c:2531 unix_dgram_sendmsg+0x5ef/0x1890 net/unix/af_unix.c:1809 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] __sys_sendto+0x423/0x580 net/socket.c:2063 __do_sys_sendto net/socket.c:2075 [inline] __se_sys_sendto net/socket.c:2071 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2071 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:0x7f8e72c4e407 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:00007ffe1c498f40 EFLAGS: 00000202 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f8e72afec80 RCX: 00007f8e72c4e407 RDX: 0000000000000049 RSI: 00007ffe1c499080 RDI: 0000000000000003 RBP: 00007ffe1c4994b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffe1c4994c8 R13: 00007ffe1c499080 R14: 000000000000002e R15: 00007ffe1c499080