audit: type=1400 audit(1664998820.881:8): avc: denied { kernel } for pid=3747 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: 0 PID: 3746 at kernel/events/core.c:2233 event_filter_match+0x422/0x660 Modules linked in: CPU: 0 PID: 3746 Comm: modprobe Not tainted 6.0.0-next-20221005 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:event_filter_match+0x422/0x660 Code: 00 00 00 e9 7c fc ff ff e8 7b 33 f1 ff 65 8b 2d 20 8d ad 7e 31 ff 89 ee e8 1b 30 f1 ff 85 ed 0f 84 ef 00 00 00 e8 5e 33 f1 ff <0f> 0b eb 9f e8 25 9f 23 00 e9 17 fc ff ff e8 4b 33 f1 ff 48 8d 7b RSP: 0000:ffff88806ce09c70 EFLAGS: 00010046 RAX: 0000000080010001 RBX: ffff888040240000 RCX: 0000000000000000 RDX: ffff888020b10000 RSI: ffffffff8154e8b2 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865b601b R12: ffff888040240220 R13: 0000000000000000 R14: ffff8880402400a8 R15: ffff888040240220 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fad88df1610 CR3: 00000000212ae000 CR4: 0000000000350ef0 Call Trace: merge_sched_in+0x107/0x1110 visit_groups_merge.constprop.0.isra.0+0x4fc/0xef0 ctx_sched_in+0x2e6/0x770 perf_event_sched_in+0x75/0x80 ctx_resched+0x1ce/0x390 __perf_install_in_context+0x285/0x9c0 remote_function+0x125/0x1b0 __flush_smp_call_function_queue+0x1df/0x5a0 __sysvec_call_function_single+0x92/0x3a0 sysvec_call_function_single+0x89/0xc0 asm_sysvec_call_function_single+0x16/0x20 RIP: 0010:lock_acquire+0x1db/0x530 Code: 02 b8 ff ff ff ff 65 0f c1 05 71 42 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: 0000:ffff88803fccfd28 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff11007f99fa7 RCX: 00000000f7844fc4 RDX: 1ffff1100416212e RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff86cd57ef R10: fffffbfff0d9aafd R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000001 R14: ffff88800ddc0f58 R15: 0000000000000000 down_read_trylock+0x1bf/0x3a0 do_user_addr_fault+0x337/0x1300 exc_page_fault+0x98/0x1a0 asm_exc_page_fault+0x22/0x30 RIP: 0033:0x7fad891380ef Code: 0f 7f 44 17 f0 f3 0f 7f 07 c3 48 83 fa 40 77 16 f3 0f 7f 07 f3 0f 7f 47 10 f3 0f 7f 44 17 f0 f3 0f 7f 44 17 e0 c3 48 8d 4f 40 0f 7f 07 48 83 e1 c0 f3 0f 7f 44 17 f0 f3 0f 7f 47 10 f3 0f 7f RSP: 002b:00007ffcbde5a968 EFLAGS: 00010202 RAX: 00007fad88df1610 RBX: 0000000000000004 RCX: 00007fad88df1650 RDX: 00000000000009f0 RSI: 0000000000000000 RDI: 00007fad88df1610 RBP: 00007ffcbde5ad00 R08: 00007fad88df1610 R09: 00000000001ba000 R10: 00007fad88df2000 R11: 0000000000000003 R12: 00007fad89112a20 R13: 00007ffcbde5a970 R14: 00007ffcbde5aa00 R15: 00007ffcbde5ad90 irq event stamp: 6996 hardirqs last enabled at (6995): [] do_user_addr_fault+0x786/0x1300 hardirqs last disabled at (6996): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (6798): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (6793): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3746 at kernel/events/core.c:2557 merge_sched_in+0xadb/0x1110 Modules linked in: CPU: 0 PID: 3746 Comm: modprobe Tainted: G W 6.0.0-next-20221005 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:merge_sched_in+0xadb/0x1110 Code: ff ff e8 08 0e ef ff 65 8b 05 ad 67 ab 7e 31 ff 89 c6 89 04 24 e8 a5 0a ef ff 8b 04 24 85 c0 0f 84 13 02 00 00 e8 e5 0d ef ff <0f> 0b e9 c4 fb ff ff e8 d9 0d ef ff 4c 89 e8 48 05 18 01 00 00 e9 RSP: 0000:ffff88806ce09cb0 EFLAGS: 00010046 RAX: 0000000080010001 RBX: ffff88806ce3d2c0 RCX: 0000000000000000 RDX: ffff888020b10000 RSI: ffffffff81570e2b RDI: 0000000000000005 RBP: ffff888040240000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865b601b R12: ffff88806ce3d2c0 R13: ffff88806ce00000 R14: ffff8880402400a8 R15: ffff888040240220 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fad88df1610 CR3: 00000000212ae000 CR4: 0000000000350ef0 Call Trace: visit_groups_merge.constprop.0.isra.0+0x4fc/0xef0 ctx_sched_in+0x2e6/0x770 perf_event_sched_in+0x75/0x80 ctx_resched+0x1ce/0x390 __perf_install_in_context+0x285/0x9c0 remote_function+0x125/0x1b0 __flush_smp_call_function_queue+0x1df/0x5a0 __sysvec_call_function_single+0x92/0x3a0 sysvec_call_function_single+0x89/0xc0 asm_sysvec_call_function_single+0x16/0x20 RIP: 0010:lock_acquire+0x1db/0x530 Code: 02 b8 ff ff ff ff 65 0f c1 05 71 42 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: 0000:ffff88803fccfd28 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff11007f99fa7 RCX: 00000000f7844fc4 RDX: 1ffff1100416212e RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff86cd57ef R10: fffffbfff0d9aafd R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000001 R14: ffff88800ddc0f58 R15: 0000000000000000 down_read_trylock+0x1bf/0x3a0 do_user_addr_fault+0x337/0x1300 exc_page_fault+0x98/0x1a0 asm_exc_page_fault+0x22/0x30 RIP: 0033:0x7fad891380ef Code: 0f 7f 44 17 f0 f3 0f 7f 07 c3 48 83 fa 40 77 16 f3 0f 7f 07 f3 0f 7f 47 10 f3 0f 7f 44 17 f0 f3 0f 7f 44 17 e0 c3 48 8d 4f 40 0f 7f 07 48 83 e1 c0 f3 0f 7f 44 17 f0 f3 0f 7f 47 10 f3 0f 7f RSP: 002b:00007ffcbde5a968 EFLAGS: 00010202 RAX: 00007fad88df1610 RBX: 0000000000000004 RCX: 00007fad88df1650 RDX: 00000000000009f0 RSI: 0000000000000000 RDI: 00007fad88df1610 RBP: 00007ffcbde5ad00 R08: 00007fad88df1610 R09: 00000000001ba000 R10: 00007fad88df2000 R11: 0000000000000003 R12: 00007fad89112a20 R13: 00007ffcbde5a970 R14: 00007ffcbde5aa00 R15: 00007ffcbde5ad90 irq event stamp: 6996 hardirqs last enabled at (6995): [] do_user_addr_fault+0x786/0x1300 hardirqs last disabled at (6996): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (6798): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (6793): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- audit: type=1400 audit(1664998820.969:9): avc: denied { write } for pid=3748 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 ]------------ ====================================================== ---------------- Code disassembly (best guess): 0: 02 b8 ff ff ff ff add -0x1(%rax),%bh 6: 65 0f c1 05 71 42 d8 xadd %eax,%gs:0x7ed84271(%rip) # 0x7ed8427f 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