INFO: task syz-executor.2:1789 blocked for more than 143 seconds. Not tainted 6.8.0-rc1-syzkaller-00029-g615d30064886 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:20528 pid:1789 tgid:1787 ppid:30150 flags:0x00104006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 io_schedule+0x8c/0x100 kernel/sched/core.c:9023 folio_wait_bit_common+0x881/0x12b0 mm/filemap.c:1274 folio_wait_writeback+0xe7/0x1e0 mm/page-writeback.c:3061 shrink_folio_list+0x53c6/0x89c0 mm/vmscan.c:1153 shrink_inactive_list mm/vmscan.c:1914 [inline] shrink_list mm/vmscan.c:2155 [inline] shrink_lruvec+0x16e6/0x2d40 mm/vmscan.c:5681 shrink_node_memcgs mm/vmscan.c:5867 [inline] shrink_node+0x1191/0x28e0 mm/vmscan.c:5902 shrink_zones mm/vmscan.c:6141 [inline] do_try_to_free_pages+0x717/0x19e0 mm/vmscan.c:6203 try_to_free_mem_cgroup_pages+0x455/0xa70 mm/vmscan.c:6518 try_charge_memcg+0x6d8/0x18a0 mm/memcontrol.c:2762 try_charge mm/memcontrol.c:2904 [inline] charge_memcg+0xa2/0x160 mm/memcontrol.c:7241 __mem_cgroup_charge+0x27/0x80 mm/memcontrol.c:7256 mem_cgroup_charge include/linux/memcontrol.h:690 [inline] __filemap_add_folio+0x401/0x1ad0 mm/filemap.c:855 filemap_add_folio+0x11e/0x570 mm/filemap.c:938 page_cache_ra_unbounded+0x210/0x7c0 mm/readahead.c:250 do_sync_mmap_readahead+0x444/0x850 filemap_fault+0x7c6/0x1670 mm/filemap.c:3245 __do_fault+0x131/0x450 mm/memory.c:4376 do_read_fault mm/memory.c:4738 [inline] do_fault mm/memory.c:4868 [inline] do_pte_missing mm/memory.c:3745 [inline] handle_pte_fault mm/memory.c:5144 [inline] __handle_mm_fault+0x49d7/0x72b0 mm/memory.c:5285 handle_mm_fault+0x27e/0x770 mm/memory.c:5450 do_user_addr_fault arch/x86/mm/fault.c:1364 [inline] handle_page_fault arch/x86/mm/fault.c:1507 [inline] exc_page_fault+0x456/0x870 arch/x86/mm/fault.c:1563 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7fbc52c6ec39 RSP: 002b:00007fbc5398a858 EFLAGS: 00010287 RAX: 0000000000000040 RBX: 00007fbc5398adc0 RCX: 00007fbc52d74bc0 RDX: 0000000020000040 RSI: 00007fbc52cc8062 RDI: 0000000020000040 RBP: 000000000000000b R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000000 R12: 0000000000000073 R13: 00007fbc5398af40 R14: 0000000020000040 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 1 lock held by klogd/4492: 2 locks held by getty/4804: #0: ffff888029e170a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.2/1789: #0: ffff88801b4a6540 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:857 [inline] #0: ffff88801b4a6540 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0xf1/0x7c0 mm/readahead.c:225 2 locks held by syz-executor.2/2154: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc1-syzkaller-00029-g615d30064886 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2154 Comm: syz-executor.2 Not tainted 6.8.0-rc1-syzkaller-00029-g615d30064886 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data kernel/kcov.c:236 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x17/0x80 kernel/kcov.c:311 Code: 44 0a 20 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 f3 0f 1e fa 4c 8b 04 24 65 48 8b 0d 50 c0 74 7e 65 8b 05 51 c0 74 7e 00 01 ff 00 74 10 a9 00 01 00 00 74 57 83 b9 fc 15 00 00 00 74 RSP: 0018:ffffc9000f3d5f50 EFLAGS: 00000046 RAX: 0000000080000001 RBX: ffff88801b4a6478 RCX: ffff88801fdf0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00fff00000000001 R08: ffffffff81cd85d4 R09: 1ffffd40004ac2f8 R10: dffffc0000000000 R11: fffff940004ac2f9 R12: 1ffffd40004ac2f8 R13: ffffea00025617d8 R14: ffffea00025617c8 R15: 0000000000000000 FS: 0000555556dad480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562cfbddd2d8 CR3: 00000000a6bfe000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: folio_mapping+0x204/0x560 mm/util.c:783 folio_evictable+0xc7/0x310 mm/internal.h:162 move_folios_to_lru+0x326/0x2370 mm/vmscan.c:1801 shrink_inactive_list mm/vmscan.c:1917 [inline] shrink_list mm/vmscan.c:2155 [inline] shrink_lruvec+0x16fe/0x2d40 mm/vmscan.c:5681 shrink_node_memcgs mm/vmscan.c:5867 [inline] shrink_node+0x1191/0x28e0 mm/vmscan.c:5902 shrink_zones mm/vmscan.c:6141 [inline] do_try_to_free_pages+0x717/0x19e0 mm/vmscan.c:6203 try_to_free_mem_cgroup_pages+0x455/0xa70 mm/vmscan.c:6518 try_charge_memcg+0x6d8/0x18a0 mm/memcontrol.c:2762 try_charge mm/memcontrol.c:2904 [inline] charge_memcg+0xa2/0x160 mm/memcontrol.c:7241 mem_cgroup_swapin_charge_folio+0x267/0x390 mm/memcontrol.c:7326 __read_swap_cache_async+0x480/0x8b0 mm/swap_state.c:498 swap_cluster_readahead+0x398/0x810 mm/swap_state.c:662 swapin_readahead+0x1ea/0x1070 mm/swap_state.c:886 do_swap_page+0x8ab/0x3d90 mm/memory.c:3898 handle_pte_fault mm/memory.c:5147 [inline] __handle_mm_fault+0x15e2/0x72b0 mm/memory.c:5285 handle_mm_fault+0x27e/0x770 mm/memory.c:5450 do_user_addr_fault arch/x86/mm/fault.c:1415 [inline] handle_page_fault arch/x86/mm/fault.c:1507 [inline] exc_page_fault+0x2ad/0x870 arch/x86/mm/fault.c:1563 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:rep_movs_alternative+0x4a/0x70 arch/x86/lib/copy_user_64.S:71 Code: 75 f1 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb c9 a4 c3 48 89 c8 48 c1 e9 03 83 e0 07 f3 48 a5 89 c1 85 c9 75 b3 RSP: 0018:ffffc9000f3d78b8 EFLAGS: 00050246 RAX: ffffffff8489cd01 RBX: 00007f345ffa8020 RCX: 0000000000000040 RDX: 0000000000000000 RSI: ffff88809bd6e000 RDI: 00007f345ffa8020 RBP: ffffc9000f3d7a38 R08: ffff88809bd6e03f R09: 1ffff110137adc07 R10: dffffc0000000000 R11: ffffed10137adc08 R12: 0000000000000040 R13: ffff88809bd6e000 R14: ffffc9000f3d7d78 R15: 1ffff92001e7afaf copy_user_generic arch/x86/include/asm/uaccess_64.h:112 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:133 [inline] copy_to_user_iter lib/iov_iter.c:25 [inline] iterate_ubuf include/linux/iov_iter.h:29 [inline] iterate_and_advance2 include/linux/iov_iter.h:245 [inline] iterate_and_advance include/linux/iov_iter.h:271 [inline] _copy_to_iter+0x257/0x1cf0 lib/iov_iter.c:186 copy_page_to_iter+0xb1/0x160 lib/iov_iter.c:381 pipe_read+0x59c/0x13e0 fs/pipe.c:337 call_read_iter include/linux/fs.h:2079 [inline] new_sync_read fs/read_write.c:395 [inline] vfs_read+0x96b/0xb60 fs/read_write.c:476 ksys_read+0x1a0/0x2c0 fs/read_write.c:619 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f345fe7ba4c Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 59 81 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 48 89 44 24 08 e8 af 81 02 00 48 RSP: 002b:00007ffcd3c57990 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f345fe7ba4c RDX: 0000000000000040 RSI: 00007f345ffa8020 RDI: 00000000000000f9 RBP: 00007ffcd3c57a1c R08: 0000000000000000 R09: 0079746972756365 R10: 00007f345ff7b6a0 R11: 0000000000000246 R12: 0000000000000032 R13: 000000000011a94f R14: 000000000011a911 R15: 0000000000000002