audit: type=1400 audit(1664416560.382:8): avc: denied { kernel } for pid=3817 comm="syz-executor.2" 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: 3819 at kernel/events/core.c:2233 perf_event_task_tick+0xbeb/0x1050 Modules linked in: CPU: 0 PID: 3819 Comm: syz-executor.2 Not tainted 6.0.0-rc7-next-20220928 #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 45 2e ef ff 65 44 8b 35 59 97 ab 7e 31 ff 44 89 f6 e8 e3 2a ef ff 45 85 f6 0f 84 04 01 00 00 e8 25 2e ef ff <0f> 0b e9 60 fa ff ff e8 19 2e ef ff 65 8b 1d 2e 97 ab 7e 31 ff 89 RSP: 0018:ffff88806ce09560 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff888008660000 RCX: 0000000000000100 RDX: ffff88803d7c0000 RSI: ffffffff8156de7b RDI: 0000000000000005 RBP: ffff88800fac4d08 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888008660098 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f0bd8fb5700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1140ba1f40 CR3: 000000000e9a2000 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:lock_acquire+0x1db/0x530 Code: 02 b8 ff ff ff ff 65 0f c1 05 81 52 d8 7e 83 f8 01 0f 85 c8 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffff88806ce09918 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff1100d9c1325 RCX: 000000004fdec990 RDX: 1ffff11007af812e RSI: 0000000000000101 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff86cd37c7 R10: fffffbfff0d9a6f8 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff85407360 R15: 0000000000000000 __is_insn_slot_addr+0x3d/0x250 kernel_text_address+0x44/0xb0 __kernel_text_address+0x9/0x40 unwind_get_return_address+0x55/0xa0 arch_stack_walk+0x99/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:futex_wake+0x1fe/0x490 Code: ea 03 80 3c 02 00 0f 85 94 02 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 65 48 4c 89 e2 49 8d 6c 24 e8 48 c1 ea 03 80 3c 02 00 <0f> 85 7f 02 00 00 49 8b 04 24 48 8d 58 e8 4c 39 64 24 08 0f 84 06 RSP: 0018:ffff88803ed37ca8 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: dffffc0000000000 RCX: ffffffff812a8ec1 RDX: 1ffff11007dc5f9b RSI: 0000000000000004 RDI: ffff88803ed37c38 RBP: ffff88803ee2fcc0 R08: 0000000000000001 R09: ffff88803ed37c3b R10: ffffed1007da6f87 R11: 0000000000000001 R12: ffff88803ee2fcd8 R13: 0000000000000000 R14: 00000000ffffffff R15: 00000000ffffffff do_futex+0x27f/0x380 __x64_sys_futex+0x1c6/0x4d0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0bdba3fb19 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:00007f0bd8fb5218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f0bdbb52f68 RCX: 00007f0bdba3fb19 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f0bdbb52f6c RBP: 00007f0bdbb52f60 R08: 000000000000000e R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 00007f0bdbb52f6c R13: 00007fffb2b0744f R14: 00007f0bd8fb5300 R15: 0000000000022000 irq event stamp: 867 hardirqs last enabled at (866): [] asm_sysvec_apic_timer_interrupt+0x16/0x20 hardirqs last disabled at (867): [] sysvec_apic_timer_interrupt+0xb/0xc0 softirqs last enabled at (166): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (549): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ====================================================== ---------------- Code disassembly (best guess): 0: 02 b8 ff ff ff ff add -0x1(%rax),%bh 6: 65 0f c1 05 81 52 d8 xadd %eax,%gs:0x7ed85281(%rip) # 0x7ed8528f d: 7e e: 83 f8 01 cmp $0x1,%eax 11: 0f 85 c8 02 00 00 jne 0x2df 17: 48 83 7c 24 08 00 cmpq $0x0,0x8(%rsp) 1d: 74 01 je 0x20 1f: fb sti 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 48 01 c3 add %rax,%rbx <-- trapping instruction 2d: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) 34: 48 c7 43 08 00 00 00 movq $0x0,0x8(%rbx) 3b: 00 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 84 .byte 0x84 3f: 24 .byte 0x24