INFO: task syz-executor.4:7934 blocked for more than 143 seconds. Not tainted 5.19.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29368 pid: 7934 ppid: 3637 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 rwsem_down_write_slowpath+0x68a/0x11a0 kernel/locking/rwsem.c:1172 __down_write_common kernel/locking/rwsem.c:1287 [inline] __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1296 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1543 filemap_invalidate_lock include/linux/fs.h:786 [inline] blkdev_fallocate+0x1e2/0x410 block/fops.c:637 vfs_fallocate+0x487/0xe00 fs/open.c:323 madvise_remove mm/madvise.c:976 [inline] madvise_vma_behavior+0x9b9/0x1d50 mm/madvise.c:1000 madvise_walk_vmas+0x1d5/0x2d0 mm/madvise.c:1232 do_madvise mm/madvise.c:1410 [inline] do_madvise+0x2d4/0x3c0 mm/madvise.c:1368 __do_sys_madvise mm/madvise.c:1423 [inline] __se_sys_madvise mm/madvise.c:1421 [inline] __x64_sys_madvise+0xa6/0x110 mm/madvise.c:1421 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+0x46/0xb0 RIP: 0033:0x7f8ab6e89109 RSP: 002b:00007f8ab7f92168 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f8ab6f9c030 RCX: 00007f8ab6e89109 RDX: 0000000000000009 RSI: 0000000000600003 RDI: 0000000020000000 RBP: 00007f8ab6ee30ad R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcdd50c14f R14: 00007f8ab7f92300 R15: 0000000000022000 INFO: task syz-executor.2:7945 blocked for more than 143 seconds. Not tainted 5.19.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28408 pid: 7945 ppid: 3638 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 rwsem_down_write_slowpath+0x68a/0x11a0 kernel/locking/rwsem.c:1172 __down_write_common kernel/locking/rwsem.c:1287 [inline] __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1296 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1543 filemap_invalidate_lock include/linux/fs.h:786 [inline] blkdev_fallocate+0x1e2/0x410 block/fops.c:637 vfs_fallocate+0x487/0xe00 fs/open.c:323 madvise_remove mm/madvise.c:976 [inline] madvise_vma_behavior+0x9b9/0x1d50 mm/madvise.c:1000 madvise_walk_vmas+0x1d5/0x2d0 mm/madvise.c:1232 do_madvise mm/madvise.c:1410 [inline] do_madvise+0x2d4/0x3c0 mm/madvise.c:1368 __do_sys_madvise mm/madvise.c:1423 [inline] __se_sys_madvise mm/madvise.c:1421 [inline] __x64_sys_madvise+0xa6/0x110 mm/madvise.c:1421 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+0x46/0xb0 RIP: 0033:0x7fbb52289109 RSP: 002b:00007fbb534a8168 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007fbb5239bf60 RCX: 00007fbb52289109 RDX: 0000000000000009 RSI: 0000000000600003 RDI: 0000000020000000 RBP: 00007fbb522e30ad R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffa4dab71f R14: 00007fbb534a8300 R15: 0000000000022000 INFO: task syz-executor.2:7946 blocked for more than 144 seconds. Not tainted 5.19.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28688 pid: 7946 ppid: 3638 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 rwsem_down_read_slowpath+0x5b9/0xb00 kernel/locking/rwsem.c:1077 __down_read_common kernel/locking/rwsem.c:1242 [inline] __down_read kernel/locking/rwsem.c:1251 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1491 filemap_invalidate_lock_shared include/linux/fs.h:796 [inline] filemap_fault+0xba1/0x24e0 mm/filemap.c:3131 __do_fault+0x10d/0x650 mm/memory.c:4165 do_read_fault mm/memory.c:4511 [inline] do_fault mm/memory.c:4640 [inline] handle_pte_fault mm/memory.c:4903 [inline] __handle_mm_fault+0x2739/0x3f50 mm/memory.c:5042 handle_mm_fault+0x1c8/0x790 mm/memory.c:5140 faultin_page mm/gup.c:953 [inline] __get_user_pages+0x50c/0xfa0 mm/gup.c:1174 populate_vma_page_range+0x23d/0x320 mm/gup.c:1518 __mm_populate+0x1ea/0x3e0 mm/gup.c:1631 mm_populate include/linux/mm.h:2706 [inline] vm_mmap_pgoff+0x20e/0x290 mm/util.c:557 ksys_mmap_pgoff+0x40d/0x5a0 mm/mmap.c:1633 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+0x46/0xb0 RIP: 0033:0x7fbb52289109 RSP: 002b:00007fbb53487168 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fbb5239c030 RCX: 00007fbb52289109 RDX: 0000000001000006 RSI: 0000000000b34900 RDI: 0000000020000000 RBP: 00007fbb522e30ad R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffa4dab71f R14: 00007fbb53487300 R15: 0000000000022000 INFO: task syz-executor.1:7954 blocked for more than 144 seconds. Not tainted 5.19.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29368 pid: 7954 ppid: 3635 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 rwsem_down_write_slowpath+0x68a/0x11a0 kernel/locking/rwsem.c:1172 __down_write_common kernel/locking/rwsem.c:1287 [inline] __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1296 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1543 filemap_invalidate_lock include/linux/fs.h:786 [inline] blkdev_fallocate+0x1e2/0x410 block/fops.c:637 vfs_fallocate+0x487/0xe00 fs/open.c:323 madvise_remove mm/madvise.c:976 [inline] madvise_vma_behavior+0x9b9/0x1d50 mm/madvise.c:1000 madvise_walk_vmas+0x1d5/0x2d0 mm/madvise.c:1232 do_madvise mm/madvise.c:1410 [inline] do_madvise+0x2d4/0x3c0 mm/madvise.c:1368 __do_sys_madvise mm/madvise.c:1423 [inline] __se_sys_madvise mm/madvise.c:1421 [inline] __x64_sys_madvise+0xa6/0x110 mm/madvise.c:1421 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+0x46/0xb0 RIP: 0033:0x7f8e1e089109 RSP: 002b:00007f8e1f2a1168 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f8e1e19c030 RCX: 00007f8e1e089109 RDX: 0000000000000009 RSI: 0000000000600003 RDI: 0000000020000000 RBP: 00007f8e1e0e30ad R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcdc25c6bf R14: 00007f8e1f2a1300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8bd867e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 2 locks held by getty/3291: #0: ffff88814ae58098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d232e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2124 2 locks held by kworker/u4:7/12260: #0: ffff8880b9b39f18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:544 #1: ffff8880b9b277c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3e7/0x4e0 kernel/sched/psi.c:889 1 lock held by syz-executor.4/7933: 1 lock held by syz-executor.4/7934: #0: ffff88801b2d29c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:786 [inline] #0: ffff88801b2d29c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e2/0x410 block/fops.c:637 1 lock held by syz-executor.2/7945: #0: ffff88801b2d29c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:786 [inline] #0: ffff88801b2d29c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e2/0x410 block/fops.c:637 2 locks held by syz-executor.2/7946: #0: ffff88802509d528 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff88802509d528 (&mm->mmap_lock#2){++++}-{3:3}, at: __mm_populate+0x264/0x3e0 mm/gup.c:1611 #1: ffff88801b2d29c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:796 [inline] #1: ffff88801b2d29c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_fault+0xba1/0x24e0 mm/filemap.c:3131 1 lock held by syz-executor.1/7954: #0: ffff88801b2d29c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:786 [inline] #0: ffff88801b2d29c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e2/0x410 block/fops.c:637 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc2-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+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xc22/0xf90 kernel/hung_task.c:378 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7933 Comm: syz-executor.4 Not tainted 5.19.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x4/0x20 kernel/kcov.c:303 Code: 00 00 00 00 00 90 48 8b 0c 24 89 f2 89 fe bf 05 00 00 00 e9 9e fe ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 8b 0c 24 <48> 89 f2 48 89 fe bf 07 00 00 00 e9 7c fe ff ff 66 66 2e 0f 1f 84 RSP: 0018:ffffc900032eea68 EFLAGS: 00000046 RAX: 1ffffd400041fa71 RBX: ffffea00020fd388 RCX: ffffffff81a86149 RDX: ffff88802b048000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: 0000000000000004 R09: 0000000000000004 R10: 0000000000000001 R11: 0000000000000001 R12: ffffea00020fd380 R13: 0000000000000001 R14: ffff88802554e020 R15: 0000000000000000 FS: 00007f8ab7fb3700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00e7f6a08 CR3: 000000001c6cc000 CR4: 0000000000350ef0 Call Trace: _compound_head include/linux/page-flags.h:274 [inline] PageLRU include/linux/page-flags.h:500 [inline] isolate_lru_pages+0x949/0x19d0 mm/vmscan.c:2117 shrink_inactive_list mm/vmscan.c:2371 [inline] shrink_list mm/vmscan.c:2616 [inline] shrink_lruvec+0xb62/0x2620 mm/vmscan.c:2933 shrink_node_memcgs mm/vmscan.c:3122 [inline] shrink_node+0x84a/0x1db0 mm/vmscan.c:3245 shrink_zones mm/vmscan.c:3482 [inline] do_try_to_free_pages+0x3b5/0x1700 mm/vmscan.c:3540 try_to_free_mem_cgroup_pages+0x323/0x920 mm/vmscan.c:3854 reclaim_high.constprop.0+0x182/0x230 mm/memcontrol.c:2333 mem_cgroup_handle_over_high+0x18c/0x510 mm/memcontrol.c:2517 try_charge_memcg+0xe14/0x1380 mm/memcontrol.c:2746 try_charge mm/memcontrol.c:2757 [inline] charge_memcg+0x31/0x320 mm/memcontrol.c:6720 __mem_cgroup_charge+0x27/0x90 mm/memcontrol.c:6741 mem_cgroup_charge include/linux/memcontrol.h:689 [inline] __filemap_add_folio+0x573/0x1660 mm/filemap.c:857 filemap_add_folio+0xab/0x1d0 mm/filemap.c:959 page_cache_ra_unbounded+0x1d3/0x550 mm/readahead.c:245 do_page_cache_ra mm/readahead.c:293 [inline] page_cache_ra_order+0x680/0x940 mm/readahead.c:548 do_sync_mmap_readahead mm/filemap.c:3047 [inline] filemap_fault+0x1605/0x24e0 mm/filemap.c:3139 __do_fault+0x10d/0x650 mm/memory.c:4165 do_read_fault mm/memory.c:4511 [inline] do_fault mm/memory.c:4640 [inline] handle_pte_fault mm/memory.c:4903 [inline] __handle_mm_fault+0x2739/0x3f50 mm/memory.c:5042 handle_mm_fault+0x1c8/0x790 mm/memory.c:5140 faultin_page mm/gup.c:953 [inline] __get_user_pages+0x50c/0xfa0 mm/gup.c:1174 populate_vma_page_range+0x23d/0x320 mm/gup.c:1518 __mm_populate+0x1ea/0x3e0 mm/gup.c:1631 mm_populate include/linux/mm.h:2706 [inline] vm_mmap_pgoff+0x20e/0x290 mm/util.c:557 ksys_mmap_pgoff+0x40d/0x5a0 mm/mmap.c:1633 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+0x46/0xb0 RIP: 0033:0x7f8ab6e89109 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8ab7fb3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f8ab6f9bf60 RCX: 00007f8ab6e89109 RDX: 0000000001000006 RSI: 0000000000b34900 RDI: 0000000020000000 RBP: 00007f8ab6ee30ad R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcdd50c14f R14: 00007f8ab7fb3300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 00 90 48 8b 0c 24 add %dl,0x240c8b48(%rax) a: 89 f2 mov %esi,%edx c: 89 fe mov %edi,%esi e: bf 05 00 00 00 mov $0x5,%edi 13: e9 9e fe ff ff jmpq 0xfffffeb6 18: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 1f: 00 00 00 00 23: 0f 1f 00 nopl (%rax) 26: 48 8b 0c 24 mov (%rsp),%rcx * 2a: 48 89 f2 mov %rsi,%rdx <-- trapping instruction 2d: 48 89 fe mov %rdi,%rsi 30: bf 07 00 00 00 mov $0x7,%edi 35: e9 7c fe ff ff jmpq 0xfffffeb6 3a: 66 data16 3b: 66 data16 3c: 2e cs 3d: 0f .byte 0xf 3e: 1f (bad) 3f: 84 .byte 0x84