rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): (detected by 1, t=10503 jiffies, g=6105, q=267) rcu: All QSes seen, last rcu_preempt kthread activity 10504 (4294952894-4294942390), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10505 jiffies! g6105 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:29184 pid: 13 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0xae7/0x5170 kernel/sched/core.c:5940 schedule+0xe0/0x280 kernel/sched/core.c:6019 schedule_timeout+0x133/0x270 kernel/time/timer.c:1892 rcu_gp_fqs_loop kernel/rcu/tree.c:2004 [inline] rcu_gp_kthread+0xd0a/0x22f0 kernel/rcu/tree.c:2177 kthread+0x395/0x470 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 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: 7080 Comm: syz-executor.2 Not tainted 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:hrtimer_get_expires include/linux/hrtimer.h:278 [inline] RIP: 0010:__hrtimer_next_event_base+0x90/0x2b0 kernel/time/hrtimer.c:524 Code: e8 03 42 80 3c 38 00 0f 85 c2 01 00 00 48 8b 41 58 49 39 c0 0f 84 e5 00 00 00 48 8d 78 18 48 89 f9 48 c1 e9 03 42 80 3c 39 00 <0f> 85 75 01 00 00 48 89 df 48 8b 48 18 48 c1 e7 07 49 8d bc 3d e8 RSP: 0018:ffffc90000007eb8 EFLAGS: 00000046 RAX: ffff88810e482f08 RBX: 0000000000000000 RCX: 1ffff11021c905e4 RDX: ffff8881f66272e8 RSI: 7fffffffffffffff RDI: ffff88810e482f20 RBP: ffffc90000007f08 R08: 0000000000000000 R09: ffff8881f6627350 R10: fffffbfff1501c9a R11: 0000000000000000 R12: ffffed103ecc4e5d R13: ffff8881f6627280 R14: 0000000000000002 R15: dffffc0000000000 FS: 00007f7008979700(0000) GS:ffff8881f6600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000505214 CR3: 0000000114279001 CR4: 00000000001706f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __hrtimer_get_next_event kernel/time/hrtimer.c:587 [inline] hrtimer_update_next_event kernel/time/hrtimer.c:612 [inline] hrtimer_interrupt+0x66f/0x950 kernel/time/hrtimer.c:1666 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0x143/0x530 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x98/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:kasan_save_stack+0x46/0x50 mm/kasan/common.c:41 Code: 00 00 e8 9d 5b b3 ff 48 8d bd f8 fd ff ff 89 c6 e8 8f 35 dd 01 48 8d bd f8 fd ff ff 44 89 e2 89 c6 e8 be 36 dd 01 4c 8b 65 f8 c3 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 56 49 89 d6 41 55 41 RSP: 0018:ffffc90003fff5d8 EFLAGS: 00000286 RAX: 0000000099000176 RBX: ffff888118819d20 RCX: 0000000000000000 RDX: 0000000000042693 RSI: ffffffff87c00068 RDI: 0000000000000000 RBP: ffffc90003fff7e0 R08: ffff8881f5213498 R09: 0000000000000001 R10: ffff88810f306c38 R11: 0000000000000000 R12: ffff888118819d00 R13: 0000000000000cc0 R14: 0000000000000020 R15: 0000000000000020 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc mm/kasan/common.c:513 [inline] __kasan_kmalloc+0x81/0xa0 mm/kasan/common.c:522 kasan_kmalloc include/linux/kasan.h:263 [inline] kmem_cache_alloc_trace+0x210/0x440 mm/slab.c:3575 kmalloc include/linux/slab.h:591 [inline] tty_alloc_file drivers/tty/tty_io.c:187 [inline] tty_open+0x14a/0xf60 drivers/tty/tty_io.c:2144 chrdev_open+0x237/0x6a0 fs/char_dev.c:414 do_dentry_open+0x42d/0xf90 fs/open.c:826 vfs_open+0x9a/0xc0 fs/open.c:940 do_open fs/namei.c:3361 [inline] path_openat+0xa73/0x25d0 fs/namei.c:3494 do_filp_open+0x193/0x3d0 fs/namei.c:3521 do_sys_openat2+0x120/0x3d0 fs/open.c:1195 do_sys_open fs/open.c:1211 [inline] __do_sys_openat fs/open.c:1227 [inline] __se_sys_openat fs/open.c:1222 [inline] __x64_sys_openat+0x124/0x200 fs/open.c:1222 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+0x44/0xae RIP: 0033:0x462209 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f70089791a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 0000000000462209 RDX: 0000000000000000 RSI: 0000000020000380 RDI: ffffffffffffff9c RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f8a08 R14: 00000000004b41d5 R15: 00007f70089796bc