kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 466 Comm: syz.2.22 Not tainted 5.4.290-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:inherit_group kernel/events/core.c:12110 [inline]
RIP: 0010:inherit_task_group+0x2d2/0x380 kernel/events/core.c:12154
Code: 8b 5d d0 48 81 c3 8c 00 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 75 67 8b 1b 49 81 c4 8c 00 00 00 4c 89 e0 48 c1 e8 03 <42> 0f b6 04 28 84 c0 75 64 41 89 1c 24 45 31 e4 44 89 e0 48 83 c4
RSP: 0018:ffff8881eb85f9c0 EFLAGS: 00010207
RAX: 0000000000000011 RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc90001944000 RSI: 0000000000000e19 RDI: 0000000000000e1a
RBP: ffff8881eb85fa10 R08: dffffc0000000000 R09: ffffed103edeb12c
R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000008c
R13: dffffc0000000000 R14: ffff8881e90c3010 R15: ffff8881eb85fac0
FS:  00007f3562b5b6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055556122a4a8 CR3: 00000001ec129000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 perf_event_init_context kernel/events/core.c:12221 [inline]
 perf_event_init_task+0x331/0x770 kernel/events/core.c:12273
 copy_process+0xf31/0x3230 kernel/fork.c:2026
 _do_fork+0x197/0x900 kernel/fork.c:2399
 __do_sys_clone kernel/fork.c:2557 [inline]
 __se_sys_clone kernel/fork.c:2538 [inline]
 __x64_sys_clone+0x26b/0x2c0 kernel/fork.c:2538
 do_syscall_64+0xd8/0x170 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
RIP: 0033:0x7f35644f2169
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f3562b5afe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f3564719fa0 RCX: 00007f35644f2169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000002014a000
RBP: 00007f3564574a68 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f3564719fa0 R15: 00007ffd495b5318
Modules linked in:
---[ end trace 2b70e04f4373b494 ]---
RIP: 0010:inherit_group kernel/events/core.c:12110 [inline]
RIP: 0010:inherit_task_group+0x2d2/0x380 kernel/events/core.c:12154
Code: 8b 5d d0 48 81 c3 8c 00 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 75 67 8b 1b 49 81 c4 8c 00 00 00 4c 89 e0 48 c1 e8 03 <42> 0f b6 04 28 84 c0 75 64 41 89 1c 24 45 31 e4 44 89 e0 48 83 c4
RSP: 0018:ffff8881eb85f9c0 EFLAGS: 00010207
RAX: 0000000000000011 RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc90001944000 RSI: 0000000000000e19 RDI: 0000000000000e1a
RBP: ffff8881eb85fa10 R08: dffffc0000000000 R09: ffffed103edeb12c
R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000008c
R13: dffffc0000000000 R14: ffff8881e90c3010 R15: ffff8881eb85fac0
FS:  00007f3562b5b6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffb74d00e8 CR3: 00000001ec129000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
----------------
Code disassembly (best guess):
   0:	8b 5d d0             	mov    -0x30(%rbp),%ebx
   3:	48 81 c3 8c 00 00 00 	add    $0x8c,%rbx
   a:	48 89 d8             	mov    %rbx,%rax
   d:	48 c1 e8 03          	shr    $0x3,%rax
  11:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax
  16:	84 c0                	test   %al,%al
  18:	75 67                	jne    0x81
  1a:	8b 1b                	mov    (%rbx),%ebx
  1c:	49 81 c4 8c 00 00 00 	add    $0x8c,%r12
  23:	4c 89 e0             	mov    %r12,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	75 64                	jne    0x97
  33:	41 89 1c 24          	mov    %ebx,(%r12)
  37:	45 31 e4             	xor    %r12d,%r12d
  3a:	44 89 e0             	mov    %r12d,%eax
  3d:	48                   	rex.W
  3e:	83                   	.byte 0x83
  3f:	c4                   	.byte 0xc4