audit: type=1400 audit(1664125498.144:7): avc: denied { open } for pid=3805 comm="syz-executor.3" 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: 1 PID: 3807 at kernel/events/core.c:2233 perf_event_task_tick+0xbeb/0x1050 Modules linked in: CPU: 1 PID: 3807 Comm: syz-executor.3 Not tainted 6.0.0-rc6-next-20220923 #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 c5 3f ef ff 65 44 8b 35 89 aa ab 7e 31 ff 44 89 f6 e8 63 3c ef ff 45 85 f6 0f 84 04 01 00 00 e8 a5 3f ef ff <0f> 0b e9 60 fa ff ff e8 99 3f ef ff 65 8b 1d 5e aa ab 7e 31 ff 89 RSP: 0018:ffff88806cf09610 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff888041188000 RCX: 0000000000000100 RDX: ffff88800e889ac0 RSI: ffffffff8156cb4b RDI: 0000000000000005 RBP: ffff88800d594108 R08: 0000000000000005 R09: 0000000000000001 audit: type=1400 audit(1664125498.145:8): avc: denied { kernel } for pid=3805 comm="syz-executor.3" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=perf_event permissive=1 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888041188098 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fd2fa01d700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6928795028 CR3: 000000004012e000 CR4: 0000000000350ee0 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:stack_access_ok+0x147/0x1d0 Code: fa 48 c1 ea 03 80 3c 02 00 0f 85 8f 00 00 00 48 89 da 4c 8b 73 10 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 04 02 84 c0 <74> 04 3c 03 7e 52 8b 13 31 c0 85 d2 74 84 4c 39 ed 0f 93 c0 4c 39 RSP: 0018:ffff88806cf099c0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88806cf09a78 RCX: ffff8880411c0000 RDX: 1ffff1100d9e134f RSI: 0000000000000001 RDI: ffff88806cf09a88 RBP: ffff8880411bfd80 R08: 0000000000000000 R09: ffffffff86240f76 R10: ffff88806cf09ff8 R11: ffff88806cf09ab8 R12: 0000000000000008 R13: ffff8880411b8000 R14: ffff8880411c0000 R15: ffffffff86240f77 unwind_next_frame+0x9bc/0x20b0 arch_stack_walk+0x83/0xf0 stack_trace_save+0x8c/0xc0 kasan_save_stack+0x1e/0x40 kasan_set_track+0x21/0x30 kasan_save_free_info+0x2a/0x50 __kasan_slab_free+0x106/0x190 kmem_cache_free+0xf7/0x610 rcu_core+0x7e2/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:__sanitizer_cov_trace_switch+0x12/0x90 Code: 89 fe bf 07 00 00 00 e9 7c fe ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 41 56 41 55 41 54 49 89 fc 55 48 89 f5 53 48 8b 46 08 <48> 83 f8 20 74 6b 77 48 48 83 f8 08 74 5b 48 83 f8 10 75 2f 41 bd RSP: 0018:ffff8880411bfe30 EFLAGS: 00000212 RAX: 0000000000000020 RBX: 1ffff11008237fd1 RCX: ffffc900007cb000 RDX: 0000000000040000 RSI: ffffffff84898320 RDI: 0000000000000001 RBP: ffffffff84898320 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000081 R14: 00007fd2fcbbaf6c R15: 000000000000000e __x64_sys_futex+0x180/0x4d0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd2fcaa7b19 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:00007fd2fa01d218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007fd2fcbbaf68 RCX: 00007fd2fcaa7b19 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fd2fcbbaf6c RBP: 00007fd2fcbbaf60 R08: 000000000000000e R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 00007fd2fcbbaf6c R13: 00007ffe47296c5f R14: 00007fd2fa01d300 R15: 0000000000022000 irq event stamp: 1191 hardirqs last enabled at (1190): [] asm_sysvec_apic_timer_interrupt+0x16/0x20 hardirqs last disabled at (1191): [] sysvec_apic_timer_interrupt+0xb/0xc0 softirqs last enabled at (236): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (605): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ====================================================== ---------------- Code disassembly (best guess): 0: fa cli 1: 48 c1 ea 03 shr $0x3,%rdx 5: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 9: 0f 85 8f 00 00 00 jne 0x9e f: 48 89 da mov %rbx,%rdx 12: 4c 8b 73 10 mov 0x10(%rbx),%r14 16: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1d: fc ff df 20: 48 c1 ea 03 shr $0x3,%rdx 24: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax 28: 84 c0 test %al,%al * 2a: 74 04 je 0x30 <-- trapping instruction 2c: 3c 03 cmp $0x3,%al 2e: 7e 52 jle 0x82 30: 8b 13 mov (%rbx),%edx 32: 31 c0 xor %eax,%eax 34: 85 d2 test %edx,%edx 36: 74 84 je 0xffffffbc 38: 4c 39 ed cmp %r13,%rbp 3b: 0f 93 c0 setae %al 3e: 4c rex.WR 3f: 39 .byte 0x39