syzbot


general protection fault in bpf_skb_ancestor_cgroup_id

Status: upstream: reported C repro on 2020/01/11 04:44
Reported-by: syzbot+e48aa434db5743393fef@syzkaller.appspotmail.com
First crash: 1754d, last: 4d02h
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in bpf_skb_ancestor_cgroup_id bpf net C unreliable 232 1122d 1139d 20/28 fixed on 2022/03/08 16:11
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/10/26 18:31 12m retest repro android12-5.4 report log
2024/10/26 18:31 5m retest repro android12-5.4 report log
2024/10/26 18:31 8m retest repro android12-5.4 report log
2024/10/26 18:31 5m retest repro android12-5.4 report log
2024/10/12 11:58 8m retest repro android12-5.4 report log
2024/10/12 11:58 45m retest repro android12-5.4 report log
2024/10/12 11:58 17m retest repro android12-5.4 report log
2024/10/12 11:58 17m retest repro android12-5.4 report log
2024/10/12 11:58 14m retest repro android12-5.4 report log
2024/09/26 22:15 16m retest repro android12-5.4 report log

Sample crash report:
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: 357 Comm: syz-executor269 Not tainted 5.4.268-syzkaller-00003-g2d5d8240a7cb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:cgroup_ancestor include/linux/cgroup.h:591 [inline]
RIP: 0010:____bpf_skb_ancestor_cgroup_id net/core/filter.c:4144 [inline]
RIP: 0010:bpf_skb_ancestor_cgroup_id+0x114/0x270 net/core/filter.c:4133
Code: 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 0d 59 0c fe 48 8b 1b 48 8d bb 1c 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 2f 01 00 00 8b ab 1c 01 00 00 89 ef 44
RSP: 0018:ffff8881dc1574b8 EFLAGS: 00010203
RAX: 0000000000000023 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000000011c
RBP: 0000000000000080 R08: ffffffff8387c1da R09: ffff8881dc157760
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: fffffff8fe085cd8 R14: 0000000000000000 R15: ffff8881dc15c012
FS:  00005555557e7380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000064a110 CR3: 00000001dd994000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
Modules linked in:
---[ end trace 16629969f6fa4627 ]---
RIP: 0010:cgroup_ancestor include/linux/cgroup.h:591 [inline]
RIP: 0010:____bpf_skb_ancestor_cgroup_id net/core/filter.c:4144 [inline]
RIP: 0010:bpf_skb_ancestor_cgroup_id+0x114/0x270 net/core/filter.c:4133
Code: 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 0d 59 0c fe 48 8b 1b 48 8d bb 1c 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 2f 01 00 00 8b ab 1c 01 00 00 89 ef 44
RSP: 0018:ffff8881dc1574b8 EFLAGS: 00010203
RAX: 0000000000000023 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000000011c
RBP: 0000000000000080 R08: ffffffff8387c1da R09: ffff8881dc157760
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: fffffff8fe085cd8 R14: 0000000000000000 R15: ffff8881dc15c012
FS:  00005555557e7380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000064a110 CR3: 00000001dd994000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	02 00                	add    (%rax),%al
   2:	00 48 89             	add    %cl,-0x77(%rax)
   5:	d8 48 c1             	fmuls  -0x3f(%rax)
   8:	e8 03 42 80 3c       	call   0x3c804210
   d:	20 00                	and    %al,(%rax)
   f:	74 08                	je     0x19
  11:	48 89 df             	mov    %rbx,%rdi
  14:	e8 0d 59 0c fe       	call   0xfe0c5926
  19:	48 8b 1b             	mov    (%rbx),%rbx
  1c:	48 8d bb 1c 01 00 00 	lea    0x11c(%rbx),%rdi
  23:	48 89 f8             	mov    %rdi,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 20       	movzbl (%rax,%r12,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 2f 01 00 00    	jne    0x166
  37:	8b ab 1c 01 00 00    	mov    0x11c(%rbx),%ebp
  3d:	89 ef                	mov    %ebp,%edi
  3f:	44                   	rex.R

Crashes (12952):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/20 00:17 android12-5.4 2d5d8240a7cb af24b050 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/04/19 23:48 android12-5.4 2d5d8240a7cb af24b050 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/01/10 23:00 android12-5.4 57a39998c138 04815ef1 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/01/10 16:57 android12-5.4 57a39998c138 04815ef1 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2023/09/28 23:01 android12-5.4 a1b9dbe5628a d265efd8 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2023/09/27 11:27 android12-5.4 a1b9dbe5628a 0b6a67ac .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2023/06/19 02:06 android12-5.4 39a9b92e9828 f3921d4d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2023/06/19 00:53 android12-5.4 39a9b92e9828 f3921d4d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2023/03/09 01:22 android12-5.4 250ac66f1853 4fc6d98d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2023/03/09 01:07 android12-5.4 250ac66f1853 4fc6d98d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2023/03/09 00:54 android12-5.4 250ac66f1853 4fc6d98d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2023/03/09 00:44 android12-5.4 250ac66f1853 4fc6d98d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2022/11/28 09:01 android12-5.4 c80a5b2e7f63 f4470a7b .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2022/11/28 08:54 android12-5.4 c80a5b2e7f63 f4470a7b .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2022/11/28 08:34 android12-5.4 c80a5b2e7f63 f4470a7b .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2022/11/28 08:27 android12-5.4 c80a5b2e7f63 f4470a7b .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2022/08/20 06:10 android12-5.4 f3c75e616e3f 26a13b38 .config strace log report syz C ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2022/08/20 06:10 android12-5.4 f3c75e616e3f 26a13b38 .config strace log report syz C ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2022/08/20 05:41 android12-5.4 f3c75e616e3f 26a13b38 .config strace log report syz C ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2022/08/20 05:39 android12-5.4 f3c75e616e3f 26a13b38 .config strace log report syz C ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2022/05/11 21:49 android12-5.4 b2ca0128d238 beb0b407 .config strace log report syz C ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2022/05/11 21:20 android12-5.4 b2ca0128d238 beb0b407 .config strace log report syz C ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2021/04/20 17:15 android12-5.4 d719af31dff4 c0ced557 .config console log report syz C ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2021/04/20 16:41 android12-5.4 d719af31dff4 c0ced557 .config console log report syz C ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2020/12/06 09:33 android12-5.4 616dba5e94cf f12ba0c5 .config console log report syz C ci2-android-5-4-kasan
2020/08/14 22:29 https://android.googlesource.com/kernel/common android-5.4 c3221b7ac740 5ce13532 .config console log report syz C ci2-android-5-4-kasan
2020/03/05 22:06 https://android.googlesource.com/kernel/common android-5.4 d0dbb0adbf9a b655d91b .config console log report syz C ci2-android-5-4-kasan
2020/01/11 05:03 https://android.googlesource.com/kernel/common android-5.4 f5f770e495ba 4c04afaa .config console log report syz C ci2-android-5-4-kasan
2024/07/03 15:54 android12-5.4 58de09405d1e 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/03 14:43 android12-5.4 58de09405d1e 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/03 11:52 android12-5.4 58de09405d1e 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/03 07:43 android12-5.4 58de09405d1e 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/03 04:32 android12-5.4 58de09405d1e 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/02 21:44 android12-5.4 58de09405d1e 07f0a0a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/02 18:10 android12-5.4 58de09405d1e 07f0a0a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/02 13:02 android12-5.4 58de09405d1e 07f0a0a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/02 11:37 android12-5.4 58de09405d1e 07f0a0a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/02 11:37 android12-5.4 58de09405d1e 07f0a0a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/02 10:24 android12-5.4 58de09405d1e 07f0a0a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/02 09:23 android12-5.4 58de09405d1e b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/02 08:03 android12-5.4 58de09405d1e b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/02 06:05 android12-5.4 58de09405d1e b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/02 04:51 android12-5.4 58de09405d1e b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/02 01:02 android12-5.4 58de09405d1e b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/01 23:30 android12-5.4 58de09405d1e b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/01 23:22 android12-5.4 58de09405d1e b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/01 20:28 android12-5.4 4275fce9fe94 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/01 14:27 android12-5.4 4275fce9fe94 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/01 10:59 android12-5.4 4275fce9fe94 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/01 09:04 android12-5.4 4275fce9fe94 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/01 06:44 android12-5.4 4275fce9fe94 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/01 03:35 android12-5.4 4275fce9fe94 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/07/01 02:32 android12-5.4 4275fce9fe94 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/30 21:16 android12-5.4 4275fce9fe94 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/30 13:02 android12-5.4 4275fce9fe94 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/30 11:36 android12-5.4 4275fce9fe94 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/29 05:09 android12-5.4 51e9abf68baf 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/29 01:02 android12-5.4 51e9abf68baf 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/28 18:50 android12-5.4 51e9abf68baf 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/28 17:50 android12-5.4 51e9abf68baf 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/28 16:30 android12-5.4 51e9abf68baf 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/28 15:22 android12-5.4 6f97bd951d82 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/28 09:22 android12-5.4 6f97bd951d82 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/28 05:17 android12-5.4 6f97bd951d82 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/28 03:27 android12-5.4 6f97bd951d82 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/28 02:20 android12-5.4 6f97bd951d82 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/28 00:48 android12-5.4 6f97bd951d82 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/28 00:47 android12-5.4 6f97bd951d82 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/27 23:46 android12-5.4 6f97bd951d82 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/27 19:56 android12-5.4 6f97bd951d82 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/27 18:56 android12-5.4 6f97bd951d82 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/27 16:46 android12-5.4 6f97bd951d82 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/27 15:10 android12-5.4 6f97bd951d82 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/27 11:36 android12-5.4 6f97bd951d82 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/27 11:34 android12-5.4 6f97bd951d82 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2024/06/27 10:34 android12-5.4 6f97bd951d82 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan general protection fault in bpf_skb_ancestor_cgroup_id
2021/01/16 06:04 android12-5.4 dc04463953b2 65a7a854 .config console log report info ci2-android-5-4-kasan
2020/01/11 04:43 https://android.googlesource.com/kernel/common android-5.4 f5f770e495ba 4c04afaa .config console log report ci2-android-5-4-kasan
* Struck through repros no longer work on HEAD.