syzbot


general protection fault in add_grec (2)

Status: upstream: reported on 2025/06/10 08:01
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+2d29aae505225ce697ee@syzkaller.appspotmail.com
First crash: 84d, last: 1d01h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] general protection fault in add_grec (2) 0 (1) 2025/06/10 08:01
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in add_grec net 2 2 193d 198d 0/29 closed as invalid on 2025/03/17 11:18
upstream BUG: unable to handle kernel NULL pointer dereference in add_grec net 10 2 1010d 1032d 0/29 closed as invalid on 2023/02/17 17:35

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc001fffe000: 0000 [#1] SMP KASAN NOPTI
KASAN: probably user-memory-access in range [0x00000000ffff0000-0x00000000ffff0007]
CPU: 0 UID: 0 PID: 5957 Comm: kworker/0:7 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Workqueue: mld mld_ifc_work
RIP: 0010:add_grec+0xac4/0x1720 net/ipv6/mcast.c:1960
Code: 42 72 70 f7 e8 9d 97 48 01 31 ff 41 89 c5 89 c6 e8 71 6d 70 f7 45 85 ed 0f 85 76 02 00 00 e8 23 72 70 f7 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 2d 0a 00 00 48 8b 7c 24 70 44 8b 44 24 64 4c
RSP: 0018:ffffc900031d7ae0 EFLAGS: 00010206
RAX: 000000001fffe000 RBX: 0000000000000000 RCX: ffffffff8a4b1c75
RDX: ffff888035f92440 RSI: ffffffff8a4b19dd RDI: 0000000000000005
RBP: ffffc900031d7be8 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000001 R15: 00000000ffff0000
FS:  0000000000000000(0000) GS:ffff8881246b9000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200001000000 CR3: 000000000e380000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 mld_send_cr net/ipv6/mcast.c:2145 [inline]
 mld_ifc_work+0x392/0xbf0 net/ipv6/mcast.c:2698
 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3236
 process_scheduled_works kernel/workqueue.c:3319 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400
 kthread+0x3c5/0x780 kernel/kthread.c:463
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:add_grec+0xac4/0x1720 net/ipv6/mcast.c:1960
Code: 42 72 70 f7 e8 9d 97 48 01 31 ff 41 89 c5 89 c6 e8 71 6d 70 f7 45 85 ed 0f 85 76 02 00 00 e8 23 72 70 f7 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 2d 0a 00 00 48 8b 7c 24 70 44 8b 44 24 64 4c
RSP: 0018:ffffc900031d7ae0 EFLAGS: 00010206
RAX: 000000001fffe000 RBX: 0000000000000000 RCX: ffffffff8a4b1c75
RDX: ffff888035f92440 RSI: ffffffff8a4b19dd RDI: 0000000000000005
RBP: ffffc900031d7be8 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000001 R15: 00000000ffff0000
FS:  0000000000000000(0000) GS:ffff8881246b9000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555c4725c8 CR3: 00000000775dd000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	42 72 70             	rex.X jb 0x73
   3:	f7 e8                	imul   %eax
   5:	9d                   	popf
   6:	97                   	xchg   %eax,%edi
   7:	48 01 31             	add    %rsi,(%rcx)
   a:	ff 41 89             	incl   -0x77(%rcx)
   d:	c5 89 c6 e8 71       	vshufpd $0x71,%xmm0,%xmm14,%xmm5
  12:	6d                   	insl   (%dx),%es:(%rdi)
  13:	70 f7                	jo     0xc
  15:	45 85 ed             	test   %r13d,%r13d
  18:	0f 85 76 02 00 00    	jne    0x294
  1e:	e8 23 72 70 f7       	call   0xf7707246
  23:	4c 89 f8             	mov    %r15,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1) <-- trapping instruction
  2f:	0f 85 2d 0a 00 00    	jne    0xa62
  35:	48 8b 7c 24 70       	mov    0x70(%rsp),%rdi
  3a:	44 8b 44 24 64       	mov    0x64(%rsp),%r8d
  3f:	4c                   	rex.WR

Crashes (28):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/27 22:51 upstream 39f90c196721 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in add_grec
2025/08/22 02:28 upstream 3957a5720157 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in add_grec
2025/08/16 14:31 upstream 038d61fd6422 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in add_grec
2025/08/10 11:29 upstream 2b38afce25c4 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in add_grec
2025/07/27 10:01 upstream ec2df4364666 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in add_grec
2025/06/05 05:57 upstream 64980441d269 6b6b5f21 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in add_grec
2025/07/24 13:30 upstream 25fae0b93d1d 65d60d73 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in add_grec
2025/08/25 23:26 net ec79003c5f9d bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in add_grec
2025/08/25 15:15 net ec79003c5f9d bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in add_grec
2025/08/24 04:01 net ec79003c5f9d bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in add_grec
2025/08/20 12:10 net 51f27beeb79f bd178e57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in add_grec
2025/08/20 03:43 net 01792bc3e5bd 79512909 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in add_grec
2025/08/18 18:23 net 715c7a36d59f 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in add_grec
2025/08/17 02:18 net 715c7a36d59f 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in add_grec
2025/08/12 03:04 net 33caa208dba6 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in add_grec
2025/08/09 14:31 net 33caa208dba6 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in add_grec
2025/08/09 06:26 net 33caa208dba6 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in add_grec
2025/08/05 05:45 net 4eabe4cc0958 abdcb213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in add_grec
2025/07/20 21:03 net 81e0db8e8398 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in add_grec
2025/06/23 08:39 net b993ea46b3b6 d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in add_grec
2025/06/18 12:04 net d0fa59897e04 ca631f70 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in add_grec
2025/08/24 05:30 net-next b1c92cdf5af3 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in add_grec
2025/08/23 10:04 net-next b1c92cdf5af3 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in add_grec
2025/08/18 02:40 net-next bab3ce404553 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in add_grec
2025/08/05 17:55 net-next d9104cec3e8f 904e669c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in add_grec
2025/08/05 14:43 net-next d9104cec3e8f 904e669c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in add_grec
2025/07/21 05:21 net-next 4701ee5044fb 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in add_grec
2025/08/02 15:23 linux-next 84b92a499e7e 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in add_grec
* Struck through repros no longer work on HEAD.