INFO: task udevd:5720 blocked for more than 143 seconds. Not tainted 6.9.0-syzkaller-10323-g8f6a15f095a6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:23960 pid:5720 tgid:5720 ppid:4538 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 bdev_open+0xdd/0xcb0 block/bdev.c:877 blkdev_open+0x20d/0x2e0 block/fops.c:615 do_dentry_open+0x909/0x15f0 fs/open.c:955 do_open fs/namei.c:3650 [inline] path_openat+0x289f/0x3280 fs/namei.c:3807 do_filp_open+0x235/0x490 fs/namei.c:3834 do_sys_openat2+0x13e/0x1d0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f11d07169a4 RSP: 002b:00007ffff30c9a20 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055c9b3ca3d00 RCX: 00007f11d07169a4 RDX: 00000000000a0800 RSI: 000055c9b3caae80 RDI: 00000000ffffff9c RBP: 000055c9b3caae80 R08: 0000000000000001 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 000055c9b3c93ae0 R14: 0000000000000001 R15: 000055c9b3c82910 INFO: task syz-executor.4:6186 blocked for more than 143 seconds. Not tainted 6.9.0-syzkaller-10323-g8f6a15f095a6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26680 pid:6186 tgid:6185 ppid:5413 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 bdev_release+0x1c8/0x720 block/bdev.c:1059 blkdev_release+0x15/0x20 block/fops.c:623 __fput+0x408/0x8b0 fs/file_table.c:422 task_work_run+0x251/0x310 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa27287cee9 RSP: 002b:00007fa2735b10c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007fa2729abf80 RCX: 00007fa27287cee9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007fa2728c949e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa2729abf80 R15: 00007fff29075068 INFO: task syz-executor.4:6187 blocked for more than 143 seconds. Not tainted 6.9.0-syzkaller-10323-g8f6a15f095a6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:21560 pid:6187 tgid:6185 ppid:5413 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 io_schedule+0x8d/0x110 kernel/sched/core.c:9043 folio_wait_bit_common+0x882/0x12b0 mm/filemap.c:1307 folio_put_wait_locked mm/filemap.c:1471 [inline] do_read_cache_folio+0xb9/0x820 mm/filemap.c:3770 read_mapping_folio include/linux/pagemap.h:894 [inline] read_part_sector+0xcf/0x340 block/partitions/core.c:712 adfspart_check_POWERTEC+0xc8/0x8f0 block/partitions/acorn.c:454 check_partition block/partitions/core.c:138 [inline] blk_add_partitions block/partitions/core.c:579 [inline] bdev_disk_changed+0x7d5/0x1480 block/partitions/core.c:683 blkdev_get_whole+0x36b/0x4d0 block/bdev.c:680 bdev_open+0x2c4/0xcb0 block/bdev.c:889 blkdev_open+0x20d/0x2e0 block/fops.c:615 do_dentry_open+0x909/0x15f0 fs/open.c:955 do_open fs/namei.c:3650 [inline] path_openat+0x289f/0x3280 fs/namei.c:3807 do_filp_open+0x235/0x490 fs/namei.c:3834 do_sys_openat2+0x13e/0x1d0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa27287bae0 RSP: 002b:00007fa27358fc00 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa27287bae0 RDX: 0000000000000000 RSI: 00007fa27358fca0 RDI: 00000000ffffff9c RBP: 00007fa27358fca0 R08: 0000000000000000 R09: 002364626e2f7665 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 000000000000006e R14: 00007fa2729ac050 R15: 00007fff29075068 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e333d20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e333d20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e333d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 3 locks held by kworker/u8:6/1095: 2 locks held by getty/4842: #0: ffff88802aeea0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by syz-fuzzer/5081: 1 lock held by syz-executor.2/5409: 1 lock held by udevd/5720: #0: ffff8880205ac4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdd/0xcb0 block/bdev.c:877 1 lock held by udevd/5863: #0: ffff8880202854c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdd/0xcb0 block/bdev.c:877 1 lock held by syz-executor.3/6036: 1 lock held by syz-executor.4/6186: #0: ffff8880205ac4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x1c8/0x720 block/bdev.c:1059 1 lock held by syz-executor.4/6187: #0: ffff8880205ac4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdd/0xcb0 block/bdev.c:877 1 lock held by syz-executor.1/6539: #0: ffff8880202854c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x1c8/0x720 block/bdev.c:1059 1 lock held by syz-executor.1/6542: #0: ffff8880202854c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x1c8/0x720 block/bdev.c:1059 1 lock held by udevd/6544: #0: ffff8880207084c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdd/0xcb0 block/bdev.c:877 1 lock held by syz-executor.5/6793: #0: ffff8880207084c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdd/0xcb0 block/bdev.c:877 1 lock held by syz-executor.5/6795: #0: ffff8880207084c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x1c8/0x720 block/bdev.c:1059 2 locks held by syz-executor.5/6959: 3 locks held by syz-executor.1/7749: 2 locks held by syz-executor.2/7769: 2 locks held by syz-executor.3/7774: 5 locks held by syz-executor.0/7775: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.9.0-syzkaller-10323-g8f6a15f095a6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:379 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7749 Comm: syz-executor.1 Not tainted 6.9.0-syzkaller-10323-g8f6a15f095a6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:instrument_atomic_read include/linux/instrumented.h:68 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4773 [inline] RIP: 0010:__lock_acquire+0x4b1/0x1fd0 kernel/locking/lockdep.c:5087 Code: f0 24 48 89 d8 48 c1 e8 03 0f b6 04 30 84 c0 0f 85 14 13 00 00 44 89 23 44 89 eb 48 89 d8 48 c1 e8 06 48 8d 3c c5 80 15 fb 92 08 00 00 00 e8 55 8b 89 00 48 0f a3 1d ad 94 88 11 73 27 48 69 RSP: 0018:ffffc900035af030 EFLAGS: 00000056 RAX: 0000000000000000 RBX: 0000000000000019 RCX: 0000000000000000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: ffffffff92fb1580 RBP: 000000000000000f R08: ffff888062dae4e0 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1f5a716 R12: 0000000000000000 R13: 0000000000000019 R14: 000000000000000f R15: ffff888062dae578 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002005d000 CR3: 000000000e132000 CR4: 0000000000350ef0 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 rcu_lock_acquire include/linux/rcupdate.h:329 [inline] rcu_read_lock_sched include/linux/rcupdate.h:873 [inline] pfn_valid+0x113/0x440 include/linux/mmzone.h:2022 page_table_check_clear+0x1e/0x570 mm/page_table_check.c:70 zap_present_ptes mm/memory.c:1543 [inline] zap_pte_range mm/memory.c:1612 [inline] zap_pmd_range mm/memory.c:1730 [inline] zap_pud_range mm/memory.c:1759 [inline] zap_p4d_range mm/memory.c:1780 [inline] unmap_page_range+0x2e24/0x4d00 mm/memory.c:1801 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1891 exit_mmap+0x264/0xc80 mm/mmap.c:3312 __mmput+0x115/0x3c0 kernel/fork.c:1346 exit_mm+0x220/0x310 kernel/exit.c:568 do_exit+0x99e/0x27e0 kernel/exit.c:864 do_group_exit+0x207/0x2c0 kernel/exit.c:1026 get_signal+0x16a1/0x1740 kernel/signal.c:2911 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa85a87bc2f Code: Unable to access opcode bytes at 0x7fa85a87bc05. RSP: 002b:00007fa85b569e80 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: 0000000000a03000 RBX: 0000000001000000 RCX: 00007fa85a87bc2f RDX: 0000000001000000 RSI: 00007fa850600000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000005e0f R10: 000000002000c742 R11: 0000000000000293 R12: 0000000000000003 R13: 00007fa85b569f80 R14: 00007fa85b569f40 R15: 00007fa850600000