rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P12426/1:b..l P12442/1:b..l rcu: (detected by 0, t=10502 jiffies, g=64297, q=353 ncpus=2) task:sed state:R running task stack:27552 pid:12442 tgid:12442 ppid:12439 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7067 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:135 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0xd4/0x1a0 mm/kasan/generic.c:189 Code: 83 38 00 74 ed 48 8d 50 08 eb 0d 48 83 c0 01 48 39 c2 0f 84 8d 00 00 00 80 38 00 74 ee 48 89 c2 b8 01 00 00 00 48 85 d2 74 1e <41> 83 e2 07 49 39 d1 75 0a 45 3a 11 b8 01 00 00 00 7c 0b 44 89 c2 RSP: 0018:ffffc9000331f948 EFLAGS: 00000286 RAX: 0000000000000001 RBX: fffffbfff29daef1 RCX: ffffffff8ad56de6 RDX: fffffbfff29daef0 RSI: 0000000000000004 RDI: ffffffff94ed7780 RBP: fffffbfff29daef0 R08: 0000000000000001 R09: fffffbfff29daef0 R10: ffffffff94ed7783 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88806864eca0 R14: 0000558d21ba8000 R15: ffff88802ec20c00 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_inc include/linux/atomic/atomic-instrumented.h:435 [inline] mt_validate+0x496/0x4390 lib/maple_tree.c:7585 validate_mm+0x9c/0x4b0 mm/mmap.c:288 mmap_region+0x13c0/0x2760 mm/mmap.c:3000 do_mmap+0xbc7/0xf60 mm/mmap.c:1397 vm_mmap_pgoff+0x1ba/0x360 mm/util.c:573 ksys_mmap_pgoff+0x332/0x5d0 mm/mmap.c:1443 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:79 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:79 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe3f15a3b74 RSP: 002b:00007ffc9ed78d88 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ffc9ed78e38 RCX: 00007fe3f15a3b74 RDX: 0000000000000003 RSI: 0000000000004000 RDI: 00007fe3f157c000 RBP: 00007ffc9ed790f0 R08: 0000000000000003 R09: 00000000000be000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007fe3f15800c0 R13: 00007ffc9ed79178 R14: 00000000000be138 R15: 0000000000000000 task:syz.4.1698 state:R running task stack:27584 pid:12426 tgid:12417 ppid:11514 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 preempt_schedule_common+0x44/0xc0 kernel/sched/core.c:6924 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] wp_page_copy mm/memory.c:3386 [inline] do_wp_page+0x1554/0x3340 mm/memory.c:3677 handle_pte_fault mm/memory.c:5396 [inline] __handle_mm_fault+0x2311/0x5410 mm/memory.c:5523 handle_mm_fault+0x476/0xa00 mm/memory.c:5688 do_user_addr_fault+0x2e5/0xe50 arch/x86/mm/fault.c:1389 handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:__put_user_nocheck_4+0x7/0x20 arch/x86/lib/putuser.S:97 Code: d9 0f 01 cb 89 01 31 c9 0f 01 ca c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 01 cb <89> 01 31 c9 0f 01 ca c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 RSP: 0000:ffffc900039af9d8 EFLAGS: 00050246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000002002b030 RDX: 0000000000040000 RSI: ffffffff88b891ca RDI: 0000000000000005 RBP: ffffc900039afd98 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000000 R13: 000000002002b000 R14: ffffc900039afddc R15: 0000000000000002 ____sys_recvmsg+0x2f5/0x6b0 net/socket.c:2817 ___sys_recvmsg+0x115/0x1a0 net/socket.c:2846 do_recvmmsg+0x2ba/0x750 net/socket.c:2940 __sys_recvmmsg net/socket.c:3019 [inline] __do_sys_recvmmsg net/socket.c:3042 [inline] __se_sys_recvmmsg net/socket.c:3035 [inline] __x64_sys_recvmmsg+0x239/0x290 net/socket.c:3035 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1e74d75ae9 RSP: 002b:00007f1e75b95048 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f1e74f04070 RCX: 00007f1e74d75ae9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000004 RBP: 00007f1e74df6756 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f1e74f04070 R15: 00007ffcc07fa878 rcu: rcu_preempt kthread starved for 10373 jiffies! g64297 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 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:27680 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2000 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2202 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:86 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt+0x1a/0x20 drivers/acpi/processor_idle.c:112