INFO: task systemd-udevd:5133 blocked for more than 143 seconds. Not tainted 5.14.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:26528 pid: 5133 ppid: 4873 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4681 [inline] __schedule+0x93a/0x26f0 kernel/sched/core.c:5938 schedule+0xd3/0x270 kernel/sched/core.c:6017 io_schedule+0xba/0x130 kernel/sched/core.c:7988 wait_on_page_bit_common+0x537/0xe60 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 mm/filemap.c:3312 [inline] do_read_cache_page+0x96b/0x13c0 mm/filemap.c:3355 read_mapping_page include/linux/pagemap.h:515 [inline] read_part_sector+0x146/0x620 block/partitions/core.c:726 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:611 [inline] bdev_disk_changed+0x796/0x1130 block/partitions/core.c:697 blkdev_get_whole+0x216/0x420 fs/block_dev.c:1269 blkdev_get_by_dev.part.0+0x30c/0xdd0 fs/block_dev.c:1417 blkdev_get_by_dev fs/block_dev.c:1506 [inline] blkdev_open+0x295/0x300 fs/block_dev.c:1512 do_dentry_open+0x4c8/0x11d0 fs/open.c:826 do_open fs/namei.c:3374 [inline] path_openat+0x1c23/0x27f0 fs/namei.c:3507 do_filp_open+0x1aa/0x400 fs/namei.c:3534 do_sys_openat2+0x16d/0x420 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+0x119/0x1c0 fs/open.c:1224 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:0x7fb69ca21840 RSP: 002b:00007ffe0ef45088 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000565372b3a6e0 RCX: 00007fb69ca21840 RDX: 0000565371418fe3 RSI: 00000000000a0800 RDI: 0000565372b3f440 RBP: 00007ffe0ef45200 R08: 0000565371418670 R09: 0000000000000010 R10: 00007fb69c79bd70 R11: 0000000000000246 R12: 00007ffe0ef45150 R13: 0000565372b3fcf0 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.3:5201 blocked for more than 143 seconds. Not tainted 5.14.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27456 pid: 5201 ppid: 8487 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4681 [inline] __schedule+0x93a/0x26f0 kernel/sched/core.c:5938 schedule+0xd3/0x270 kernel/sched/core.c:6017 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6076 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7b6/0x10a0 kernel/locking/mutex.c:1104 blkdev_put+0xa0/0xae0 fs/block_dev.c:1534 blkdev_close+0x8c/0xb0 fs/block_dev.c:1586 __fput+0x288/0x920 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:0x4193fb RSP: 002b:00007ffc55febec0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004193fb RDX: 0000001b2e223c68 RSI: ffffffff892be683 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2e222ff8 R10: 0000000000000fc5 R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 00000000000e1165 Showing all locks held in the system: 1 lock held by ksoftirqd/0/13: #0: ffff8880b9c51b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:460 [inline] #0: ffff8880b9c51b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1307 [inline] #0: ffff8880b9c51b18 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1610 [inline] #0: ffff8880b9c51b18 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x233/0x26f0 kernel/sched/core.c:5852 4 locks held by kworker/u4:2/29: 1 lock held by khungtaskd/1658: #0: ffffffff8b97c280 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 2 locks held by in:imklog/8370: #0: ffff88801c40f770 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:974 #1: ffff8880b9c51b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:460 [inline] #1: ffff8880b9c51b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1307 [inline] #1: ffff8880b9c51b18 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1610 [inline] #1: ffff8880b9c51b18 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x233/0x26f0 kernel/sched/core.c:5852 1 lock held by systemd-udevd/5133: #0: ffff88801d9ec518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9d/0xdd0 fs/block_dev.c:1410 1 lock held by syz-executor.3/5201: #0: ffff88801d9ec518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xa0/0xae0 fs/block_dev.c:1534 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1658 Comm: khungtaskd Not tainted 5.14.0-rc6-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:105 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 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+0xd0a/0xfc0 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: 8370 Comm: in:imklog Not tainted 5.14.0-rc6-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:check_preemption_disabled+0x4c/0x140 lib/smp_processor_id.c:19 Code: 81 e3 ff ff ff 7f 31 ff 89 de 0f 1f 44 00 00 85 db 74 11 0f 1f 44 00 00 44 89 e0 5b 5d 41 5c 41 5d 41 5e c3 0f 1f 44 00 00 9c <5b> 81 e3 00 02 00 00 31 ff 48 89 de 0f 1f 44 00 00 48 85 db 74 d3 RSP: 0018:ffffc900019bf938 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff815ad74f RDX: 1ffff1100485b4c5 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff89e3b800 R08: 0000000000000000 R09: ffffffff8fcd5907 R10: fffffbfff1f9ab20 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff898bdde0 R14: ffff888032f17128 R15: 0000000000000000 FS: 00007f5b93442700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f58bca0b000 CR3: 0000000035796000 CR4: 0000000000350ef0 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:438 [inline] lock_acquire kernel/locking/lockdep.c:5627 [inline] lock_acquire+0x1bb/0x510 kernel/locking/lockdep.c:5590 __might_fault mm/memory.c:5261 [inline] __might_fault+0x106/0x180 mm/memory.c:5246 _copy_to_user+0x27/0x150 lib/usercopy.c:28 copy_to_user include/linux/uaccess.h:200 [inline] syslog_print+0x19c/0x430 kernel/printk/printk.c:1540 do_syslog.part.0+0x367/0x830 kernel/printk/printk.c:1661 do_syslog+0x49/0x60 kernel/printk/printk.c:1641 kmsg_read+0x90/0xb0 fs/proc/kmsg.c:40 pde_read fs/proc/inode.c:311 [inline] proc_reg_read+0x119/0x300 fs/proc/inode.c:321 vfs_read+0x1b5/0x570 fs/read_write.c:494 ksys_read+0x12d/0x250 fs/read_write.c:634 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:0x7f5b95a8522d Code: c1 20 00 00 75 10 b8 00 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 4e fc ff ff 48 89 04 24 b8 00 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 97 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007f5b93421580 EFLAGS: 00000293 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5b95a8522d RDX: 0000000000001fa0 RSI: 00007f5b93421da0 RDI: 0000000000000004 RBP: 0000561a300c09d0 R08: 0000000000000000 R09: 0000000000000000 R10: 2ce33e6c02ce33e7 R11: 0000000000000293 R12: 00007f5b93421da0 R13: 0000000000001fa0 R14: 0000000000001f9f R15: 00007f5b93421e00 ---------------- Code disassembly (best guess): 0: 81 e3 ff ff ff 7f and $0x7fffffff,%ebx 6: 31 ff xor %edi,%edi 8: 89 de mov %ebx,%esi a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) f: 85 db test %ebx,%ebx 11: 74 11 je 0x24 13: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 18: 44 89 e0 mov %r12d,%eax 1b: 5b pop %rbx 1c: 5d pop %rbp 1d: 41 5c pop %r12 1f: 41 5d pop %r13 21: 41 5e pop %r14 23: c3 retq 24: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 29: 9c pushfq * 2a: 5b pop %rbx <-- trapping instruction 2b: 81 e3 00 02 00 00 and $0x200,%ebx 31: 31 ff xor %edi,%edi 33: 48 89 de mov %rbx,%rsi 36: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 3b: 48 85 db test %rbx,%rbx 3e: 74 d3 je 0x13