syzbot


general protection fault in inherit_task_group

Status: upstream: reported C repro on 2024/02/16 23:09
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+f58c97f6feeb026985af@syzkaller.appspotmail.com
First crash: 674d, last: 89d
Bug presence (3)
Date Name Commit Repro Result
2024/02/17 android13-5.15-lts (ToT) 993bed180178 C [report] general protection fault in inherit_task_group
2024/02/17 lts (merge base) 6139f2a02fe0 C Didn't crash
2024/02/16 upstream (ToT) c1ca10ceffbb C Didn't crash
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 general protection fault in inherit_task_group 2 C 66 213d 674d 0/2 upstream: reported C repro on 2024/02/16 22:46
upstream general protection fault in inherit_task_group perf 2 C done done 4 785d 783d 25/29 fixed on 2023/12/21 03:45
linux-6.1 general protection fault in inherit_task_group origin:upstream missing-backport 2 C inconclusive 3 695d 786d 0/3 upstream: reported C repro on 2023/10/28 05:24
linux-5.15 general protection fault in inherit_task_group origin:upstream 2 C done 4 781d 786d 3/3 fixed on 2023/12/05 18:06
android-6-1 general protection fault in inherit_task_group origin:downstream 2 C 1 534d 674d 0/2 auto-obsoleted due to no activity on 2024/10/14 11:46
android-5-10 general protection fault in inherit_task_group 2 C 48 93d 674d 0/2 upstream: reported C repro on 2024/02/16 23:02
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/12/02 22:03 38m retest repro android13-5.15-lts OK log
2025/12/02 22:03 20m retest repro android13-5.15-lts OK log
2025/11/10 19:34 12m retest repro android13-5.15-lts OK log
2025/09/23 19:19 12m retest repro android13-5.15-lts report log
2025/09/23 19:19 19m retest repro android13-5.15-lts report log
2025/09/23 19:19 12m retest repro android13-5.15-lts OK log
2025/09/01 14:47 16m retest repro android13-5.15-lts report log
2025/07/14 16:41 1h25m retest repro android13-5.15-lts report log
2025/06/30 04:35 16m retest repro android13-5.15-lts report log
2025/06/30 04:35 6m retest repro android13-5.15-lts report log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000011: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000088-0x000000000000008f]
CPU: 0 PID: 947 Comm: syz.2.290 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:inherit_group kernel/events/core.c:13293 [inline]
RIP: 0010:inherit_task_group+0x689/0x770 kernel/events/core.c:13340
Code: c6 8c 00 00 00 4c 89 f0 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 8d 00 00 00 41 8b 1e 49 81 c4 8c 00 00 00 4c 89 e0 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 8d 00 00 00 41 89 1c 24 e9 ce fa ff ff
RSP: 0018:ffffc90000c479e0 EFLAGS: 00010207
RAX: 0000000000000011 RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc90001f6e000 RSI: 00000000000006ab RDI: 00000000000006ac
RBP: ffffc90000c47a50 R08: dffffc0000000000 R09: ffffed103ee07182
R10: ffffed103ee07182 R11: 1ffff1103ee07181 R12: 000000000000008c
R13: dffffc0000000000 R14: ffff8881298e207c R15: ffffc90000c47abc
FS:  00007fda0d4656c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3f182e0dac CR3: 000000012cc75000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff1 DR7: 0000000000000600
Call Trace:
 <TASK>
 perf_event_init_context kernel/events/core.c:13409 [inline]
 perf_event_init_task+0x263/0x4c0 kernel/events/core.c:13462
 copy_process+0x1022/0x3210 kernel/fork.c:2322
 kernel_clone+0x23f/0x940 kernel/fork.c:2737
 __do_sys_clone kernel/fork.c:2863 [inline]
 __se_sys_clone kernel/fork.c:2847 [inline]
 __x64_sys_clone+0x176/0x1d0 kernel/fork.c:2847
 x64_sys_call+0x41f/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:57
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fda0e9fcbe9
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:00007fda0d464fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fda0ec33fa0 RCX: 00007fda0e9fcbe9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000e50c1600
RBP: 00007fda0ea7fe19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007fda0ec34038 R14: 00007fda0ec33fa0 R15: 00007ffc95430f88
 </TASK>
