INFO: task udevd:5796 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:25712 pid:5796 ppid:5159 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:3771 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:655 blkdev_get_by_dev+0x279/0x600 block/bdev.c:797 blkdev_open+0x152/0x360 block/fops.c:589 do_dentry_open+0x8c6/0x1500 fs/open.c:929 do_open fs/namei.c:3632 [inline] path_openat+0x274b/0x3190 fs/namei.c:3789 do_filp_open+0x1c5/0x3d0 fs/namei.c:3816 do_sys_openat2+0x12c/0x1c0 fs/open.c:1419 do_sys_open fs/open.c:1434 [inline] __do_sys_openat fs/open.c:1450 [inline] __se_sys_openat fs/open.c:1445 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1445 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:0x7f847bea7407 RSP: 002b:00007ffc4e7a95d0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f847c595880 RCX: 00007f847bea7407 RDX: 00000000000a0800 RSI: 0000559f5f7a4f80 RDI: ffffffffffffff9c RBP: 0000559f5f78b910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000559f5f7a3e00 R13: 0000559f5f7a3410 R14: 0000000000000000 R15: 0000559f5f7a3e00 INFO: task udevd:5802 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:25840 pid:5802 ppid:5159 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:3771 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:655 blkdev_get_by_dev+0x279/0x600 block/bdev.c:797 blkdev_open+0x152/0x360 block/fops.c:589 do_dentry_open+0x8c6/0x1500 fs/open.c:929 do_open fs/namei.c:3632 [inline] path_openat+0x274b/0x3190 fs/namei.c:3789 do_filp_open+0x1c5/0x3d0 fs/namei.c:3816 do_sys_openat2+0x12c/0x1c0 fs/open.c:1419 do_sys_open fs/open.c:1434 [inline] __do_sys_openat fs/open.c:1450 [inline] __se_sys_openat fs/open.c:1445 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1445 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:0x7f847bea7407 RSP: 002b:00007ffc4e7a95d0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f847c595880 RCX: 00007f847bea7407 RDX: 00000000000a0800 RSI: 0000559f5f7a4a50 RDI: ffffffffffffff9c RBP: 0000559f5f78b910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000559f5f7ab270 R13: 0000559f5f7a3410 R14: 0000000000000000 R15: 0000559f5f7ab270 INFO: task udevd:5807 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:25480 pid:5807 ppid:5159 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:3771 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:655 blkdev_get_by_dev+0x279/0x600 block/bdev.c:797 blkdev_open+0x152/0x360 block/fops.c:589 do_dentry_open+0x8c6/0x1500 fs/open.c:929 do_open fs/namei.c:3632 [inline] path_openat+0x274b/0x3190 fs/namei.c:3789 do_filp_open+0x1c5/0x3d0 fs/namei.c:3816 do_sys_openat2+0x12c/0x1c0 fs/open.c:1419 do_sys_open fs/open.c:1434 [inline] __do_sys_openat fs/open.c:1450 [inline] __se_sys_openat fs/open.c:1445 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1445 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:0x7f847bea7407 RSP: 002b:00007ffc4e7a95d0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f847c595880 RCX: 00007f847bea7407 RDX: 00000000000a0800 RSI: 0000559f5f79caa0 RDI: ffffffffffffff9c RBP: 0000559f5f78b910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000559f5f7ab440 R13: 0000559f5f7a3410 R14: 0000000000000000 R15: 0000559f5f7ab440 INFO: task udevd:6028 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:25800 pid:6028 ppid:5159 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:3771 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:655 blkdev_get_by_dev+0x279/0x600 block/bdev.c:797 blkdev_open+0x152/0x360 block/fops.c:589 do_dentry_open+0x8c6/0x1500 fs/open.c:929 do_open fs/namei.c:3632 [inline] path_openat+0x274b/0x3190 fs/namei.c:3789 do_filp_open+0x1c5/0x3d0 fs/namei.c:3816 do_sys_openat2+0x12c/0x1c0 fs/open.c:1419 do_sys_open fs/open.c:1434 [inline] __do_sys_openat fs/open.c:1450 [inline] __se_sys_openat fs/open.c:1445 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1445 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:0x7f847bea7407 RSP: 002b:00007ffc4e7a95d0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f847c595880 RCX: 00007f847bea7407 RDX: 00000000000a0800 RSI: 0000559f5f78c520 RDI: ffffffffffffff9c RBP: 0000559f5f78b910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000559f5f7b3a40 R13: 0000559f5f7a3410 R14: 0000000000000000 R15: 0000559f5f7b3a40 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633 2 locks held by kworker/u4:3/48: 1 lock held by klogd/5148: 1 lock held by udevd/5159: 2 locks held by getty/5552: #0: ffff88802c5080a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217 1 lock held by udevd/5794: #0: ffff888021d574c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/5796: #0: ffff888021c014c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/5802: #0: ffff888021c684c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/5807: #0: ffff888021c534c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/6028: #0: ffff888021c6d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/6034: #0: ffff888021d524c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/6169: #0: ffff888021eb64c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/6174: #0: ffff888021eb14c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/6203: #0: ffff888021fab4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/6206: #0: ffff888021edb4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/6329: #0: ffff8881413004c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/6378: #0: ffff8880225534c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by syz.1.445/7888: 1 lock held by syz.2.446/7889: 7 locks held by syz.2.446/7890: #0: ffffffff8cd24240 (console_lock){+.+.}-{0:0}, at: do_fb_ioctl+0x57e/0x740 drivers/video/fbdev/core/fb_chrdev.c:86 #1: ffff888146ed9078 (&fb_info->lock){+.+.}-{3:3}, at: lock_fb_info include/linux/fb.h:611 [inline] #1: ffff888146ed9078 (&fb_info->lock){+.+.}-{3:3}, at: do_fb_ioctl+0x593/0x740 drivers/video/fbdev/core/fb_chrdev.c:87 #2: ffff88801b7d5280 (&helper->lock){+.+.}-{3:3}, at: __drm_fb_helper_restore_fbdev_mode_unlocked+0x77/0x140 drivers/gpu/drm/drm_fb_helper.c:242 #3: ffff88802117c1b0 (&dev->master_mutex){+.+.}-{3:3}, at: drm_master_internal_acquire+0x20/0x70 drivers/gpu/drm/drm_auth.c:458 #4: ffff88801b7d5098 (&client->modeset_mutex){+.+.}-{3:3}, at: drm_client_modeset_commit_locked+0x4c/0x4c0 drivers/gpu/drm/drm_client_modeset.c:1158 #5: ffffc9000f77f7b0 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_client_modeset_commit_atomic+0xe1/0x760 drivers/gpu/drm/drm_client_modeset.c:996 #6: ffff88801b7d40b0 (crtc_ww_class_mutex){+.+.}-{3:3}, at: modeset_lock+0x2b0/0x630 drivers/gpu/drm/drm_modeset_lock.c:314 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5159 Comm: udevd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:89 [inline] RIP: 0010:check_preemption_disabled+0x56/0x110 lib/smp_processor_id.c:19 Code: 74 1f 65 48 8b 0c 25 28 00 00 00 48 3b 4c 24 08 0f 85 c4 00 00 00 48 83 c4 10 5b 41 5e 41 5f 5d c3 48 c7 04 24 00 00 00 00 9c <8f> 04 24 f7 04 24 00 02 00 00 74 cc 65 4c 8b 3d 36 29 95 75 41 f6 RSP: 0018:ffffc900032f7680 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff88807f36c6dc RCX: 0000000080000000 RDX: 0000000000000000 RSI: ffffffff8aaac9c0 RDI: ffffffff8afc64c0 RBP: ffffc900032f77d0 R08: ffffffff8e4a856f R09: 1ffffffff1c950ad R10: dffffc0000000000 R11: fffffbfff1c950ae R12: ffffffff8211b923 R13: dffffc0000000000 R14: ffff88807f36bc00 R15: 1ffff9200065eee4 FS: 00007f847c595880(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000023030 CR3: 000000001aaac000 CR4: 00000000003506f0 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:462 [inline] lock_release+0x155/0x8b0 kernel/locking/lockdep.c:5773 up_read+0x16/0x20 kernel/locking/rwsem.c:1615 kernfs_iop_permission+0x2b3/0x390 fs/kernfs/inode.c:290 do_inode_permission fs/namei.c:462 [inline] inode_permission+0x23d/0x480 fs/namei.c:529 may_lookup fs/namei.c:1724 [inline] link_path_walk+0x2da/0xe00 fs/namei.c:2271 path_openat+0x283/0x3190 fs/namei.c:3785 do_filp_open+0x1c5/0x3d0 fs/namei.c:3816 do_sys_openat2+0x12c/0x1c0 fs/open.c:1419 do_sys_open fs/open.c:1434 [inline] __do_sys_openat fs/open.c:1450 [inline] __se_sys_openat fs/open.c:1445 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1445 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:0x7f847bf15c3a Code: 41 89 f2 48 89 54 24 e0 41 83 e2 40 75 2a 89 f0 f7 d0 a9 00 00 41 00 74 1f 89 f2 b8 01 01 00 00 48 89 fe bf 9c ff ff ff 0f 05 <48> 3d 00 f0 ff ff 77 2e c3 0f 1f 44 00 00 48 8d 44 24 08 c7 44 24 RSP: 002b:00007ffc4e7a9718 EFLAGS: 00000206 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000559f5f8103a0 RCX: 00007f847bf15c3a RDX: 0000000000090800 RSI: 0000559f5f910de0 RDI: 00000000ffffff9c RBP: 0000559f5f910de0 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000206 R12: 0000559f5f7a67b0 R13: 00000000000000fd R14: 0000559f5c4cabe0 R15: 00007ffc4e7a9a20