rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6616/1:b..l (detected by 0, t=10502 jiffies, g=36537, q=100) task:syz-executor.2 state:R running task stack:24352 pid: 6616 ppid: 6613 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6419 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35 __raw_read_unlock include/linux/rwlock_api_smp.h:225 [inline] _raw_read_unlock+0x36/0x40 kernel/locking/spinlock.c:260 zap_pid_ns_processes+0x271/0x660 kernel/pid_namespace.c:207 find_child_reaper kernel/exit.c:548 [inline] forget_original_parent kernel/exit.c:637 [inline] exit_notify kernel/exit.c:674 [inline] do_exit+0x243d/0x2b40 kernel/exit.c:852 do_group_exit+0x125/0x310 kernel/exit.c:929 __do_sys_exit_group kernel/exit.c:940 [inline] __se_sys_exit_group kernel/exit.c:938 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:938 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:0x7f9568c20e99 RSP: 002b:00007ffd260e6328 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007ffd260e64d0 RCX: 00007f9568c20e99 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000043 RBP: 0000000000000000 R08: 0000000000000025 R09: 00007ffd260e64d0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9568c7afc2 R13: 000000000000001c R14: 0000000000000014 R15: 00007ffd260e6510 rcu: rcu_preempt kthread starved for 10498 jiffies! g36537 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:28944 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1955 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2128 kthread+0x405/0x4f0 kernel/kthread.c:327 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8285 Comm: syz-executor.1 Not tainted 5.16.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:199 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3713 [inline] RIP: 0010:validate_chain kernel/locking/lockdep.c:3769 [inline] RIP: 0010:__lock_acquire+0x161b/0x54a0 kernel/locking/lockdep.c:5027 Code: ff ff c7 44 24 60 ff ff ff ff c7 44 24 40 ff ff ff ff e9 07 f4 ff ff 41 0f b7 5c 24 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 <48> 89 d8 48 c1 f8 06 48 8d 3c c5 00 ba f7 8f e8 d1 83 61 00 48 0f RSP: 0018:ffffc90000fd8c58 EFLAGS: 00000006 RAX: 0000000000040000 RBX: 0000000000000042 RCX: b20fbda6538c2b94 RDX: 1ffff1100a559d97 RSI: 0000000000000008 RDI: ffffffff8ff7efe0 RBP: ffff888052acecba R08: 0000000000000000 R09: ffffffff8ff7ba0f R10: fffffbfff1fef741 R11: 0000000000000000 R12: ffff888052acec98 R13: ffff888052ace1c0 R14: 0000000000000001 R15: b20fbda6538c2b94 FS: 00007fdd4bbd7700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3083b000 CR3: 0000000073712000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 seqcount_lockdep_reader_access include/linux/seqlock.h:103 [inline] timekeeping_get_delta kernel/time/timekeeping.c:252 [inline] timekeeping_get_ns kernel/time/timekeeping.c:386 [inline] ktime_get+0x147/0x470 kernel/time/timekeeping.c:829 clockevents_program_event+0x141/0x370 kernel/time/clockevents.c:326 tick_program_event+0xac/0x140 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x36e/0x790 kernel/time/hrtimer.c:1824 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__preempt_count_add arch/x86/include/asm/preempt.h:80 [inline] RIP: 0010:rcu_is_watching+0x2/0xb0 kernel/rcu/tree.c:1120 Code: 00 e9 2c ff ff ff 66 90 48 c7 c7 80 5c ad 89 e8 84 2c e3 07 65 8a 05 29 76 a1 7e 0f be c0 c3 66 0f 1f 84 00 00 00 00 00 55 53 <65> ff 05 17 3b a0 7e e8 42 2c e3 07 48 c7 c3 d0 aa 03 00 83 f8 07 RSP: 0018:ffffc90002e77350 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffc90002e77420 RCX: ffffc9000fc32000 RDX: 0000000000040000 RSI: ffffffff84028c30 RDI: 0000000000000003 RBP: 0000000000000006 R08: 0000000000000001 R09: 000000000000000c R10: ffffffff84028a86 R11: 000000000000003f R12: ffff88804dce6c00 R13: ffff88802ebeb8c2 R14: 0000000000000000 R15: 000000000000000c rcu_read_lock_held_common kernel/rcu/update.c:108 [inline] rcu_read_lock_held+0x18/0x40 kernel/rcu/update.c:309 xa_entry include/linux/xarray.h:1182 [inline] xas_descend+0x2a5/0x3b0 lib/xarray.c:204 xas_load+0xe5/0x140 lib/xarray.c:240 xa_load+0xee/0x280 lib/xarray.c:1456 page_cache_ra_unbounded+0x338/0x940 mm/readahead.c:199 do_page_cache_ra mm/readahead.c:268 [inline] ondemand_readahead+0x594/0x1090 mm/readahead.c:551 page_cache_async_ra mm/readahead.c:608 [inline] page_cache_async_ra+0x2e1/0x3f0 mm/readahead.c:583 page_cache_async_readahead include/linux/pagemap.h:1052 [inline] filemap_readahead mm/filemap.c:2531 [inline] filemap_get_pages+0x6f1/0x1be0 mm/filemap.c:2572 filemap_read+0x315/0xeb0 mm/filemap.c:2642 generic_file_read_iter+0x3b6/0x5a0 mm/filemap.c:2792 ext4_file_read_iter+0x1d4/0x5d0 fs/ext4/file.c:130 call_read_iter include/linux/fs.h:2156 [inline] generic_file_splice_read+0x453/0x6d0 fs/splice.c:311 do_splice_to+0x1bf/0x250 fs/splice.c:796 splice_direct_to_actor+0x2c2/0x8c0 fs/splice.c:870 do_splice_direct+0x1b3/0x280 fs/splice.c:979 do_sendfile+0xaf2/0x1250 fs/read_write.c:1245 __do_sys_sendfile64 fs/read_write.c:1310 [inline] __se_sys_sendfile64 fs/read_write.c:1296 [inline] __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296 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:0x7fdd4d261e99 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:00007fdd4bbd7168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fdd4d374f60 RCX: 00007fdd4d261e99 RDX: 0000000000000000 RSI: 0000000000000010 RDI: 0000000000000005 RBP: 00007fdd4d2bbff1 R08: 0000000000000000 R09: 0000000000000000 R10: 00008400fffffffa R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffea9025e1f R14: 00007fdd4bbd7300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: c7 44 24 60 ff ff ff movl $0xffffffff,0x60(%rsp) 7: ff 8: c7 44 24 40 ff ff ff movl $0xffffffff,0x40(%rsp) f: ff 10: e9 07 f4 ff ff jmpq 0xfffff41c 15: 41 0f b7 5c 24 20 movzwl 0x20(%r12),%ebx 1b: 66 81 e3 ff 1f and $0x1fff,%bx 20: 0f b7 db movzwl %bx,%ebx 23: be 08 00 00 00 mov $0x8,%esi * 28: 48 89 d8 mov %rbx,%rax <-- trapping instruction 2b: 48 c1 f8 06 sar $0x6,%rax 2f: 48 8d 3c c5 00 ba f7 lea -0x70084600(,%rax,8),%rdi 36: 8f 37: e8 d1 83 61 00 callq 0x61840d 3c: 48 rex.W 3d: 0f .byte 0xf