INFO: task systemd-udevd:13233 blocked for more than 143 seconds. Not tainted 5.14.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:24304 pid:13233 ppid: 4867 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4695 [inline] __schedule+0xc07/0x11f0 kernel/sched/core.c:6026 schedule+0x14b/0x210 kernel/sched/core.c:6105 io_schedule+0x83/0x100 kernel/sched/core.c:8076 wait_on_page_bit_common+0x9ca/0x1030 mm/filemap.c:1301 wait_on_page_bit mm/filemap.c:1362 [inline] wait_on_page_locked include/linux/pagemap.h:689 [inline] wait_on_page_read+0x19d/0x430 mm/filemap.c:3312 do_read_cache_page+0xb1b/0xe10 mm/filemap.c:3355 read_mapping_page include/linux/pagemap.h:515 [inline] read_part_sector+0x118/0x500 block/partitions/core.c:726 adfspart_check_ICS+0x9e/0xa40 block/partitions/acorn.c:360 check_partition block/partitions/core.c:147 [inline] blk_add_partitions block/partitions/core.c:611 [inline] bdev_disk_changed+0x764/0x1690 block/partitions/core.c:697 blkdev_get_whole+0x42c/0x500 fs/block_dev.c:1269 blkdev_get_by_dev+0x339/0xdc0 fs/block_dev.c:1417 blkdev_open+0x132/0x2c0 fs/block_dev.c:1512 do_dentry_open+0x7cb/0x1020 fs/open.c:826 do_open fs/namei.c:3374 [inline] path_openat+0x27e7/0x36b0 fs/namei.c:3507 do_filp_open+0x253/0x4d0 fs/namei.c:3534 do_sys_openat2+0x124/0x460 fs/open.c:1204 do_sys_open fs/open.c:1220 [inline] __do_sys_open fs/open.c:1228 [inline] __se_sys_open fs/open.c:1224 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1224 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fa721963840 RSP: 002b:00007ffd959032d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000055f7434426e0 RCX: 00007fa721963840 RDX: 000055f74169afe3 RSI: 00000000000a0800 RDI: 000055f7434473e0 RBP: 00007ffd95903450 R08: 000055f74169a670 R09: 0000000000000010 R10: 000055f74169ad0c R11: 0000000000000246 R12: 00007ffd959033a0 R13: 000055f743447cf0 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.2:13244 blocked for more than 143 seconds. Not tainted 5.14.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26128 pid:13244 ppid: 13465 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4695 [inline] __schedule+0xc07/0x11f0 kernel/sched/core.c:6026 schedule+0x14b/0x210 kernel/sched/core.c:6105 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6164 __mutex_lock_common+0x116f/0x3770 kernel/locking/mutex.c:1036 __mutex_lock kernel/locking/mutex.c:1104 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:1119 blkdev_put+0xfc/0x810 fs/block_dev.c:1534 blkdev_close+0x7a/0xa0 fs/block_dev.c:1586 __fput+0x352/0x7b0 fs/file_table.c:280 task_work_run+0x146/0x1c0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x201/0x220 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:302 do_syscall_64+0x4c/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x41940b RSP: 002b:00007ffc1d57c030 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 000000000041940b RDX: 0000000000000000 RSI: 00007f893d0a2e48 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2d425ad0 R10: 0000000000001f40 R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 000000000024584d Showing all locks held in the system: 1 lock held by khungtaskd/1641: #0: ffffffff8c717ec0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by in:imklog/8122: #0: ffff88802bfaf770 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:974 1 lock held by systemd-udevd/13233: #0: ffff88801eda4d18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x102/0xdc0 fs/block_dev.c:1410 1 lock held by syz-executor.2/13244: #0: ffff88801eda4d18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfc/0x810 fs/block_dev.c:1534 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1641 Comm: khungtaskd Not tainted 5.14.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1d3/0x29f lib/dump_stack.c:105 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xd06/0xd50 kernel/hung_task.c:295 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.14.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:132 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:110 [inline] RIP: 0010:acpi_idle_do_entry drivers/acpi/processor_idle.c:553 [inline] RIP: 0010:acpi_idle_enter+0x42d/0x780 drivers/acpi/processor_idle.c:688 Code: fd 48 83 e3 08 44 8b 7c 24 04 0f 85 0a 01 00 00 48 8d 5c 24 40 e8 f3 88 28 fd eb 0c e8 bc 1b 22 fd 0f 00 2d 85 8b 42 06 fb f4 <9c> 8f 44 24 40 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df RSP: 0018:ffffffff8c407ba0 EFLAGS: 00000286 RAX: 5c65b71747682200 RBX: ffffffff8c407be0 RCX: ffffffff9070c703 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffff8c407c50 R08: ffffffff8186a713 R09: ffffed101738a4a2 R10: ffffed101738a4a2 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8881419a8864 R14: ffff8881419a8800 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8ca8006e50 CR3: 0000000034706000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cpuidle_enter_state+0x509/0xe60 drivers/cpuidle/cpuidle.c:237 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:351 call_cpuidle kernel/sched/idle.c:158 [inline] cpuidle_idle_call kernel/sched/idle.c:239 [inline] do_idle+0x3c8/0x620 kernel/sched/idle.c:306 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:403 start_kernel+0x4a3/0x549 init/main.c:1125 secondary_startup_64_no_verify+0xb0/0xbb ---------------- Code disassembly (best guess): 0: fd std 1: 48 83 e3 08 and $0x8,%rbx 5: 44 8b 7c 24 04 mov 0x4(%rsp),%r15d a: 0f 85 0a 01 00 00 jne 0x11a 10: 48 8d 5c 24 40 lea 0x40(%rsp),%rbx 15: e8 f3 88 28 fd callq 0xfd28890d 1a: eb 0c jmp 0x28 1c: e8 bc 1b 22 fd callq 0xfd221bdd 21: 0f 00 2d 85 8b 42 06 verw 0x6428b85(%rip) # 0x6428bad 28: fb sti 29: f4 hlt * 2a: 9c pushfq <-- trapping instruction 2b: 8f 44 24 40 popq 0x40(%rsp) 2f: 48 89 d8 mov %rbx,%rax 32: 48 c1 e8 03 shr $0x3,%rax 36: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 3b: 74 08 je 0x45 3d: 48 89 df mov %rbx,%rdi