rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 0-...!: (1 GPs behind) idle=777/1/0x4000000000000000 softirq=181345/181347 fqs=21
(t=10501 jiffies g=353593 q=387)
rcu: rcu_preempt kthread starved for 10458 jiffies! g353593 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:28472 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: 22753 Comm: syz-executor.5 Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x27/0x60 kernel/kcov.c:200
Code: c0 c3 90 65 8b 05 99 4e 8b 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 40 70 02 00 a9 00 01 ff 00 74 0e 85 c9 74 35 <8b> 82 a4 15 00 00 85 c0 74 2b 8b 82 80 15 00 00 83 f8 02 75 20 48
RSP: 0018:ffffc90000fd8568 EFLAGS: 00000006
RAX: 0000000000010102 RBX: ffffc90000fd8660 RCX: 0000000000000100
RDX: ffff88817c25e240 RSI: ffffffff8198b92e RDI: 0000000000000003
RBP: ffffc90000fd87c0 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff8198b882 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880ae7e46a0 R14: 0000000000000000 R15: ffffc90000fd8660
FS: 00007f95d776f700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f95d776f718 CR3: 000000016af3e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
perf_prepare_sample+0x28e/0x1e50 kernel/events/core.c:7325
__perf_event_output kernel/events/core.c:7487 [inline]
perf_event_output_forward+0xda/0x280 kernel/events/core.c:7507
__perf_event_overflow+0x13c/0x3d0 kernel/events/core.c:9207
perf_swevent_hrtimer+0x37c/0x3f0 kernel/events/core.c:10597
__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+0x40/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_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:194
Code: 74 24 10 e8 9a 1f 07 f8 48 89 ef e8 e2 95 07 f8 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 f3 5f fa f7 65 8b 05 5c 5f ad 76 85 c0 74 0a 5b 5d c3 e8 f0 54
RSP: 0018:ffffc90000fd8c08 EFLAGS: 00000206
RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1ff9e56
RDX: 0000000000000000 RSI: 0000000000000102 RDI: 0000000000000001
RBP: ffff8880b9d28280 R08: 0000000000000001 R09: ffffffff8ff79ae7
R10: 0000000000000001 R11: 0000000000000000 R12: 000000010003241b
R13: ffff8880b9d28280 R14: 0000000000000000 R15: 00000000ffffffff
__mod_timer+0x837/0xe30 kernel/time/timer.c:1065
call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421
expire_timers kernel/time/timer.c:1466 [inline]
__run_timers.part.0+0x675/0xa20 kernel/time/timer.c:1734
__run_timers kernel/time/timer.c:1715 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:636
irq_exit_rcu+0x5/0x20 kernel/softirq.c:648
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:unwind_next_frame+0x13b0/0x1ce0 arch/x86/kernel/unwind_orc.c:600
Code: 02 48 b9 00 00 00 00 00 fc ff df 49 8d 56 40 48 89 f8 48 c1 e8 03 0f b6 34 08 49 8d 40 03 49 89 c1 49 c1 e9 03 41 0f b6 0c 09 <49> 89 f9 41 83 e1 07 44 38 ce 41 0f 9e c1 40 84 f6 40 0f 95 c6 41
RSP: 0018:ffffc900147474f8 EFLAGS: 00000a02
RAX: ffffffff8e0b2313 RBX: 1ffff920028e8ea7 RCX: 0000000000000000
RDX: ffffc90014747660 RSI: 0000000000000000 RDI: ffffffff8e0b2312
RBP: 0000000000000001 R08: ffffffff8e0b2310 R09: 1ffffffff1c16462
R10: fffff520028e8ecf R11: 000000000008808a R12: ffffc900147476b8
R13: ffffc90014747655 R14: ffffc90014747620 R15: ffffffff8e0b2314
__unwind_start+0x51b/0x800 arch/x86/kernel/unwind_orc.c:712
unwind_start arch/x86/include/asm/unwind.h:64 [inline]
arch_stack_walk+0x5c/0xe0 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x1e/0x50 mm/kasan/common.c:38
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
__kasan_slab_alloc+0x85/0xb0 mm/kasan/common.c:467
kasan_slab_alloc include/linux/kasan.h:259 [inline]
slab_post_alloc_hook mm/slab.h:519 [inline]
slab_alloc_node mm/slab.c:3261 [inline]
kmem_cache_alloc_node+0x2ea/0x590 mm/slab.c:3599
__alloc_skb+0x215/0x340 net/core/skbuff.c:414
alloc_skb include/linux/skbuff.h:1126 [inline]
netlink_alloc_large_skb net/netlink/af_netlink.c:1191 [inline]
netlink_sendmsg+0x967/0xda0 net/netlink/af_netlink.c:1891
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:724
____sys_sendmsg+0x6e8/0x810 net/socket.c:2409
___sys_sendmsg+0xf3/0x170 net/socket.c:2463
__sys_sendmsg+0xe5/0x1b0 net/socket.c:2492
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:0x7f95da23bae9
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:00007f95d776f188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f95da34f0e0 RCX: 00007f95da23bae9
RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000006
RBP: 00007f95da295f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffec4b3ab6f R14: 00007f95d776f300 R15: 0000000000022000
NMI backtrace for cpu 0
CPU: 0 PID: 22707 Comm: syz-executor.5 Not tainted 5.16.0-rc1-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:105
nmi_trigger_cpumask_backtrace+0x1ae/0x220 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:627 [inline]
check_cpu_stall kernel/rcu/tree_stall.h:711 [inline]
rcu_pending kernel/rcu/tree.c:3878 [inline]
rcu_sched_clock_irq.cold+0x9d/0x746 kernel/rcu/tree.c:2597
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:1421
__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+0x40/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 de 1f 07 f8 48 89 ef e8 26 96 07 f8 e8 61 55 28 f8 fb bf 01 00 00 00 46 60 fa f7 65 8b 05 af 5f ad 76 85 c0 74 02 5d c3 e8 cb 34 ab
RSP: 0018:ffffc90000007e08 EFLAGS: 00000202
RAX: 00000000008db326 RBX: ffffffff87556140 RCX: 1ffffffff1ff5ce6
RDX: 0000000000000000 RSI: 0000000000000101 RDI: 0000000000000001
RBP: ffff8880b9c28280 R08: 0000000000000001 R09: ffffffff8ff79a8f
R10: 0000000000000001 R11: 0000000000000000 R12: ffffc90000007ea0
R13: 0000000000000000 R14: dffffc0000000000 R15: ffff8880b9c28280
expire_timers kernel/time/timer.c:1465 [inline]
__run_timers.part.0+0x665/0xa20 kernel/time/timer.c:1734
__run_timers kernel/time/timer.c:1715 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:636
irq_exit_rcu+0x5/0x20 kernel/softirq.c:648
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:tomoyo_check_acl+0xb0/0x450 security/tomoyo/domain.c:173
Code: 03 00 00 49 8b 5d 00 49 39 dd 0f 84 fa 01 00 00 e8 15 38 ce fd 48 8d 7b 18 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 0f b6 04 28 <38> d0 7f 08 84 c0 0f 85 f7 02 00 00 44 0f b6 73 18 31 ff 44 89 f6
RSP: 0018:ffffc90014577be0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff88801cfea080 RCX: ffffc90014f89000
RDX: 0000000000000000 RSI: ffffffff83a8e94b RDI: ffff88801cfea098
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff83a8e9d1 R11: 0000000000000002 R12: ffffc90014577d10
R13: ffff8880245e1810 R14: 0000000000000002 R15: 0000000000000000
tomoyo_path_permission security/tomoyo/file.c:586 [inline]
tomoyo_path_permission+0x1ff/0x3a0 security/tomoyo/file.c:573
tomoyo_path_perm+0x2f0/0x400 security/tomoyo/file.c:838
security_path_truncate+0xcf/0x140 security/security.c:1200
do_sys_ftruncate+0x390/0x740 fs/open.c:190
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:0x7f95da23baa7
Code: 48 89 e7 e8 cb e5 ff ff 48 8b 4c 24 18 64 48 2b 0c 25 28 00 00 00 75 05 48 83 c4 28 c3 e8 21 1a 00 00 90 b8 4d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007f95d77b0f48 EFLAGS: 00000217 ORIG_RAX: 000000000000004d
RAX: ffffffffffffffda RBX: 0000000020001500 RCX: 00007f95da23baa7
RDX: 000000000001c000 RSI: 000000000001c000 RDI: 0000000000000005
RBP: 0000000000000003 R08: 000000000000e000 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000217 R12: 0000000000000005
R13: 0000000000000005 R14: 000000000001c000 R15: 0000000020000680
----------------
Code disassembly (best guess):
0: c0 c3 90 rol $0x90,%bl
3: 65 8b 05 99 4e 8b 7e mov %gs:0x7e8b4e99(%rip),%eax # 0x7e8b4ea3
a: 89 c1 mov %eax,%ecx
c: 48 8b 34 24 mov (%rsp),%rsi
10: 81 e1 00 01 00 00 and $0x100,%ecx
16: 65 48 8b 14 25 40 70 mov %gs:0x27040,%rdx
1d: 02 00
1f: a9 00 01 ff 00 test $0xff0100,%eax
24: 74 0e je 0x34
26: 85 c9 test %ecx,%ecx
28: 74 35 je 0x5f
* 2a: 8b 82 a4 15 00 00 mov 0x15a4(%rdx),%eax <-- trapping instruction
30: 85 c0 test %eax,%eax
32: 74 2b je 0x5f
34: 8b 82 80 15 00 00 mov 0x1580(%rdx),%eax
3a: 83 f8 02 cmp $0x2,%eax
3d: 75 20 jne 0x5f
3f: 48 rex.W