INFO: task systemd-udevd:10700 blocked for more than 143 seconds. Not tainted 5.14.0-next-20210901-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:26536 pid:10700 ppid: 2970 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4955 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6302 schedule+0xd3/0x270 kernel/sched/core.c:6381 io_schedule+0xba/0x130 kernel/sched/core.c:8404 folio_wait_bit_common+0x4f2/0xa60 mm/filemap.c:1365 folio_wait_bit mm/filemap.c:1425 [inline] folio_wait_locked include/linux/pagemap.h:802 [inline] folio_wait_locked include/linux/pagemap.h:799 [inline] wait_on_page_locked include/linux/pagemap.h:814 [inline] wait_on_page_read mm/filemap.c:3428 [inline] do_read_cache_page+0x988/0x11a0 mm/filemap.c:3471 read_mapping_page include/linux/pagemap.h:602 [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 fs/block_dev.c:1092 blkdev_get_by_dev.part.0+0x354/0xb60 fs/block_dev.c:1234 blkdev_get_by_dev fs/block_dev.c:1323 [inline] blkdev_open+0x295/0x300 fs/block_dev.c:1329 do_dentry_open+0x4c8/0x11d0 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x1c9a/0x2740 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 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:0x7f791be4d840 RSP: 002b:00007ffce9e30f18 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000558049368a20 RCX: 00007f791be4d840 RDX: 0000558048deafe3 RSI: 00000000000a0800 RDI: 000055804936d670 RBP: 00007ffce9e31090 R08: 0000558048dea670 R09: 0000000000000010 R10: 0000558048dead0c R11: 0000000000000246 R12: 00007ffce9e30fe0 R13: 0000558049368e30 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.2:11180 can't die for more than 143 seconds. task:syz-executor.2 state:D stack:28152 pid:11180 ppid: 21044 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4955 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6302 schedule+0xd3/0x270 kernel/sched/core.c:6381 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6440 __mutex_lock_common kernel/locking/mutex.c:669 [inline] __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729 blkdev_put+0x97/0x9e0 fs/block_dev.c:1351 blkdev_close+0x8c/0xb0 fs/block_dev.c:1403 __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:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x41940b RSP: 002b:00007fffc58b1540 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 000000000041940b RDX: 0000000000000000 RSI: 00007fb336caedc0 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2ef2bbf8 R10: 0000000000000feb R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 000000000017f082 INFO: task syz-executor.2:11180 blocked for more than 143 seconds. Not tainted 5.14.0-next-20210901-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28152 pid:11180 ppid: 21044 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4955 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6302 schedule+0xd3/0x270 kernel/sched/core.c:6381 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6440 __mutex_lock_common kernel/locking/mutex.c:669 [inline] __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729 blkdev_put+0x97/0x9e0 fs/block_dev.c:1351 blkdev_close+0x8c/0xb0 fs/block_dev.c:1403 __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:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x41940b RSP: 002b:00007fffc58b1540 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 000000000041940b RDX: 0000000000000000 RSI: 00007fb336caedc0 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2ef2bbf8 R10: 0000000000000feb R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 000000000017f082 Showing all locks held in the system: 1 lock held by ksoftirqd/1/19: #0: ffff8880b9d31a58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:474 [inline] #0: ffff8880b9d31a58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1319 [inline] #0: ffff8880b9d31a58 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1622 [inline] #0: ffff8880b9d31a58 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x236/0x26f0 kernel/sched/core.c:6216 1 lock held by khungtaskd/26: #0: ffffffff8b97fbe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/6250: #0: ffff88807ce8f4f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by systemd-udevd/10700: #0: ffff88801bc59918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb60 fs/block_dev.c:1227 1 lock held by syz-executor.2/11180: #0: ffff88801bc59918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 fs/block_dev.c:1351 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.14.0-next-20210901-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:254 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:339 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: 2966 Comm: systemd-journal Not tainted 5.14.0-next-20210901-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:write_comp_data kernel/kcov.c:218 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x17/0x70 kernel/kcov.c:284 Code: 30 f0 4c 89 54 d8 20 48 89 10 5b c3 0f 1f 80 00 00 00 00 41 89 f8 bf 03 00 00 00 4c 8b 14 24 89 f1 65 48 8b 34 25 40 f0 01 00 54 f0 ff ff 84 c0 74 4b 48 8b 86 28 15 00 00 8b b6 24 15 00 00 RSP: 0018:ffffc900012dfad0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00000000fffffffe RCX: 00000000fffffffe RDX: ffff88807bfe3900 RSI: ffff88807bfe3900 RDI: 0000000000000003 RBP: dffffc0000000000 R08: 0000000000000000 R09: ffff88807b74ef20 R10: ffffffff81cb0e1b R11: 0000000000000000 R12: ffffc900012dfdf8 R13: ffff88803c433320 R14: ffffc900012dfdf8 R15: ffffc900012dfc48 FS: 00007f42d6f718c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f42d3b48018 CR3: 000000001efa2000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: path_openat+0x27b/0x2740 fs/namei.c:3555 do_filp_open+0x1aa/0x400 fs/namei.c:3586 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:0x7f42d650085d Code: bb 20 00 00 75 10 b8 02 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 b8 02 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 67 f6 ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffef44e5f80 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffef44e6290 RCX: 00007f42d650085d RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 0000556089b9e2e0 RBP: 000000000000000d R08: 00000000000001e0 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000293 R12: 00000000ffffffff R13: 0000556089b90040 R14: 00007ffef44e6250 R15: 0000556089b9e100 ---------------- Code disassembly (best guess): 0: 30 f0 xor %dh,%al 2: 4c 89 54 d8 20 mov %r10,0x20(%rax,%rbx,8) 7: 48 89 10 mov %rdx,(%rax) a: 5b pop %rbx b: c3 retq c: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 13: 41 89 f8 mov %edi,%r8d 16: bf 03 00 00 00 mov $0x3,%edi 1b: 4c 8b 14 24 mov (%rsp),%r10 1f: 89 f1 mov %esi,%ecx 21: 65 48 8b 34 25 40 f0 mov %gs:0x1f040,%rsi 28: 01 00 * 2a: e8 54 f0 ff ff callq 0xfffff083 <-- trapping instruction 2f: 84 c0 test %al,%al 31: 74 4b je 0x7e 33: 48 8b 86 28 15 00 00 mov 0x1528(%rsi),%rax 3a: 8b b6 24 15 00 00 mov 0x1524(%rsi),%esi