rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-....: (10042 ticks this GP) idle=197/1/0x4000000000000000 softirq=82209/82211 fqs=230 (t=10502 jiffies g=111553 q=1516) rcu: rcu_preempt kthread starved for 247 jiffies! g111553 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:R running task stack:26712 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 21937 Comm: syz.4.6482 Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:check_kcov_mode kernel/kcov.c:172 [inline] RIP: 0010:write_comp_data kernel/kcov.c:227 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x13/0x80 kernel/kcov.c:300 Code: 44 0a 10 48 89 74 0a 18 4c 89 44 0a 20 49 ff c1 4c 89 09 c3 0f 1f 00 4c 8b 04 24 65 48 8b 0d 34 0a 82 7e 65 8b 05 35 0a 82 7e <25> 00 01 ff 00 74 10 3d 00 01 00 00 75 57 83 b9 34 16 00 00 00 74 RSP: 0018:ffffc90000007878 EFLAGS: 00000046 RAX: 0000000000010001 RBX: 0000000000000000 RCX: ffff888018eb0000 RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000007970 R08: ffffffff81a157fd R09: fffffbfff1f8e219 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000007b80 R13: 1ffff92000000f44 R14: ffffc90000007a24 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd027c44d8 CR3: 0000000045ea5000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: perf_prepare_sample+0x6dd/0x1d00 kernel/events/core.c:7630 __perf_event_output kernel/events/core.c:7767 [inline] perf_event_output_forward+0x199/0x310 kernel/events/core.c:7787 __perf_event_overflow+0x35d/0x530 kernel/events/core.c:9480 perf_swevent_hrtimer+0x3fd/0x560 kernel/events/core.c:10876 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:PageHuge+0x0/0x130 mm/hugetlb.c:1741 Code: e8 05 ed f1 ff 0f 0b e8 ce 9c bb ff 4c 89 e7 48 c7 c6 c0 49 95 8a e8 ef ec f1 ff 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 <41> 57 41 56 41 54 53 49 89 fe 49 bf 00 00 00 00 00 fc ff df e8 97 RSP: 0018:ffffc90002f773c0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888018eb0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea0001d0b2c0 RBP: 0000000000000000 R08: ffffffff81bd4f52 R09: fffff940003a1659 R10: 0000000000000000 R11: dffffc0000000001 R12: 00007f4ce1b13000 R13: ffffea0001d0b2c8 R14: ffffea0001d0b2c8 R15: ffffea0001d0b2c0 page_remove_file_rmap mm/rmap.c:1260 [inline] page_remove_rmap+0x57f/0x11e0 mm/rmap.c:1354 zap_pte_range mm/memory.c:1373 [inline] zap_pmd_range mm/memory.c:1494 [inline] zap_pud_range mm/memory.c:1523 [inline] zap_p4d_range mm/memory.c:1544 [inline] unmap_page_range+0xffa/0x2630 mm/memory.c:1565 unmap_vmas+0x1f8/0x390 mm/memory.c:1642 exit_mmap+0x3b6/0x670 mm/mmap.c:3186 __mmput+0x112/0x3b0 kernel/fork.c:1126 exit_mm+0x688/0x7f0 kernel/exit.c:550 do_exit+0x626/0x2480 kernel/exit.c:861 do_group_exit+0x144/0x310 kernel/exit.c:996 get_signal+0xc66/0x14e0 kernel/signal.c:2897 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f4ce226fe79 Code: Unable to access opcode bytes at RIP 0x7f4ce226fe4f. RSP: 002b:00007f4ce06ec038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: fffffffffffffe00 RBX: 00007f4ce240bf80 RCX: 00007f4ce226fe79 RDX: 0000000020000011 RSI: 0000000020000fc0 RDI: 000000000000000a RBP: 00007f4ce22dd916 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4ce240bf80 R15: 00007ffce5d22f18 NMI backtrace for cpu 1 CPU: 1 PID: 22070 Comm: syz.1.6520 Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_dump_cpu_stacks+0x223/0x390 kernel/rcu/tree_stall.h:349 print_cpu_stall+0x320/0x600 kernel/rcu/tree_stall.h:633 check_cpu_stall kernel/rcu/tree_stall.h:727 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0x8d9/0x1150 kernel/rcu/tree.c:2619 update_process_times+0x196/0x200 kernel/time/timer.c:1818 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:kasan_quarantine_put+0x84/0x220 mm/kasan/quarantine.c:234 Code: e8 11 b0 bc ff 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 0f 85 83 00 00 00 41 f7 c7 00 02 00 00 74 01 fb 31 c0 <48> 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f c3 48 8d 80 00 62 03 00 45 RSP: 0000:ffffc90000dd0a00 EFLAGS: 00000206 RAX: 4095da882dd6f401 RBX: ffff888046cae600 RCX: ffffffff91468f03 RDX: dffffc0000000000 RSI: ffffffff8a8b2a20 RDI: ffffffff8ad8f7c0 RBP: ffffc90000dd0aa0 R08: ffffffff8186e260 R09: fffffbfff1bd2a56 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000dd0a98 R13: ffff888012a9c000 R14: 00000000000bc6d0 R15: 0000000000000286 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kmem_cache_free+0x91/0x1f0 mm/slub.c:3515 bvec_free block/bio.c:162 [inline] bio_free+0xc5/0x1a0 block/bio.c:231 ext4_end_bio+0x315/0x5b0 req_bio_endio block/blk-core.c:261 [inline] blk_update_request+0x87c/0x1470 block/blk-core.c:1441 scsi_end_request+0x83/0x980 drivers/scsi/scsi_lib.c:544 scsi_io_completion+0x1fa/0x540 drivers/scsi/scsi_lib.c:940 blk_complete_reqs block/blk-mq.c:587 [inline] blk_done_softirq+0xf2/0x130 block/blk-mq.c:592 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:rcu_lock_acquire+0x0/0x30 include/linux/rcupdate.h:311 Code: 8a e8 64 19 e7 ff 0f 0b 48 ff cb 48 89 df 48 c7 c6 60 ff 95 8a e8 50 19 e7 ff 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <48> c7 c7 e0 fb 91 8c 31 f6 31 d2 b9 02 00 00 00 45 31 c0 45 31 c9 RSP: 0000:ffffc90003287c00 EFLAGS: 00000283 RAX: 0000000000000001 RBX: ffff88801d5eef80 RCX: ffffc90003287b03 RDX: 0000000000000000 RSI: ffffffff8a8b3cc0 RDI: ffff88801d5eef80 RBP: 1ffff1100432c6b5 R08: dffffc0000000000 R09: fffffbfff1bd2a56 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801ae7ac20 R13: dffffc0000000000 R14: 1ffff110035cf584 R15: ffff8880219635a8 rcu_read_lock include/linux/rcupdate.h:739 [inline] percpu_ref_put_many include/linux/percpu-refcount.h:317 [inline] percpu_ref_put+0x16/0x150 include/linux/percpu-refcount.h:338 memcg_kmem_uncharge_page include/linux/memcontrol.h:1703 [inline] free_thread_stack+0x96/0x430 kernel/fork.c:282 release_task_stack kernel/fork.c:432 [inline] put_task_stack+0x97/0x140 kernel/fork.c:443 finish_task_switch+0x276/0x630 kernel/sched/core.c:4939 context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12cc/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 exit_to_user_mode_loop+0x44/0x130 kernel/entry/common.c:169 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:320 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0033:0x7fdce5538e81 Code: 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 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f RSP: 002b:00007fdce39b5038 EFLAGS: 00000217 RAX: 0000000000000000 RBX: 00007fdce56d4f80 RCX: 00007fdce5538e79 RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000003 RBP: 00007fdce55a6916 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdce56d4f80 R15: 00007ffea84a5318