audit: type=1400 audit(1664560471.559:8): avc: denied { kernel } for pid=3760 comm="syz-executor.6" 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: 3759 at kernel/events/core.c:2233 perf_iterate_sb+0x5d8/0xb30 Modules linked in: CPU: 0 PID: 3759 Comm: modprobe Not tainted 6.0.0-rc7-next-20220929 #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_iterate_sb+0x5d8/0xb30 Code: e8 ed 3b f0 ff 65 8b 05 d2 a4 ac 7e 31 ff 89 c6 89 44 24 08 e8 89 38 f0 ff 8b 44 24 08 85 c0 0f 84 fd 02 00 00 e8 c8 3b f0 ff <0f> 0b e8 c1 3b f0 ff 48 8d bb 90 00 00 00 48 89 f8 48 c1 e8 03 80 RSP: 0018:ffff88801ac17a88 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888008660000 RCX: 0000000000000000 RDX: ffff8880180a5040 RSI: ffffffff8155d108 RDI: 0000000000000005 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888008660220 R13: 000000000003d2c0 R14: ffff88801ac17b48 R15: ffff88806ce33860 FS: 00007f3835922540(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3835dfc000 CR3: 000000000f89a000 CR4: 0000000000350ef0 Call Trace: perf_event_mmap+0x724/0xd20 mprotect_fixup+0x457/0x8c0 do_mprotect_pkey+0x6fb/0xa70 __x64_sys_mprotect+0x74/0xb0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f3835e4de27 Code: 44 00 00 b8 0b 00 00 00 0f 05 48 3d 01 f0 ff ff 73 01 c3 48 8d 0d 31 03 01 00 f7 d8 89 01 48 83 c8 ff c3 b8 0a 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8d 0d 11 03 01 00 f7 d8 89 01 48 83 RSP: 002b:00007ffe0b5c4738 EFLAGS: 00000206 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 00007f3835e2c510 RCX: 00007f3835e4de27 RDX: 0000000000000001 RSI: 0000000000030000 RDI: 00007f3835dce000 RBP: 00007ffe0b5c4850 R08: 0000000000000000 R09: 00007f3835b33550 R10: 00007f3835df8e08 R11: 0000000000000206 R12: 0000000000000007 R13: 0000114100000007 R14: 00007f3835b33550 R15: 00007f3835e2c510 irq event stamp: 15739 hardirqs last enabled at (15749): [] __up_console_sem+0x78/0x80 hardirqs last disabled at (15760): [] __up_console_sem+0x5d/0x80 softirqs last enabled at (15312): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (15281): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3752 at kernel/events/core.c:2047 perf_group_detach+0x99e/0x12f0 Modules linked in: CPU: 0 PID: 3752 Comm: modprobe Tainted: G W 6.0.0-rc7-next-20220929 #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_group_detach+0x99e/0x12f0 Code: 85 d5 f8 ff ff e8 b2 4e ee ff 65 44 8b 25 96 b7 aa 7e 31 ff 44 89 e6 e8 50 4b ee ff 45 85 e4 0f 84 0a 05 00 00 e8 92 4e ee ff <0f> 0b e9 a9 f8 ff ff e8 86 4e ee ff 65 8b 1d 6b b7 aa 7e 31 ff 89 RSP: 0018:ffff88806ce09e60 EFLAGS: 00010046 RAX: 0000000080010002 RBX: ffff888008660000 RCX: 0000000000000000 RDX: ffff88801db48000 RSI: ffffffff8157be3e RDI: 0000000000000005 RBP: ffff888008660000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888008660090 R14: ffff88806ce3d2c0 R15: ffff888008660000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3835dfc000 CR3: 00000000094da000 CR4: 0000000000350ef0 Call Trace: __perf_remove_from_context+0x71e/0xb20 event_function+0x297/0x3d0 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:__sanitizer_cov_trace_pc+0x7/0x70 Code: 00 66 90 48 8b be a8 01 00 00 e8 b4 ff ff ff 31 c0 e9 7d 2e 1a 03 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 65 8b 05 a9 61 bc 7e <89> c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 c0 6e 02 00 a9 RSP: 0018:ffff88801b7bf908 EFLAGS: 00000202 RAX: 0000000080000001 RBX: 0000000000000020 RCX: ffffffff81692058 RDX: ffff88801db48000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffff88800f411258 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000020 R11: 0000000000000001 R12: ffff88801b7bfcf8 R13: ffffea000018f1c0 R14: dffffc0000000000 R15: 0000000000000000 unmap_page_range+0x1a91/0x2a10 unmap_single_vma+0x190/0x380 unmap_vmas+0x21e/0x370 exit_mmap+0x154/0x680 mmput+0xd1/0x390 do_exit+0xa2e/0x27f0 do_group_exit+0xd0/0x2a0 __x64_sys_exit_group+0x3a/0x50 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9def418699 Code: Unable to access opcode bytes at 0x7f9def41866f. RSP: 002b:00007ffdae2fc738 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f9def50d610 RCX: 00007f9def418699 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffffffffff80 R09: 0000000000000001 R10: 0000000000000004 R11: 0000000000000246 R12: 00007f9def50d610 R13: 0000000000000001 R14: 00007f9def50dae8 R15: 0000000000000000 irq event stamp: 18784 hardirqs last enabled at (18783): [] folio_memcg_lock+0x130/0x4a0 hardirqs last disabled at (18784): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (17604): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (17599): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3752 at kernel/events/core.c:2183 perf_group_detach+0x9c7/0x12f0 Modules linked in: CPU: 0 PID: 3752 Comm: modprobe Tainted: G W 6.0.0-rc7-next-20220929 #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_group_detach+0x9c7/0x12f0 Code: ff 0f 0b e9 a9 f8 ff ff e8 86 4e ee ff 65 8b 1d 6b b7 aa 7e 31 ff 89 de e8 26 4b ee ff 85 db 0f 84 86 04 00 00 e8 69 4e ee ff <0f> 0b e9 0e fa ff ff e8 5d 4e ee ff 48 8b 7c 24 20 48 81 c7 f8 00 RSP: 0018:ffff88806ce09e60 EFLAGS: 00010046 RAX: 0000000080010002 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801db48000 RSI: ffffffff8157be67 RDI: 0000000000000005 RBP: ffff888008660000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888008660000 R13: ffff888008660000 R14: ffff88806ce3d2c0 R15: ffff888008660000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3835dfc000 CR3: 00000000094da000 CR4: 0000000000350ef0 Call Trace: __perf_remove_from_context+0x71e/0xb20 event_function+0x297/0x3d0 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:__sanitizer_cov_trace_pc+0x7/0x70 Code: 00 66 90 48 8b be a8 01 00 00 e8 b4 ff ff ff 31 c0 e9 7d 2e 1a 03 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 65 8b 05 a9 61 bc 7e <89> c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 c0 6e 02 00 a9 RSP: 0018:ffff88801b7bf908 EFLAGS: 00000202 RAX: 0000000080000001 RBX: 0000000000000020 RCX: ffffffff81692058 RDX: ffff88801db48000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffff88800f411258 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000020 R11: 0000000000000001 R12: ffff88801b7bfcf8 R13: ffffea000018f1c0 R14: dffffc0000000000 R15: 0000000000000000 unmap_page_range+0x1a91/0x2a10 unmap_single_vma+0x190/0x380 unmap_vmas+0x21e/0x370 exit_mmap+0x154/0x680 mmput+0xd1/0x390 do_exit+0xa2e/0x27f0 do_group_exit+0xd0/0x2a0 __x64_sys_exit_group+0x3a/0x50 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9def418699 Code: Unable to access opcode bytes at 0x7f9def41866f. RSP: 002b:00007ffdae2fc738 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f9def50d610 RCX: 00007f9def418699 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffffffffff80 R09: 0000000000000001 R10: 0000000000000004 R11: 0000000000000246 R12: 00007f9def50d610 R13: 0000000000000001 R14: 00007f9def50dae8 R15: 0000000000000000 irq event stamp: 18784 hardirqs last enabled at (18783): [] folio_memcg_lock+0x130/0x4a0 hardirqs last disabled at (18784): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (17604): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (17599): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3752 at kernel/events/core.c:655 perf_event_update_sibling_time+0xd5/0x4d0 Modules linked in: CPU: 0 PID: 3752 Comm: modprobe Tainted: G W 6.0.0-rc7-next-20220929 #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_update_sibling_time+0xd5/0x4d0 Code: 5e 41 5f e9 0d f0 f0 ff e8 08 f0 f0 ff 65 8b 1d ed 58 ad 7e 31 ff 89 de e8 a8 ec f0 ff 85 db 0f 84 d3 02 00 00 e8 eb ef f0 ff <0f> 0b eb 97 e8 e2 ef f0 ff 48 8d 7d 10 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffff88806ce09e58 EFLAGS: 00010046 RAX: 0000000080010002 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801db48000 RSI: ffffffff81551ce5 RDI: 0000000000000005 RBP: ffff888008660000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff8880086600a8 R14: 0000000000000001 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3835dfc000 CR3: 00000000094da000 CR4: 0000000000350ef0 Call Trace: list_del_event+0x524/0x860 __perf_remove_from_context+0xd2/0xb20 event_function+0x297/0x3d0 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:__sanitizer_cov_trace_pc+0x7/0x70 Code: 00 66 90 48 8b be a8 01 00 00 e8 b4 ff ff ff 31 c0 e9 7d 2e 1a 03 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 65 8b 05 a9 61 bc 7e <89> c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 c0 6e 02 00 a9 RSP: 0018:ffff88801b7bf908 EFLAGS: 00000202 RAX: 0000000080000001 RBX: 0000000000000020 RCX: ffffffff81692058 RDX: ffff88801db48000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffff88800f411258 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000020 R11: 0000000000000001 R12: ffff88801b7bfcf8 R13: ffffea000018f1c0 R14: dffffc0000000000 R15: 0000000000000000 unmap_page_range+0x1a91/0x2a10 unmap_single_vma+0x190/0x380 unmap_vmas+0x21e/0x370 exit_mmap+0x154/0x680 mmput+0xd1/0x390 do_exit+0xa2e/0x27f0 do_group_exit+0xd0/0x2a0 __x64_sys_exit_group+0x3a/0x50 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9def418699 Code: Unable to access opcode bytes at 0x7f9def41866f. RSP: 002b:00007ffdae2fc738 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f9def50d610 RCX: 00007f9def418699 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffffffffff80 R09: 0000000000000001 R10: 0000000000000004 R11: 0000000000000246 R12: 00007f9def50d610 R13: 0000000000000001 R14: 00007f9def50dae8 R15: 0000000000000000 irq event stamp: 18784 hardirqs last enabled at (18783): [] folio_memcg_lock+0x130/0x4a0 hardirqs last disabled at (18784): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (17604): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (17599): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- loop6: detected capacity change from 0 to 1 FAT-fs (loop6): bogus number of FAT structure FAT-fs (loop6): Can't find a valid FAT filesystem loop6: detected capacity change from 0 to 1 FAT-fs (loop6): bogus number of FAT structure FAT-fs (loop6): Can't find a valid FAT filesystem loop6: detected capacity change from 0 to 5168 loop6: detected capacity change from 0 to 5168 loop6: detected capacity change from 0 to 5168 Bluetooth: hci7: unexpected cc 0x0c03 length: 249 > 1 Bluetooth: hci7: unexpected cc 0x1003 length: 249 > 9 Bluetooth: hci7: unexpected cc 0x1001 length: 249 > 9 Bluetooth: hci7: unexpected cc 0x0c23 length: 249 > 4 Bluetooth: hci7: unexpected cc 0x0c25 length: 249 > 3 Bluetooth: hci7: unexpected cc 0x0c38 length: 249 > 2 Bluetooth: hci7: HCI_REQ-0x0c1a Bluetooth: hci6: Opcode 0x c03 failed: -110 Bluetooth: hci4: Opcode 0x c03 failed: -110 Bluetooth: hci7: command 0x0409 tx timeout ---------------- Code disassembly (best guess): 0: 00 66 90 add %ah,-0x70(%rsi) 3: 48 8b be a8 01 00 00 mov 0x1a8(%rsi),%rdi a: e8 b4 ff ff ff callq 0xffffffc3 f: 31 c0 xor %eax,%eax 11: e9 7d 2e 1a 03 jmpq 0x31a2e93 16: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 1d: 00 00 00 00 21: 66 90 xchg %ax,%ax 23: 65 8b 05 a9 61 bc 7e mov %gs:0x7ebc61a9(%rip),%eax # 0x7ebc61d3 * 2a: 89 c1 mov %eax,%ecx <-- trapping instruction 2c: 48 8b 34 24 mov (%rsp),%rsi 30: 81 e1 00 01 00 00 and $0x100,%ecx 36: 65 48 8b 14 25 c0 6e mov %gs:0x26ec0,%rdx 3d: 02 00 3f: a9 .byte 0xa9