rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 0-...!: (10500 ticks this GP) idle=08d/1/0x4000000000000000 softirq=90808/90814 fqs=0
(t=10502 jiffies g=124477 q=101)
rcu: rcu_preempt kthread starved for 10503 jiffies! g124477 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:28720 pid: 14 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4986 [inline]
__schedule+0xab2/0x4d90 kernel/sched/core.c:6296
schedule+0xd2/0x260 kernel/sched/core.c:6369
schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881
rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1963
rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2136
kthread+0x405/0x4f0 kernel/kthread.c:345
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: 30567 Comm: syz-executor.4 Not tainted 5.16.0-rc4-next-20211208-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline]
RIP: 0010:seqcount_lockdep_reader_access include/linux/seqlock.h:102 [inline]
RIP: 0010:timekeeping_get_delta kernel/time/timekeeping.c:252 [inline]
RIP: 0010:timekeeping_get_ns kernel/time/timekeeping.c:386 [inline]
RIP: 0010:ktime_get_update_offsets_now+0x10a/0x5c0 kernel/time/timekeeping.c:2300
Code: 52 0a 31 ff 89 eb 83 e3 01 89 de e8 60 e0 0f 00 85 db 75 e1 e8 37 de 0f 00 48 8b 05 40 21 52 0a 48 89 44 24 28 e8 26 de 0f 00 <9c> 5b fa 81 e3 00 02 00 00 31 ff 48 89 de e8 a3 e0 0f 00 48 85 db
RSP: 0018:ffffc90000dc0eb8 EFLAGS: 00000046
RAX: 0000000080010002 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88807a4dd7c0 RSI: ffffffff8168052a RDI: 0000000000000003
RBP: 0000000000045de4 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff81680510 R11: 0000000000000000 R12: 0000000000000046
R13: ffff8880b9d2a68c R14: 0000000000000000 R15: dffffc0000000000
FS: 00007fb077b44700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555556616708 CR3: 000000009fe5b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
hrtimer_update_base kernel/time/hrtimer.c:631 [inline]
hrtimer_interrupt+0x142/0x790 kernel/time/hrtimer.c:1793
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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 7e 28 06 f8 48 89 ef e8 c6 9e 06 f8 e8 01 81 27 f8 fb bf 01 00 00 00 56 57 f9 f7 65 8b 05 7f c4 ab 76 85 c0 74 02 5d c3 e8 cb 99 a9
RSP: 0018:ffffc9000f76f4d0 EFLAGS: 00000202
RAX: 000000000253d6d9 RBX: dffffc0000000000 RCX: 1ffffffff1ff4716
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff888010c678f0 R08: 0000000000000001 R09: ffffffff8ff9e94f
R10: 0000000000000001 R11: 0000000000000000 R12: 1ffffffff1701e30
R13: ffff88807a4dd7c0 R14: ffff888010c678f0 R15: ffffc9000fa9f830
rwsem_down_write_slowpath+0x576/0x1110 kernel/locking/rwsem.c:1118
__down_write_common kernel/locking/rwsem.c:1259 [inline]
__down_write_common kernel/locking/rwsem.c:1256 [inline]
__down_write kernel/locking/rwsem.c:1268 [inline]
down_write+0x135/0x150 kernel/locking/rwsem.c:1515
kernfs_activate+0x87/0x240 fs/kernfs/dir.c:1309
kernfs_add_one+0x3c6/0x550 fs/kernfs/dir.c:767
__kernfs_create_file+0x29c/0x350 fs/kernfs/file.c:1016
sysfs_add_file_mode_ns+0x20f/0x3f0 fs/sysfs/file.c:294
create_files fs/sysfs/group.c:64 [inline]
internal_create_group+0x322/0xb10 fs/sysfs/group.c:148
internal_create_groups.part.0+0x90/0x140 fs/sysfs/group.c:188
internal_create_groups fs/sysfs/group.c:184 [inline]
sysfs_create_groups+0x25/0x50 fs/sysfs/group.c:214
create_dir lib/kobject.c:100 [inline]
kobject_add_internal+0x583/0xa60 lib/kobject.c:255
kobject_add_varg lib/kobject.c:390 [inline]
kobject_init_and_add+0x101/0x160 lib/kobject.c:473
f2fs_register_sysfs+0xd6/0x470 fs/f2fs/sysfs.c:1188
f2fs_fill_super+0x3bcd/0x7a10 fs/f2fs/super.c:4230
mount_bdev+0x34d/0x410 fs/super.c:1370
legacy_get_tree+0x105/0x220 fs/fs_context.c:610
vfs_get_tree+0x89/0x2f0 fs/super.c:1500
do_new_mount fs/namespace.c:3010 [inline]
path_mount+0x1320/0x1fa0 fs/namespace.c:3340
do_mount fs/namespace.c:3353 [inline]
__do_sys_mount fs/namespace.c:3561 [inline]
__se_sys_mount fs/namespace.c:3538 [inline]
__x64_sys_mount+0x27f/0x300 fs/namespace.c:3538
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:0x7fb078bd002a
Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 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:00007fb077b43fa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fb078bd002a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fb077b44000
RBP: 00007fb077b44040 R08: 00007fb077b44040 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000
R13: 0000000020000100 R14: 00007fb077b44000 R15: 0000000020000840
NMI backtrace for cpu 0
CPU: 0 PID: 30584 Comm: syz-executor.2 Not tainted 5.16.0-rc4-next-20211208-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62
trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
rcu_dump_cpu_stacks+0x25e/0x3f0 kernel/rcu/tree_stall.h:343
print_cpu_stall kernel/rcu/tree_stall.h:604 [inline]
check_cpu_stall kernel/rcu/tree_stall.h:688 [inline]
rcu_pending kernel/rcu/tree.c:3919 [inline]
rcu_sched_clock_irq.cold+0x9d/0x746 kernel/rcu/tree.c:2617
update_process_times+0x16d/0x200 kernel/time/timer.c:1785
tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226
tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1428
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749
hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811
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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 7e 28 06 f8 48 89 ef e8 c6 9e 06 f8 e8 01 81 27 f8 fb bf 01 00 00 00 56 57 f9 f7 65 8b 05 7f c4 ab 76 85 c0 74 02 5d c3 e8 cb 99 a9
RSP: 0018:ffffc9000fa9f760 EFLAGS: 00000202
RAX: 00000000020f08a7 RBX: dffffc0000000000 RCX: 1ffffffff1ff4716
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff888010c678f0 R08: 0000000000000001 R09: ffffffff8ff9e94f
R10: 0000000000000001 R11: 0000000000000000 R12: 1ffffffff1701e30
R13: ffff88803925d7c0 R14: ffff888010c678f0 R15: ffffc9000fa9f830
rwsem_down_write_slowpath+0x576/0x1110 kernel/locking/rwsem.c:1118
__down_write_common kernel/locking/rwsem.c:1259 [inline]
__down_write_common kernel/locking/rwsem.c:1256 [inline]
__down_write kernel/locking/rwsem.c:1268 [inline]
down_write+0x135/0x150 kernel/locking/rwsem.c:1515
kernfs_remove_by_name_ns+0x85/0x110 fs/kernfs/dir.c:1561
sysfs_slab_add+0x13e/0x1e0 mm/slub.c:5937
__kmem_cache_create+0x4df/0x630 mm/slub.c:4900
create_cache mm/slab_common.c:257 [inline]
kmem_cache_create_usercopy+0x1da/0x2e0 mm/slab_common.c:359
kmem_cache_create+0xd/0x10 mm/slab_common.c:414
f2fs_kmem_cache_create fs/f2fs/f2fs.h:2611 [inline]
f2fs_init_xattr_caches+0x16f/0x240 fs/f2fs/xattr.c:806
f2fs_fill_super+0x2eed/0x7a10 fs/f2fs/super.c:4087
mount_bdev+0x34d/0x410 fs/super.c:1370
legacy_get_tree+0x105/0x220 fs/fs_context.c:610
vfs_get_tree+0x89/0x2f0 fs/super.c:1500
do_new_mount fs/namespace.c:3010 [inline]
path_mount+0x1320/0x1fa0 fs/namespace.c:3340
do_mount fs/namespace.c:3353 [inline]
__do_sys_mount fs/namespace.c:3561 [inline]
__se_sys_mount fs/namespace.c:3538 [inline]
__x64_sys_mount+0x27f/0x300 fs/namespace.c:3538
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:0x7ff22a42702a
Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 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:00007ff22939afa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007ff22a42702a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ff22939b000
RBP: 00007ff22939b040 R08: 00007ff22939b040 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000
R13: 0000000020000100 R14: 00007ff22939b000 R15: 0000000020000840
sched: RT throttling activated
----------------
Code disassembly (best guess):
0: 52 push %rdx
1: 0a 31 or (%rcx),%dh
3: ff 89 eb 83 e3 01 decl 0x1e383eb(%rcx)
9: 89 de mov %ebx,%esi
b: e8 60 e0 0f 00 callq 0xfe070
10: 85 db test %ebx,%ebx
12: 75 e1 jne 0xfffffff5
14: e8 37 de 0f 00 callq 0xfde50
19: 48 8b 05 40 21 52 0a mov 0xa522140(%rip),%rax # 0xa522160
20: 48 89 44 24 28 mov %rax,0x28(%rsp)
25: e8 26 de 0f 00 callq 0xfde50
* 2a: 9c pushfq <-- trapping instruction
2b: 5b pop %rbx
2c: fa cli
2d: 81 e3 00 02 00 00 and $0x200,%ebx
33: 31 ff xor %edi,%edi
35: 48 89 de mov %rbx,%rsi
38: e8 a3 e0 0f 00 callq 0xfe0e0
3d: 48 85 db test %rbx,%rbx