INFO: task kcompactd0:30 blocked for more than 143 seconds. Not tainted 5.19.0-syzkaller-02972-g200e340f2196 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kcompactd0 state:D stack:28184 pid: 30 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5178 [inline] __schedule+0xa00/0x4c10 kernel/sched/core.c:6490 schedule+0xda/0x1b0 kernel/sched/core.c:6566 io_schedule+0xba/0x130 kernel/sched/core.c:8710 folio_wait_bit_common+0x4f2/0xa90 mm/filemap.c:1304 lock_page include/linux/pagemap.h:962 [inline] __unmap_and_move mm/migrate.c:994 [inline] unmap_and_move mm/migrate.c:1152 [inline] migrate_pages+0x9a8/0x5cb0 mm/migrate.c:1431 compact_zone+0x1ad3/0x3760 mm/compaction.c:2413 kcompactd_do_work+0x2c9/0x730 mm/compaction.c:2851 kcompactd+0x86b/0xf30 mm/compaction.c:2953 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8bd86870 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8bd86570 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/27: #0: ffffffff8bd873c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6492 2 locks held by getty/3277: #0: ffff888025faf098 (&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:9/6118: #0: ffff8880b9a39f58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:544 #1: ffffc9000c15fda8 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 2 locks held by syz-executor.2/26269: 1 lock held by syz-executor.0/26351: 1 lock held by syz-executor.2/26398: 1 lock held by syz-executor.3/26423: 1 lock held by syz-executor.3/26584: 1 lock held by syz-executor.3/26755: 1 lock held by syz-executor.0/26837: 1 lock held by syz-executor.3/26860: 2 locks held by syz-executor.3/26989: 1 lock held by syz-executor.0/27019: 1 lock held by syz-executor.3/27085: 1 lock held by syz-executor.3/27223: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.19.0-syzkaller-02972-g200e340f2196 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 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:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 26269 Comm: syz-executor.2 Not tainted 5.19.0-syzkaller-02972-g200e340f2196 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:match_held_lock+0x8/0xc0 kernel/locking/lockdep.c:5112 Code: 89 e8 72 b7 bb ff 48 c7 c7 00 8a cc 89 e8 66 b7 bb ff e8 86 00 cc ff 31 c0 5d c3 0f 1f 80 00 00 00 00 53 48 89 fb 48 83 ec 08 <48> 39 77 10 74 6a 66 f7 47 22 f0 ff 74 5a 48 8b 46 08 48 89 f7 48 RSP: 0018:ffffc9000cd37550 EFLAGS: 00000086 RAX: 0000000000000000 RBX: ffff8880261462f8 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8bd873c0 RDI: ffff8880261462f8 RBP: ffffffff8bd873c0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888026145880 R13: ffff8880261462f8 R14: 00000000ffffffff R15: ffff8880261462f8 FS: 00007fed59329700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005607cf586fb0 CR3: 0000000039c5e000 CR4: 0000000000350ef0 Call Trace: __lock_is_held kernel/locking/lockdep.c:5407 [inline] lock_is_held_type+0xa7/0x140 kernel/locking/lockdep.c:5709 xa_head include/linux/xarray.h:1182 [inline] xas_start+0x220/0x730 lib/xarray.c:188 xas_load+0x28/0x140 lib/xarray.c:235 xa_load+0xf7/0x290 lib/xarray.c:1463 page_cache_ra_unbounded+0x25f/0x550 mm/readahead.c:225 do_page_cache_ra mm/readahead.c:293 [inline] page_cache_ra_order+0x69a/0x970 mm/readahead.c:550 ondemand_readahead+0x7c5/0x1150 mm/readahead.c:672 page_cache_async_ra mm/readahead.c:721 [inline] page_cache_async_ra+0x113/0x140 mm/readahead.c:703 do_async_mmap_readahead mm/filemap.c:3062 [inline] filemap_fault+0x994/0x2650 mm/filemap.c:3116 __do_fault+0x10d/0x650 mm/memory.c:4165 do_read_fault mm/memory.c:4514 [inline] do_fault mm/memory.c:4643 [inline] handle_pte_fault mm/memory.c:4907 [inline] __handle_mm_fault+0x2767/0x40b0 mm/memory.c:5046 handle_mm_fault+0x1c8/0x790 mm/memory.c:5144 faultin_page mm/gup.c:955 [inline] __get_user_pages+0x50c/0xfa0 mm/gup.c:1176 populate_vma_page_range+0x23d/0x320 mm/gup.c:1520 __mm_populate+0x1ea/0x3e0 mm/gup.c:1633 mm_populate include/linux/mm.h:2710 [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+0x63/0xcd RIP: 0033:0x7fed58289279 Code: Unable to access opcode bytes at RIP 0x7fed5828924f. RSP: 002b:00007fed59329168 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fed5839c050 RCX: 00007fed58289279 RDX: 0000000001000006 RSI: 0000000000b34900 RDI: 0000000020000000 RBP: 00007fed582e3189 R08: 000000000000000a R09: 0000000000000000 R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff333c749f R14: 00007fed59329300 R15: 0000000000022000