audit: type=1400 audit(1664678541.773:8): avc: denied { kernel } for pid=3786 comm="syz-executor.5" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=perf_event permissive=1
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3788 at kernel/events/core.c:2233 perf_event_task_tick+0xbeb/0x1050
Modules linked in:
CPU: 0 PID: 3788 Comm: syz-executor.5 Not tainted 6.0.0-rc7-next-20220930 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
RIP: 0010:perf_event_task_tick+0xbeb/0x1050
Code: e9 34 fd ff ff e8 05 33 ef ff 65 44 8b 35 89 9c ab 7e 31 ff 44 89 f6 e8 a3 2f ef ff 45 85 f6 0f 84 04 01 00 00 e8 e5 32 ef ff <0f> 0b e9 60 fa ff ff e8 d9 32 ef ff 65 8b 1d 5e 9c ab 7e 31 ff 89
RSP: 0018:ffff88806ce09a70 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffff8880086605c8 RCX: 0000000000000100
RDX: ffff88801b4d3580 RSI: ffffffff8156d94b RDI: 0000000000000005
RBP: ffff88800d3bf508 R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000001 R12: ffff888008660660
R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000
FS: 00007f2fc2756700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007feaf842a570 CR3: 000000001bdbe000 CR4: 0000000000350ef0
Call Trace:
scheduler_tick+0x17e/0x350
update_process_times+0x138/0x190
tick_sched_handle+0x9b/0x180
tick_sched_timer+0xf2/0x120
__hrtimer_run_queues+0x184/0xb50
hrtimer_interrupt+0x315/0x770
__sysvec_apic_timer_interrupt+0x144/0x500
sysvec_apic_timer_interrupt+0x3b/0xc0
asm_sysvec_apic_timer_interrupt+0x16/0x20
RIP: 0010:_raw_spin_unlock_irqrestore+0x2e/0x60
Code: 48 83 c7 18 53 48 89 f3 48 8b 74 24 10 e8 4a de 02 fd 48 89 ef e8 b2 53 03 fd 80 e7 02 74 06 e8 88 a6 25 fd fb bf 01 00 00 00 fd f7 f8 fc 65 8b 05 86 30 db 7b 85 c0 74 07 5b 5d e9 3b fd 38
RSP: 0018:ffff88806ce09e28 EFLAGS: 00000206
RAX: 0000000000000212 RBX: 0000000000000246 RCX: ffffffff81297e8f
RDX: 0000000000000000 RSI: 0000000000000102 RDI: 0000000000000001
RBP: ffffffff85411e00 R08: 0000000000000001 R09: ffffffff86cd3817
R10: fffffbfff0d9a702 R11: 0000000000000001 R12: ffff88806ce38c58
R13: ffffffff85411e00 R14: ffffffff85411e40 R15: 0000000000000000
rcu_report_qs_rsp+0x6c/0x160
rcu_core+0x1b70/0x2080
__do_softirq+0x1c3/0x8f5
__irq_exit_rcu+0x11b/0x180
irq_exit_rcu+0x5/0x20
sysvec_apic_timer_interrupt+0x8e/0xc0
asm_sysvec_apic_timer_interrupt+0x16/0x20
RIP: 0010:kasan_check_range+0x13/0x1c0
Code: 5d 41 5c e9 3f c5 e7 02 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 85 f6 0f 84 73 01 00 00 48 89 f8 41 54 44 0f b6 c2 55 <53> 48 01 f0 72 14 eb 2c 0f 1f 00 48 ba ff ff ff ff ff ff ff fe 48
RSP: 0018:ffff888040ad7c10 EFLAGS: 00000202
RAX: ffffffff85b06ed0 RBX: 0000000000000000 RCX: ffffffff81288f78
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff85b06ed0
RBP: ffff88801b4d3580 R08: 0000000000000000 R09: ffff888040ad7cdf
R10: ffffed100815af9b R11: 0000000000000001 R12: ffff88801b4d3580
R13: ffff88801b4d3580 R14: ffff88801b4d4840 R15: dffffc0000000000
trace_contention_end+0x28/0x140
__mutex_lock+0x227/0x14d0
__do_sys_perf_event_open+0x1eec/0x32c0
do_syscall_64+0x3b/0x90
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f2fc51e0b19
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:00007f2fc2756188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007f2fc52f3f60 RCX: 00007f2fc51e0b19
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020000280
RBP: 00007f2fc523af6d R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc014af87f R14: 00007f2fc2756300 R15: 0000000000022000
irq event stamp: 915
hardirqs last enabled at (914): [] asm_sysvec_apic_timer_interrupt+0x16/0x20
hardirqs last disabled at (915): [] sysvec_apic_timer_interrupt+0xb/0xc0
softirqs last enabled at (0): [] copy_process+0x1e15/0x6e20
softirqs last disabled at (525): [] __irq_exit_rcu+0x11b/0x180
---[ end trace 0000000000000000 ]---
hrtimer: interrupt took 60258738 ns
======================================================
----------------
Code disassembly (best guess):
0: 48 83 c7 18 add $0x18,%rdi
4: 53 push %rbx
5: 48 89 f3 mov %rsi,%rbx
8: 48 8b 74 24 10 mov 0x10(%rsp),%rsi
d: e8 4a de 02 fd callq 0xfd02de5c
12: 48 89 ef mov %rbp,%rdi
15: e8 b2 53 03 fd callq 0xfd0353cc
1a: 80 e7 02 and $0x2,%bh
1d: 74 06 je 0x25
1f: e8 88 a6 25 fd callq 0xfd25a6ac
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 fd f7 f8 fc callq 0xfcf8f82c <-- trapping instruction
2f: 65 8b 05 86 30 db 7b mov %gs:0x7bdb3086(%rip),%eax # 0x7bdb30bc
36: 85 c0 test %eax,%eax
38: 74 07 je 0x41
3a: 5b pop %rbx
3b: 5d pop %rbp
3c: e9 .byte 0xe9
3d: 3b fd cmp %ebp,%edi
3f: 38 .byte 0x38