rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 1-...!: (0 ticks this GP) idle=2f7/1/0x4000000000000000 softirq=82545/82545 fqs=0
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P10011/1:b..l
(detected by 0, t=10502 jiffies, g=150153, q=25)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 29332 Comm: syz-executor.5 Not tainted 5.15.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__kasan_check_read+0x4/0x10 mm/kasan/shadow.c:31
Code: 37 07 48 85 db 0f 85 df 7b 38 07 48 83 c4 60 5b 5d 41 5c 41 5d c3 c3 e9 df 7c 38 07 cc cc cc cc cc cc cc cc cc cc 48 8b 0c 24 <89> f6 31 d2 e9 43 f9 ff ff 0f 1f 00 48 8b 0c 24 89 f6 ba 01 00 00
RSP: 0018:ffffc90000fd8b08 EFLAGS: 00000002
RAX: 0000000000000001 RBX: 0000000000000058 RCX: ffffffff815a277d
RDX: 0000000000000058 RSI: 0000000000000008 RDI: ffffffff8fd00928
RBP: 0000000000000002 R08: dffffc0000000000 R09: ffffffff8fd00927
R10: fffffbfff1fa0124 R11: 0000000000000000 R12: 0000000000000001
R13: ffff88807bf08100 R14: ffff88807bf08af8 R15: dffffc0000000000
FS: 00007f6e503cf700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30521000 CR3: 000000004915a000 CR4: 00000000003506e0
Call Trace:
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
hlock_class kernel/locking/lockdep.c:199 [inline]
check_wait_context kernel/locking/lockdep.c:4713 [inline]
__lock_acquire+0x6ed/0x54a0 kernel/locking/lockdep.c:4965
lock_acquire kernel/locking/lockdep.c:5625 [inline]
lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162
debug_object_deactivate lib/debugobjects.c:735 [inline]
debug_object_deactivate+0x101/0x300 lib/debugobjects.c:723
debug_hrtimer_deactivate kernel/time/hrtimer.c:425 [inline]
debug_deactivate kernel/time/hrtimer.c:481 [inline]
__run_hrtimer kernel/time/hrtimer.c:1653 [inline]
__hrtimer_run_queues+0x3f8/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:__preempt_count_add arch/x86/include/asm/preempt.h:80 [inline]
RIP: 0010:rcu_is_watching+0x2/0xc0 kernel/rcu/tree.c:1120
Code: ff ff e8 11 17 5b 00 e9 e6 fd ff ff 4c 89 ff e8 04 17 5b 00 e9 1a ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 53 <65> ff 05 87 0a a1 7e e8 72 58 d4 07 48 c7 c3 88 2a 03 00 83 f8 07
RSP: 0018:ffffc9001721f818 EFLAGS: 00000202
RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff815a8191
RDX: fffffbfff1adc3cb RSI: 0000000000000008 RDI: ffffffff8d6e1e50
RBP: 1ffff92002e43f0a R08: 0000000000000000 R09: ffffffff8d6e1e57
R10: fffffbfff1adc3ca R11: 00000000000007ca R12: 0000000000000001
R13: 0000000020008140 R14: dffffc0000000000 R15: 0000000020008140
rcu_read_lock_held_common kernel/rcu/update.c:108 [inline]
rcu_read_lock_sched_held+0x1c/0x70 kernel/rcu/update.c:123
trace_lock_release include/trace/events/lock.h:58 [inline]
lock_release+0x522/0x720 kernel/locking/lockdep.c:5636
__might_fault mm/memory.c:5262 [inline]
__might_fault+0x144/0x180 mm/memory.c:5247
_copy_from_user+0x27/0x180 lib/usercopy.c:13
copy_from_user include/linux/uaccess.h:192 [inline]
__copy_msghdr_from_user+0x91/0x4b0 net/socket.c:2291
copy_msghdr_from_user net/socket.c:2342 [inline]
sendmsg_copy_msghdr+0xa1/0x160 net/socket.c:2440
___sys_sendmsg+0xc6/0x170 net/socket.c:2459
__sys_sendmmsg+0x195/0x470 net/socket.c:2549
__do_sys_sendmmsg net/socket.c:2578 [inline]
__se_sys_sendmmsg net/socket.c:2575 [inline]
__x64_sys_sendmmsg+0x99/0x100 net/socket.c:2575
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:0x7f6e52e58709
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:00007f6e503cf188 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f6e52f5cf60 RCX: 00007f6e52e58709
RDX: 0000000000000500 RSI: 0000000020008000 RDI: 0000000000000005
RBP: 00007f6e52eb2cb4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd9ad3eddf R14: 00007f6e503cf300 R15: 0000000000022000
task:syz-executor.2 state:R running task stack:24072 pid:10011 ppid: 10007 flags:0x00000000
Call Trace:
context_switch kernel/sched/core.c:4940 [inline]
__schedule+0x940/0x26f0 kernel/sched/core.c:6287
preempt_schedule_notrace+0x5b/0xd0 kernel/sched/core.c:6538
preempt_schedule_notrace_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:36
rcu_lockdep_current_cpu_online kernel/rcu/tree.c:1173 [inline]
rcu_lockdep_current_cpu_online+0x10d/0x150 kernel/rcu/tree.c:1160
rcu_read_lock_held_common kernel/rcu/update.c:112 [inline]
rcu_read_lock_held_common kernel/rcu/update.c:102 [inline]
rcu_read_lock_held+0x21/0x40 kernel/rcu/update.c:309
netlbl_domhsh_hash+0x104/0x190 net/netlabel/netlabel_domainhash.c:116
netlbl_domhsh_search+0x2b/0x290 net/netlabel/netlabel_domainhash.c:145
netlbl_domhsh_search_def net/netlabel/netlabel_domainhash.c:177 [inline]
netlbl_domhsh_getentry+0x32/0x70 net/netlabel/netlabel_domainhash.c:861
netlbl_sock_setattr+0x8d/0x350 net/netlabel/netlabel_kapi.c:983
selinux_netlbl_socket_post_create+0x92/0x160 security/selinux/netlabel.c:401
selinux_socket_post_create+0x4de/0x7c0 security/selinux/hooks.c:4713
security_socket_post_create+0x64/0xc0 security/security.c:2174
__sock_create+0x64a/0x790 net/socket.c:1480
sock_create net/socket.c:1515 [inline]
__sys_socket+0xef/0x200 net/socket.c:1557
__do_sys_socket net/socket.c:1566 [inline]
__se_sys_socket net/socket.c:1564 [inline]
__x64_sys_socket+0x6f/0xb0 net/socket.c:1564
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:0x7f93931f0d77
RSP: 002b:00007fff339a15e8 EFLAGS: 00000206 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 00007fff339a1d50 RCX: 00007f93931f0d77
RDX: 0000000000000006 RSI: 0000000000000001 RDI: 0000000000000002
RBP: 00000000ffffffff R08: 0000000000000000 R09: 00007fff339a1b60
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000032
R13: 0000000000000000 R14: 0000000000000004 R15: 00007fff339a1d90
rcu: rcu_preempt kthread starved for 10502 jiffies! g150153 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:28760 pid: 14 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4940 [inline]
__schedule+0x940/0x26f0 kernel/sched/core.c:6287
schedule+0xd3/0x270 kernel/sched/core.c:6366
schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881
rcu_gp_fqs_loop+0x186/0x800 kernel/rcu/tree.c:1957
rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2130
kthread+0x3e5/0x4d0 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:
NMI backtrace for cpu 0
CPU: 0 PID: 29333 Comm: syz-executor.4 Not tainted 5.15.0-rc3-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_check_gp_kthread_starvation.cold+0x1fb/0x200 kernel/rcu/tree_stall.h:481
print_other_cpu_stall kernel/rcu/tree_stall.h:586 [inline]
check_cpu_stall kernel/rcu/tree_stall.h:729 [inline]
rcu_pending kernel/rcu/tree.c:3880 [inline]
rcu_sched_clock_irq+0x2125/0x2200 kernel/rcu/tree.c:2599
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+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:__sanitizer_cov_trace_pc+0x4c/0x60 kernel/kcov.c:202
Code: 0e 85 c9 74 35 8b 82 3c 15 00 00 85 c0 74 2b 8b 82 18 15 00 00 83 f8 02 75 20 48 8b 8a 20 15 00 00 8b 92 1c 15 00 00 48 8b 01 <48> 83 c0 01 48 39 c2 76 07 48 89 34 c1 48 89 01 c3 0f 1f 00 41 55
RSP: 0018:ffffc90016ec7808 EFLAGS: 00000246
RAX: 000000000003ffff RBX: ffff8880b9d37180 RCX: ffffc90002fd9000
RDX: 0000000000040000 RSI: ffffffff8169e860 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff8169e886 R11: 0000000000000000 R12: ffffed10173a6e31
R13: 0000000000000001 R14: ffff8880b9d37188 R15: 0000000000000001
rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline]
cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline]
csd_lock_wait kernel/smp.c:440 [inline]
smp_call_function_many_cond+0x450/0xc20 kernel/smp.c:969
on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1135
on_each_cpu include/linux/smp.h:71 [inline]
flush_tlb_kernel_range+0x80/0xb0 arch/x86/mm/tlb.c:1060
__purge_vmap_area_lazy+0x8f9/0x1c50 mm/vmalloc.c:1704
_vm_unmap_aliases.part.0+0x3f0/0x500 mm/vmalloc.c:2107
_vm_unmap_aliases mm/vmalloc.c:2081 [inline]
vm_unmap_aliases+0x47/0x50 mm/vmalloc.c:2130
change_page_attr_set_clr+0x241/0x500 arch/x86/mm/pat/set_memory.c:1740
change_page_attr_clear arch/x86/mm/pat/set_memory.c:1797 [inline]
set_memory_ro+0x78/0xa0 arch/x86/mm/pat/set_memory.c:1943
bpf_prog_lock_ro include/linux/filter.h:882 [inline]
bpf_prog_select_runtime+0x68a/0x830 kernel/bpf/core.c:1927
bpf_migrate_filter+0x2dc/0x380 net/core/filter.c:1295
bpf_prepare_filter net/core/filter.c:1343 [inline]
bpf_prog_create_from_user+0x51b/0x660 net/core/filter.c:1437
seccomp_prepare_filter kernel/seccomp.c:666 [inline]
seccomp_prepare_user_filter kernel/seccomp.c:703 [inline]
seccomp_set_mode_filter kernel/seccomp.c:1824 [inline]
do_seccomp+0x388/0x2890 kernel/seccomp.c:1944
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:0x7fcbb2fad709
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:00007fcbb0524188 EFLAGS: 00000246 ORIG_RAX: 000000000000013d
RAX: ffffffffffffffda RBX: 00007fcbb30b1f60 RCX: 00007fcbb2fad709
RDX: 0000000020000040 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 00007fcbb3007cb4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdd357524f R14: 00007fcbb0524300 R15: 0000000000022000
----------------
Code disassembly (best guess), 2 bytes skipped:
0: 48 85 db test %rbx,%rbx
3: 0f 85 df 7b 38 07 jne 0x7387be8
9: 48 83 c4 60 add $0x60,%rsp
d: 5b pop %rbx
e: 5d pop %rbp
f: 41 5c pop %r12
11: 41 5d pop %r13
13: c3 retq
14: c3 retq
15: e9 df 7c 38 07 jmpq 0x7387cf9
1a: cc int3
1b: cc int3
1c: cc int3
1d: cc int3
1e: cc int3
1f: cc int3
20: cc int3
21: cc int3
22: cc int3
23: cc int3
24: 48 8b 0c 24 mov (%rsp),%rcx
* 28: 89 f6 mov %esi,%esi <-- trapping instruction
2a: 31 d2 xor %edx,%edx
2c: e9 43 f9 ff ff jmpq 0xfffff974
31: 0f 1f 00 nopl (%rax)
34: 48 8b 0c 24 mov (%rsp),%rcx
38: 89 f6 mov %esi,%esi
3a: ba .byte 0xba
3b: 01 00 add %eax,(%rax)