INFO: task syz-executor.2:14286 blocked for more than 143 seconds. Not tainted 5.16.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28328 pid:14286 ppid: 6540 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:860 blkdev_open+0x154/0x2e0 block/fops.c:501 do_dentry_open+0x4c8/0x1250 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x1cad/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1239 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:0x7f258f212af9 RSP: 002b:00007f258e167188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f258f326028 RCX: 00007f258f212af9 RDX: 0000000000149802 RSI: 0000000020001000 RDI: ffffffffffffff9c RBP: 00007f258f26cff7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc0dfe699f R14: 00007f258e167300 R15: 0000000000022000 INFO: task syz-executor.4:14278 blocked for more than 144 seconds. Not tainted 5.16.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28496 pid:14278 ppid: 10723 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:860 blkdev_open+0x154/0x2e0 block/fops.c:501 do_dentry_open+0x4c8/0x1250 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x1cad/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1239 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:0x7f436419eaf9 RSP: 002b:00007f4363114188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f43642b1f60 RCX: 00007f436419eaf9 RDX: 0000000000149802 RSI: 0000000020001000 RDI: ffffffffffffff9c RBP: 00007f43641f8ff7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc9192776f R14: 00007f4363114300 R15: 0000000000022000 INFO: task syz-executor.5:14279 blocked for more than 144 seconds. Not tainted 5.16.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28496 pid:14279 ppid: 6539 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:860 blkdev_open+0x154/0x2e0 block/fops.c:501 do_dentry_open+0x4c8/0x1250 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x1cad/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1239 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:0x7fc9eecb4af9 RSP: 002b:00007fc9edc2a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fc9eedc7f60 RCX: 00007fc9eecb4af9 RDX: 0000000000149802 RSI: 0000000020001000 RDI: ffffffffffffff9c RBP: 00007fc9eed0eff7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd5975b72f R14: 00007fc9edc2a300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6210: #0: ffff888019330ff0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:994 3 locks held by kworker/u4:7/9037: #0: ffff8880b9d39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffff8880b9d279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a6/0x490 kernel/sched/psi.c:880 #2: ffff8880b9c28298 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x60c/0xe30 kernel/time/timer.c:1043 1 lock held by syz-executor.3/14232: 2 locks held by syz-executor.1/14247: 1 lock held by syz-executor.2/14277: 1 lock held by syz-executor.2/14286: #0: ffff88801ac15118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817 1 lock held by syz-executor.4/14278: #0: ffff88801ac15118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817 1 lock held by syz-executor.5/14279: #0: ffff88801ac15118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.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:111 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+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 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: 14232 Comm: syz-executor.3 Not tainted 5.16.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:xa_is_err include/linux/xarray.h:201 [inline] RIP: 0010:xa_err include/linux/xarray.h:220 [inline] RIP: 0010:xas_error include/linux/xarray.h:1391 [inline] RIP: 0010:__filemap_add_folio+0x62d/0xe20 mm/filemap.c:955 Code: 24 04 4c 89 e7 e8 13 97 63 02 31 ff 89 c3 89 c6 e8 c8 b9 d9 ff 84 db 0f 85 2d fd ff ff e8 db b5 d9 ff 48 8b 9c 24 90 00 00 00 02 00 00 00 49 89 dc 41 83 e4 03 4c 89 e6 e8 4f b8 d9 ff 49 83 RSP: 0018:ffffc900043875b0 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffff888079a0e100 RCX: ffffc90003197000 RDX: 0000000000040000 RSI: ffffffff819df515 RDI: 0000000000000003 RBP: ffffea0000bfba00 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff819df508 R11: 0000000000000000 R12: ffffc90004387628 R13: 0000000000000001 R14: fffff9400017f740 R15: ffff888145e12048 FS: 00007f01b7cb4700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f526d022008 CR3: 00000000adf31000 CR4: 0000000000350ef0 Call Trace: filemap_add_folio+0xab/0x1d0 mm/filemap.c:999 page_cache_ra_unbounded+0x3d2/0x940 mm/readahead.c:221 do_page_cache_ra+0xf9/0x140 mm/readahead.c:268 do_sync_mmap_readahead mm/filemap.c:2996 [inline] filemap_fault+0x1562/0x26d0 mm/filemap.c:3089 __do_fault+0x10d/0x4d0 mm/memory.c:3849 do_read_fault mm/memory.c:4164 [inline] do_fault mm/memory.c:4293 [inline] handle_pte_fault mm/memory.c:4551 [inline] __handle_mm_fault+0x28e8/0x5120 mm/memory.c:4686 handle_mm_fault+0x1c8/0x790 mm/memory.c:4784 faultin_page mm/gup.c:939 [inline] __get_user_pages+0x522/0xfb0 mm/gup.c:1160 populate_vma_page_range+0x24d/0x330 mm/gup.c:1492 __mm_populate+0x1ea/0x3e0 mm/gup.c:1601 mm_populate include/linux/mm.h:2734 [inline] vm_mmap_pgoff+0x20e/0x290 mm/util.c:524 ksys_mmap_pgoff+0x40d/0x5a0 mm/mmap.c:1623 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:0x7f01b8d3eaf9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f01b7cb4188 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f01b8e51f60 RCX: 00007f01b8d3eaf9 RDX: 0000000001000002 RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f01b8d98ff7 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe2a7a61df R14: 00007f01b7cb4300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 24 04 and $0x4,%al 2: 4c 89 e7 mov %r12,%rdi 5: e8 13 97 63 02 callq 0x263971d a: 31 ff xor %edi,%edi c: 89 c3 mov %eax,%ebx e: 89 c6 mov %eax,%esi 10: e8 c8 b9 d9 ff callq 0xffd9b9dd 15: 84 db test %bl,%bl 17: 0f 85 2d fd ff ff jne 0xfffffd4a 1d: e8 db b5 d9 ff callq 0xffd9b5fd 22: 48 8b 9c 24 90 00 00 mov 0x90(%rsp),%rbx 29: 00 * 2a: bf 02 00 00 00 mov $0x2,%edi <-- trapping instruction 2f: 49 89 dc mov %rbx,%r12 32: 41 83 e4 03 and $0x3,%r12d 36: 4c 89 e6 mov %r12,%rsi 39: e8 4f b8 d9 ff callq 0xffd9b88d 3e: 49 rex.WB 3f: 83 .byte 0x83