syzbot


general protection fault in ip6_tnl_exit_batch_rtnl

Status: closed as invalid on 2025/06/04 11:51
Subsystems: net
[Documentation on labels]
First crash: 107d, last: 107d

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc001fffe001: 0000 [#1] SMP KASAN PTI
KASAN: probably user-memory-access in range [0x00000000ffff0008-0x00000000ffff000f]
CPU: 0 UID: 0 PID: 53 Comm: kworker/u8:3 Not tainted 6.15.0-rc4-syzkaller-00152-g4397684a292a #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025
Workqueue: netns cleanup_net
RIP: 0010:ip6_tnl_destroy_tunnels net/ipv6/ip6_tunnel.c:2230 [inline]
RIP: 0010:ip6_tnl_exit_batch_rtnl+0x217/0x590 net/ipv6/ip6_tunnel.c:2297
Code: 4c 89 f7 e8 bb 8e fa f7 49 8b 2e 48 85 ed 75 0f e8 ae 99 98 f7 e9 19 01 00 00 e8 a4 99 98 f7 48 8d 5d 08 49 89 de 49 c1 ee 03 <43> 80 3c 3e 00 74 08 48 89 df e8 8a 8e fa f7 4c 8b 2b b8 08 01 00
RSP: 0018:ffffc90000bf79d8 EFLAGS: 00010202
RAX: 1ffff110051a8b05 RBX: 00000000ffff0008 RCX: 0000000000000004
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 00000000ffff0000 R08: ffffffff8f2f41e7 R09: 1ffffffff1e5e83c
R10: dffffc0000000000 R11: fffffbfff1e5e83d R12: ffff88801132e000
R13: ffff888029098b78 R14: 000000001fffe001 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881260cc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe1b8f0a440 CR3: 000000007d8f2000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 cleanup_net+0x664/0xbd0 net/core/net_namespace.c:647
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0xadb/0x17a0 kernel/workqueue.c:3319
 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
 kthread+0x70e/0x8a0 kernel/kthread.c:464
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ip6_tnl_destroy_tunnels net/ipv6/ip6_tunnel.c:2230 [inline]
RIP: 0010:ip6_tnl_exit_batch_rtnl+0x217/0x590 net/ipv6/ip6_tunnel.c:2297
Code: 4c 89 f7 e8 bb 8e fa f7 49 8b 2e 48 85 ed 75 0f e8 ae 99 98 f7 e9 19 01 00 00 e8 a4 99 98 f7 48 8d 5d 08 49 89 de 49 c1 ee 03 <43> 80 3c 3e 00 74 08 48 89 df e8 8a 8e fa f7 4c 8b 2b b8 08 01 00
RSP: 0018:ffffc90000bf79d8 EFLAGS: 00010202
RAX: 1ffff110051a8b05 RBX: 00000000ffff0008 RCX: 0000000000000004
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 00000000ffff0000 R08: ffffffff8f2f41e7 R09: 1ffffffff1e5e83c
R10: dffffc0000000000 R11: fffffbfff1e5e83d R12: ffff88801132e000
R13: ffff888029098b78 R14: 000000001fffe001 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881260cc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe1b8f0a440 CR3: 00000000318ba000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	4c 89 f7             	mov    %r14,%rdi
   3:	e8 bb 8e fa f7       	call   0xf7fa8ec3
   8:	49 8b 2e             	mov    (%r14),%rbp
   b:	48 85 ed             	test   %rbp,%rbp
   e:	75 0f                	jne    0x1f
  10:	e8 ae 99 98 f7       	call   0xf79899c3
  15:	e9 19 01 00 00       	jmp    0x133
  1a:	e8 a4 99 98 f7       	call   0xf79899c3
  1f:	48 8d 5d 08          	lea    0x8(%rbp),%rbx
  23:	49 89 de             	mov    %rbx,%r14
  26:	49 c1 ee 03          	shr    $0x3,%r14
* 2a:	43 80 3c 3e 00       	cmpb   $0x0,(%r14,%r15,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	48 89 df             	mov    %rbx,%rdi
  34:	e8 8a 8e fa f7       	call   0xf7fa8ec3
  39:	4c 8b 2b             	mov    (%rbx),%r13
  3c:	b8                   	.byte 0xb8
  3d:	08 01                	or     %al,(%rcx)

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/06 03:37 net 4397684a292a ae98e6b9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in ip6_tnl_exit_batch_rtnl
* Struck through repros no longer work on HEAD.