Modules linked in:
---[ end trace 0210d417afa12a89 ]---
RIP: 0010:inherit_group kernel/events/core.c:13293 [inline]
RIP: 0010:inherit_task_group+0x689/0x770 kernel/events/core.c:13340
Code: c6 8c 00 00 00 4c 89 f0 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 8d 00 00 00 41 8b 1e 49 81 c4 8c 00 00 00 4c 89 e0 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 8d 00 00 00 41 89 1c 24 e9 ce fa ff ff
RSP: 0018:ffffc90000c479e0 EFLAGS: 00010207

RAX: 0000000000000011 RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc90001f6e000 RSI: 00000000000006ab RDI: 00000000000006ac
RBP: ffffc90000c47a50 R08: dffffc0000000000 R09: ffffed103ee07182
R10: ffffed103ee07182 R11: 1ffff1103ee07181 R12: 000000000000008c
R13: dffffc0000000000 R14: ffff8881298e207c R15: ffffc90000c47abc
FS:  00007fda0d4656c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd4ee9dc78 CR3: 000000012cc75000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff1 DR7: 0000000000000600
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	8c 00                	mov    %es,(%rax)
   2:	00 00                	add    %al,(%rax)
   4:	4c 89 f0             	mov    %r14,%rax
   7:	48 c1 e8 03          	shr    $0x3,%rax
   b:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax
  10:	84 c0                	test   %al,%al
  12:	0f 85 8d 00 00 00    	jne    0xa5
  18:	41 8b 1e             	mov    (%r14),%ebx
  1b:	49 81 c4 8c 00 00 00 	add    $0x8c,%r12
  22:	4c 89 e0             	mov    %r12,%rax
  25:	48 c1 e8 03          	shr    $0x3,%rax
* 29:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax <-- trapping instruction
  2e:	84 c0                	test   %al,%al
  30:	0f 85 8d 00 00 00    	jne    0xc3
  36:	41 89 1c 24          	mov    %ebx,(%r12)
  3a:	e9 ce fa ff ff       	jmp    0xfffffb0d

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/09 08:29 android13-5.15-lts 1cd26e1d9a89 d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf general protection fault in inherit_task_group
2025/08/17 19:29 android13-5.15-lts f32b52534f1d 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf general protection fault in inherit_task_group
2025/05/27 20:28 android13-5.15-lts 4032a894ccb2 874a1386 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf general protection fault in inherit_task_group
2025/05/19 06:38 android13-5.15-lts 57725b368731 f41472b0 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf general protection fault in inherit_task_group
2025/04/03 05:15 android13-5.15-lts 5e1b899f19c3 c799dfdd .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf general protection fault in inherit_task_group
2024/11/29 15:45 android13-5.15-lts 548ca9fbf844 5df23865 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf general protection fault in inherit_task_group
2024/10/26 00:41 android13-5.15-lts 5e4635681cf1 045e728d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf general protection fault in inherit_task_group
2024/09/25 04:46 android13-5.15-lts b92c0d35d015 5643e0e9 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf general protection fault in inherit_task_group
2024/07/08 16:13 android13-5.15-lts db06c48ab67e cde64f7d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf general protection fault in inherit_task_group
2024/03/07 14:06 android13-5.15-lts 993bed180178 2b789849 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf general protection fault in inherit_task_group
2024/03/02 01:23 android13-5.15-lts 993bed180178 83acf9e0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf general protection fault in inherit_task_group
2024/02/28 04:36 android13-5.15-lts 993bed180178 d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf general protection fault in inherit_task_group
2024/02/16 23:08 android13-5.15-lts 993bed180178 578f7538 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf general protection fault in inherit_task_group
* Struck through repros no longer work on HEAD.