INFO: task udevd:4177 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:25312 pid: 4177 ppid: 3561 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: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:0x7ff9d6413407 RSP: 002b:00007ffecc8f8bd0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ff9d6325880 RCX: 00007ff9d6413407 RDX: 00000000000a0800 RSI: 000055da9ea4c6a0 RDI: ffffffffffffff9c RBP: 000055da9ea3c910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000055da9ea59f10 R13: 000055da9ea54410 R14: 0000000000000000 R15: 000055da9ea59f10 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c11c660 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:1/144: 2 locks held by kworker/u4:3/332: #0: ffff8880b913a358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffff8880b9127888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4d6/0x810 kernel/sched/psi.c:891 2 locks held by getty/3949: #0: ffff88802c25b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002cf62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 2 locks held by kworker/1:3/4174: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000300fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 1 lock held by udevd/4177: #0: ffff8880209a8518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x157/0xa60 block/bdev.c:820 2 locks held by syz-executor/4421: #0: ffff8880208ad118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf9/0x7d0 block/bdev.c:915 #1: ffff888146de2468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xaa/0xb90 drivers/block/loop.c:1366 1 lock held by syz.0.137/4869: #0: ffff8880209a8518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x157/0xa60 block/bdev.c:820 2 locks held by kworker/1:10/4898: #0: ffff888016872138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900031bfd00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 2 locks held by syz-executor/5045: #0: ffff8880208aed18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf9/0x7d0 block/bdev.c:915 #1: ffff888146de5468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xaa/0xb90 drivers/block/loop.c:1366 1 lock held by syz.3.429/6079: #0: ffffffff8c1210e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #0: ffffffff8c1210e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x320/0x6b0 kernel/rcu/tree_exp.h:845 ============================================= 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 08/18/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: 4425 Comm: udevd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:write_comp_data kernel/kcov.c:226 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x4/0x80 kernel/kcov.c:300 Code: 77 22 89 ff 89 f6 4a c7 44 02 08 05 00 00 00 4a 89 7c 02 10 4a 89 74 02 18 4a 89 44 02 20 48 ff c1 48 89 0a c3 90 48 8b 04 24 <65> 48 8b 0d b4 a0 8a 7e 65 8b 15 b5 a0 8a 7e 81 e2 00 01 ff 00 74 RSP: 0018:ffffc9000317faf8 EFLAGS: 00000246 RAX: ffffffff81aee4e6 RBX: 80000000722bf867 RCX: fbf0000000000107 RDX: 0000000000000000 RSI: 80000000722bf867 RDI: 0000000000000000 RBP: ffffc9000317fd30 R08: dffffc0000000000 R09: ffffed1003f8276e R10: ffffed1003f8276e R11: 1ffff11003f8276d R12: dffffc0000000000 R13: 8000000000000025 R14: 80000000722bf865 R15: 8000000000000025 FS: 00007ff9d6325880(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff9d596d000 CR3: 0000000059d8b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __pte_needs_invert arch/x86/include/asm/pgtable-invert.h:18 [inline] flip_protnone_guard arch/x86/include/asm/pgtable-invert.h:34 [inline] pte_modify arch/x86/include/asm/pgtable.h:616 [inline] change_pte_range mm/mprotect.c:117 [inline] change_pmd_range mm/mprotect.c:279 [inline] change_pud_range mm/mprotect.c:307 [inline] change_p4d_range mm/mprotect.c:327 [inline] change_protection_range mm/mprotect.c:352 [inline] change_protection+0xd86/0x18f0 mm/mprotect.c:375 mprotect_fixup+0x6d0/0x800 mm/mprotect.c:497 do_mprotect_pkey+0x657/0x910 mm/mprotect.c:636 __do_sys_mprotect mm/mprotect.c:662 [inline] __se_sys_mprotect mm/mprotect.c:659 [inline] __x64_sys_mprotect+0x7c/0x90 mm/mprotect.c:659 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:0x7ff9d6489fe7 Code: ef e8 3d fa ff ff 84 c0 75 b9 31 db 48 83 c4 08 48 89 d8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 0f 1f 44 00 00 b8 0a 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 2d 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007ffecc8f3778 EFLAGS: 00000246 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 0000000000000200 RCX: 00007ff9d6489fe7 RDX: 0000000000000001 RSI: 0000000000000200 RDI: 00007ff9d596d000 RBP: 000055da9ea66380 R08: 0000000000000000 R09: 0000000000000200 R10: 000055da9ea663e0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000f86400 R14: 000055da9ea4dcd8 R15: 00007ff9d6b6939c