audit: type=1400 audit(1664273479.421:8): avc: denied { kernel } for pid=3755 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: 3755 at kernel/events/core.c:2233 event_filter_match+0x422/0x660 Modules linked in: CPU: 0 PID: 3755 Comm: syz-executor.2 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:event_filter_match+0x422/0x660 Code: 00 00 00 e9 7c fc ff ff e8 1b 1e f1 ff 65 8b 2d e0 88 ad 7e 31 ff 89 ee e8 bb 1a f1 ff 85 ed 0f 84 ef 00 00 00 e8 fe 1d f1 ff <0f> 0b eb 9f e8 c5 80 23 00 e9 17 fc ff ff e8 eb 1d f1 ff 48 8d 7b RSP: 0018:ffff88804140f700 EFLAGS: 00010012 RAX: 0000000040000000 RBX: ffff888008668000 RCX: 0000000000000000 RDX: ffff88801778d040 RSI: ffffffff8154ecf2 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865b001b R12: ffff888008668220 R13: 0000000000000000 R14: ffff8880086680a8 R15: ffff888008668220 FS: 000055555649a400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4cec97e000 CR3: 000000003a8b4000 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+0x58/0x80 __perf_event_task_sched_in+0x408/0x6e0 finish_task_switch.isra.0+0x46d/0x8a0 __schedule+0x89b/0x2470 schedule+0xda/0x1b0 futex_wait_queue+0xf5/0x1e0 futex_wait+0x28e/0x690 do_futex+0x2ff/0x380 __x64_sys_futex+0x1c6/0x4d0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fda48527b19 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:00007ffdea6a8658 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 0000000000000032 RCX: 00007fda48527b19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fda4863af6c RBP: 00007fda4863af6c R08: 00007ffdea778080 R09: 0000000000000000 R10: 00007ffdea6a8730 R11: 0000000000000246 R12: 000000000001e507 R13: 00000000000003e8 R14: 00007fda4863af60 R15: 000000000001e4fa irq event stamp: 2362 hardirqs last enabled at (2361): [] _raw_spin_unlock_irqrestore+0x28/0x60 hardirqs last disabled at (2362): [] __schedule+0x1225/0x2470 softirqs last enabled at (2188): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (2093): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3755 at kernel/events/core.c:2557 merge_sched_in+0xadb/0x1110 Modules linked in: CPU: 0 PID: 3755 Comm: syz-executor.2 Tainted: G W 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:merge_sched_in+0xadb/0x1110 Code: ff ff e8 c8 1a ef ff 65 8b 05 8d 85 ab 7e 31 ff 89 c6 89 04 24 e8 65 17 ef ff 8b 04 24 85 c0 0f 84 13 02 00 00 e8 a5 1a ef ff <0f> 0b e9 c4 fb ff ff e8 99 1a ef ff 4c 89 e8 48 05 18 01 00 00 e9 RSP: 0018:ffff88804140f740 EFLAGS: 00010012 RAX: 0000000040000000 RBX: ffff88806ce3f000 RCX: 0000000000000000 RDX: ffff88801778d040 RSI: ffffffff8156f04b RDI: 0000000000000005 RBP: ffff888008668000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865b001b R12: ffff88800da00c00 R13: 0000000000000001 R14: ffff8880086680a8 R15: ffff888008668220 FS: 000055555649a400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4cec97e000 CR3: 000000003a8b4000 CR4: 0000000000350ef0 Call Trace: visit_groups_merge.constprop.0.isra.0+0x4fc/0xef0 ctx_sched_in+0x2e6/0x770 perf_event_sched_in+0x58/0x80 __perf_event_task_sched_in+0x408/0x6e0 finish_task_switch.isra.0+0x46d/0x8a0 __schedule+0x89b/0x2470 schedule+0xda/0x1b0 futex_wait_queue+0xf5/0x1e0 futex_wait+0x28e/0x690 do_futex+0x2ff/0x380 __x64_sys_futex+0x1c6/0x4d0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fda48527b19 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:00007ffdea6a8658 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 0000000000000032 RCX: 00007fda48527b19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fda4863af6c RBP: 00007fda4863af6c R08: 00007ffdea778080 R09: 0000000000000000 R10: 00007ffdea6a8730 R11: 0000000000000246 R12: 000000000001e507 R13: 00000000000003e8 R14: 00007fda4863af60 R15: 000000000001e4fa irq event stamp: 2362 hardirqs last enabled at (2361): [] _raw_spin_unlock_irqrestore+0x28/0x60 hardirqs last disabled at (2362): [] __schedule+0x1225/0x2470 softirqs last enabled at (2188): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (2093): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ======================================================