INFO: task systemd-udevd:13910 blocked for more than 143 seconds. Not tainted 5.15.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:26816 pid:13910 ppid: 2969 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 io_schedule+0xba/0x130 kernel/sched/core.c:8389 wait_on_page_bit_common+0x537/0xe60 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:3422 [inline] do_read_cache_page+0x96b/0x13c0 mm/filemap.c:3465 read_mapping_page include/linux/pagemap.h:515 [inline] read_part_sector+0xfa/0x5c0 block/partitions/core.c:725 adfspart_check_ICS+0x9d/0xc90 block/partitions/acorn.c:360 check_partition block/partitions/core.c:147 [inline] blk_add_partitions block/partitions/core.c:610 [inline] bdev_disk_changed+0x7bc/0x1140 block/partitions/core.c:696 blkdev_get_whole+0x206/0x2a0 block/bdev.c:681 blkdev_get_by_dev.part.0+0x354/0xb60 block/bdev.c:823 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:856 blkdev_open+0x154/0x2b0 block/fops.c:448 do_dentry_open+0x4c8/0x11d0 fs/open.c:822 do_open fs/namei.c:3428 [inline] path_openat+0x1c9a/0x2740 fs/namei.c:3561 do_filp_open+0x1aa/0x400 fs/namei.c:3588 do_sys_openat2+0x16d/0x4d0 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_open fs/open.c:1224 [inline] __se_sys_open fs/open.c:1220 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1220 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fde09d9f840 RSP: 002b:00007fffe1683cf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000055563215a690 RCX: 00007fde09d9f840 RDX: 00005556317b6fe3 RSI: 0000000000080000 RDI: 00005556321487d0 RBP: 0000000000000001 R08: 00005556317b6670 R09: 0000000000000110 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000555632151c90 R15: 00000000ffffffff INFO: task syz-executor.5:20662 blocked for more than 143 seconds. Not tainted 5.15.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28816 pid:20662 ppid: 6834 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common kernel/locking/mutex.c:669 [inline] __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729 blkdev_put+0x97/0x9e0 block/bdev.c:911 blkdev_close+0x8d/0xb0 block/fops.c:460 __fput+0x288/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 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+0x27e/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fd925ed951b RSP: 002b:00007ffd1e5d56d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007fd925ed951b RDX: 0000000000000000 RSI: ffffffff89355948 RDI: 0000000000000004 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b33225c24 R10: 0000000000001a21 R11: 0000000000000293 R12: 00007fd92602bb60 R13: 00007fd92602bb60 R14: 00007fd92602af60 R15: 00000000000874af Showing all locks held in the system: 1 lock held by ksoftirqd/1/19: #0: ffff8880b9d31ad8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:474 [inline] #0: ffff8880b9d31ad8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1317 [inline] #0: ffff8880b9d31ad8 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1620 [inline] #0: ffff8880b9d31ad8 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x236/0x26f0 kernel/sched/core.c:6201 1 lock held by khungtaskd/26: #0: ffffffff8b97d3e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/6446: #0: ffff888078503d70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by systemd-udevd/13910: #0: ffff88801bd45918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb60 block/bdev.c:816 1 lock held by syz-executor.5/20662: #0: ffff88801bd45918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 block/bdev.c:911 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.15.0-rc4-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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 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+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x3e5/0x4d0 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: 2957 Comm: systemd-journal Not tainted 5.15.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:438 [inline] RIP: 0010:lock_is_held_type+0xe2/0x140 kernel/locking/lockdep.c:5669 Code: 0f b6 47 22 45 31 ed 83 e0 03 44 39 f0 41 0f 94 c5 48 c7 c7 c0 e5 8b 89 e8 bb 0d 00 00 b8 ff ff ff ff 65 0f c1 05 4e a9 cc 76 <83> f8 01 75 29 9c 58 f6 c4 02 75 3d 48 f7 04 24 00 02 00 00 74 01 RSP: 0018:ffffc90002ae7dc8 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffff8b97d320 R08: 0000000000000000 R09: ffff8880b9c32a8b R10: ffffed1017386551 R11: 0000000000000001 R12: ffff888014bda100 R13: 0000000000000000 R14: 00000000ffffffff R15: ffff888014bdaaf8 FS: 00007fc783d678c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc781312010 CR3: 0000000027220000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x522/0x720 kernel/locking/lockdep.c:5636 do_write_seqcount_end include/linux/seqlock.h:565 [inline] vtime_user_exit+0x12d/0x210 kernel/sched/cputime.c:726 __context_tracking_exit+0xb8/0xe0 kernel/context_tracking.c:160 user_exit_irqoff include/linux/context_tracking.h:47 [inline] __enter_from_user_mode kernel/entry/common.c:22 [inline] syscall_enter_from_user_mode+0x4c/0x70 kernel/entry/common.c:104 do_syscall_64+0x16/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fc782ffff17 Code: ff ff ff 48 8b 4d a0 0f b7 51 fe 48 8b 4d a8 66 89 54 08 fe e9 1a ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 b8 27 00 00 00 0f 05 0f 1f 84 00 00 00 00 00 b8 6e 00 00 00 0f 05 c3 0f 1f 84 00 00 RSP: 002b:00007fff0a528c38 EFLAGS: 00000206 ORIG_RAX: 0000000000000027 RAX: ffffffffffffffda RBX: 000055a39903b200 RCX: 00007fc782ffff17 RDX: 000000000000000d RSI: ffffffffffffffff RDI: 000055a39903b200 RBP: 00007fff0a528d30 R08: 00000000615aab5e R09: 00007fff0a543080 R10: 00007fff0a543080 R11: 0000000000000206 R12: 0000000000000b8d R13: 00007fff0a528dc8 R14: ffffffffffffffff R15: 0005cd81c15bbf3e ---------------- Code disassembly (best guess): 0: 0f b6 47 22 movzbl 0x22(%rdi),%eax 4: 45 31 ed xor %r13d,%r13d 7: 83 e0 03 and $0x3,%eax a: 44 39 f0 cmp %r14d,%eax d: 41 0f 94 c5 sete %r13b 11: 48 c7 c7 c0 e5 8b 89 mov $0xffffffff898be5c0,%rdi 18: e8 bb 0d 00 00 callq 0xdd8 1d: b8 ff ff ff ff mov $0xffffffff,%eax 22: 65 0f c1 05 4e a9 cc xadd %eax,%gs:0x76cca94e(%rip) # 0x76cca978 29: 76 * 2a: 83 f8 01 cmp $0x1,%eax <-- trapping instruction 2d: 75 29 jne 0x58 2f: 9c pushfq 30: 58 pop %rax 31: f6 c4 02 test $0x2,%ah 34: 75 3d jne 0x73 36: 48 f7 04 24 00 02 00 testq $0x200,(%rsp) 3d: 00 3e: 74 01 je 0x41