syzbot


general protection fault in ip6_mc_clear_src (2)

Status: upstream: reported on 2025/06/04 19:25
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+cea6d5c85e63d691dfc1@syzkaller.appspotmail.com
First crash: 69d, last: 2d16h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] general protection fault in ip6_mc_clear_src (2) 0 (1) 2025/06/04 19:25
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in ip6_mc_clear_src net 2 2 107d 117d 0/29 closed as invalid on 2025/04/18 16:40

Sample crash report:
veth0_macvtap: left promiscuous mode
veth1_vlan: left promiscuous mode
veth0_vlan: left promiscuous mode
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: 1 UID: 0 PID: 18695 Comm: kworker/u8:1 Not tainted 6.16.0-rc5-syzkaller-00038-g733923397fd9 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: netns cleanup_net
RIP: 0010:ip6_mc_clear_src+0x89/0x5a0 net/ipv6/mcast.c:2599
Code: 49 bc 00 00 00 00 00 fc ff df 48 8d 45 10 49 89 c5 48 89 04 24 49 c1 ed 03 4d 01 e5 eb 32 e8 2e aa 7d f7 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 80 04 00 00 4c 8b 3b 48 8d 7b 30 48 89 de e8
RSP: 0018:ffffc9000b9e7398 EFLAGS: 00010206
RAX: 000000001fffe000 RBX: 00000000ffff0000 RCX: ffffffff8a3e4d5b
RDX: ffff888029068000 RSI: ffffffff8a3e4ce2 RDI: 0000000000000005
RBP: ffff88805778b800 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000
R13: ffffed100aef1702 R14: ffff88805778b828 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff888124816000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9d397e69d8 CR3: 000000004148b000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000097 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __ipv6_dev_mc_dec+0x2bd/0x3b0 net/ipv6/mcast.c:1021
 addrconf_leave_solict net/ipv6/addrconf.c:2254 [inline]
 __ipv6_ifa_notify+0x3d8/0xd60 net/ipv6/addrconf.c:6302
 addrconf_ifdown.isra.0+0xe8b/0x1a90 net/ipv6/addrconf.c:3981
 addrconf_notify+0x220/0x19e0 net/ipv6/addrconf.c:3780
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 dev_close_many+0x319/0x630 net/core/dev.c:1785
 unregister_netdevice_many_notify+0x578/0x2700 net/core/dev.c:12047
 unregister_netdevice_many net/core/dev.c:12140 [inline]
 default_device_exit_batch+0x853/0xaf0 net/core/dev.c:12644
 ops_exit_list net/core/net_namespace.c:206 [inline]
 ops_undo_list+0x363/0xab0 net/core/net_namespace.c:253
 cleanup_net+0x408/0x890 net/core/net_namespace.c:686
 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3321 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
 kthread+0x3c5/0x780 kernel/kthread.c:464
 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:ip6_mc_clear_src+0x89/0x5a0 net/ipv6/mcast.c:2599
Code: 49 bc 00 00 00 00 00 fc ff df 48 8d 45 10 49 89 c5 48 89 04 24 49 c1 ed 03 4d 01 e5 eb 32 e8 2e aa 7d f7 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 80 04 00 00 4c 8b 3b 48 8d 7b 30 48 89 de e8
RSP: 0018:ffffc9000b9e7398 EFLAGS: 00010206

RAX: 000000001fffe000 RBX: 00000000ffff0000 RCX: ffffffff8a3e4d5b
RDX: ffff888029068000 RSI: ffffffff8a3e4ce2 RDI: 0000000000000005
RBP: ffff88805778b800 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000
R13: ffffed100aef1702 R14: ffff88805778b828 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff888124716000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3101bff8 CR3: 0000000030eb5000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000097 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	49 bc 00 00 00 00 00 	movabs $0xdffffc0000000000,%r12
   7:	fc ff df
   a:	48 8d 45 10          	lea    0x10(%rbp),%rax
   e:	49 89 c5             	mov    %rax,%r13
  11:	48 89 04 24          	mov    %rax,(%rsp)
  15:	49 c1 ed 03          	shr    $0x3,%r13
  19:	4d 01 e5             	add    %r12,%r13
  1c:	eb 32                	jmp    0x50
  1e:	e8 2e aa 7d f7       	call   0xf77daa51
  23:	48 89 d8             	mov    %rbx,%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 80 04 00 00    	jne    0x4b5
  35:	4c 8b 3b             	mov    (%rbx),%r15
  38:	48 8d 7b 30          	lea    0x30(%rbx),%rdi
  3c:	48 89 de             	mov    %rbx,%rsi
  3f:	e8                   	.byte 0xe8

Crashes (25):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/09 10:10 upstream 733923397fd9 abade794 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in ip6_mc_clear_src
2025/07/06 18:41 upstream 1f988d0788f5 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in ip6_mc_clear_src
2025/06/04 19:24 upstream 1af80d00e1e0 fd5e6e61 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in ip6_mc_clear_src
2025/05/06 16:49 upstream 01f95500a162 ae98e6b9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root general protection fault in ip6_mc_clear_src
2025/07/10 09:47 upstream 8c2e52ebbe88 d7384b6d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in ip6_mc_clear_src
2025/05/07 12:06 upstream 0d8d44db295c 350f4ffc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in ip6_mc_clear_src
2025/07/03 04:06 net bd475eeaaf3c 0cd59a8f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/06/28 07:20 net 8550821a1535 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/06/26 12:14 net 8d89661a36dd 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/06/26 10:52 net 8d89661a36dd 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/06/25 21:34 net 010c40c1f50e 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/06/24 18:06 net 1fd26729e013 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/06/24 07:04 net 95b6759a8183 1a7fb460 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/06/22 19:22 net 302251f1fdfd d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/06/21 23:38 net 714db279942b d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/06/18 14:00 net d0fa59897e04 ca631f70 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/06/18 05:58 net 0aff00432cc7 e77fae15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/06/17 17:15 net 7b4ac12cc929 417d98fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/06/17 14:16 net 7b4ac12cc929 417d98fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/06/17 06:59 net 1224b218a4b9 cfebc887 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/06/16 17:44 net 5466491c9e33 d1716036 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/06/14 20:16 net 5466491c9e33 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/05/07 20:01 net 9540984da649 350f4ffc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/05/04 17:01 net ebd297a2affa b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_mc_clear_src
2025/06/30 17:57 net-next 7012d4f3c7a8 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in ip6_mc_clear_src
* Struck through repros no longer work on HEAD.