syzbot


general protection fault in vlan_passthru_hard_header

Status: closed as invalid on 2023/03/21 17:14
Subsystems: net
[Documentation on labels]
First crash: 989d, last: 989d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in vlan_passthru_hard_header (2) net 2 1 861d 861d 0/29 auto-obsoleted due to no activity on 2023/09/19 19:09

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000046: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000230-0x0000000000000237]
CPU: 1 PID: 3735 Comm: kworker/1:6 Not tainted 6.1.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: mld mld_ifc_work
RIP: 0010:dev_hard_header include/linux/netdevice.h:3057 [inline]
RIP: 0010:vlan_passthru_hard_header+0x79/0x160 net/8021q/vlan_dev.c:537
Code: 4c 8b ab 30 0d 00 00 0f 84 9f 00 00 00 e8 6f de 8e f8 49 8d bd 30 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 a7 00 00 00 49 8b 9d 30 02 00 00 48 85 db 74 67
RSP: 0018:ffffc90003cbf978 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff888081a12000 RCX: 0000000000000000
RDX: 0000000000000046 RSI: ffffffff88f06231 RDI: 0000000000000230
RBP: ffff888026ca2a28 R08: 0000000000000000 R09: 000000000000004c
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808eeaf480
R13: 0000000000000000 R14: ffff88802794c9a8 R15: 000000000000004c
FS:  0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555563d1848 CR3: 000000001dc16000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 dev_hard_header include/linux/netdevice.h:3060 [inline]
 neigh_connected_output+0x360/0x520 net/core/neighbour.c:1595
 neigh_output include/net/neighbour.h:546 [inline]
 ip6_finish_output2+0x56c/0x1530 net/ipv6/ip6_output.c:134
 __ip6_finish_output net/ipv6/ip6_output.c:195 [inline]
 ip6_finish_output+0x694/0x1170 net/ipv6/ip6_output.c:206
 NF_HOOK_COND include/linux/netfilter.h:291 [inline]
 ip6_output+0x1f1/0x540 net/ipv6/ip6_output.c:227
 dst_output include/net/dst.h:445 [inline]
 NF_HOOK include/linux/netfilter.h:302 [inline]
 NF_HOOK include/linux/netfilter.h:296 [inline]
 mld_sendpack+0xa09/0xe70 net/ipv6/mcast.c:1820
 mld_send_cr net/ipv6/mcast.c:2121 [inline]
 mld_ifc_work+0x720/0xdc0 net/ipv6/mcast.c:2653
 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289
 worker_thread+0x669/0x1090 kernel/workqueue.c:2436
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dev_hard_header include/linux/netdevice.h:3057 [inline]
RIP: 0010:vlan_passthru_hard_header+0x79/0x160 net/8021q/vlan_dev.c:537
Code: 4c 8b ab 30 0d 00 00 0f 84 9f 00 00 00 e8 6f de 8e f8 49 8d bd 30 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 a7 00 00 00 49 8b 9d 30 02 00 00 48 85 db 74 67
RSP: 0018:ffffc90003cbf978 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff888081a12000 RCX: 0000000000000000
RDX: 0000000000000046 RSI: ffffffff88f06231 RDI: 0000000000000230
RBP: ffff888026ca2a28 R08: 0000000000000000 R09: 000000000000004c
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808eeaf480
R13: 0000000000000000 R14: ffff88802794c9a8 R15: 000000000000004c
FS:  0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555563d1848 CR3: 000000001dc16000 CR4: 00000000003506e0
----------------
Code disassembly (best guess):
   0:	4c 8b ab 30 0d 00 00 	mov    0xd30(%rbx),%r13
   7:	0f 84 9f 00 00 00    	je     0xac
   d:	e8 6f de 8e f8       	callq  0xf88ede81
  12:	49 8d bd 30 02 00 00 	lea    0x230(%r13),%rdi
  19:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  20:	fc ff df
  23:	48 89 fa             	mov    %rdi,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	0f 85 a7 00 00 00    	jne    0xdb
  34:	49 8b 9d 30 02 00 00 	mov    0x230(%r13),%rbx
  3b:	48 85 db             	test   %rbx,%rbx
  3e:	74 67                	je     0xa7

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/12 04:44 upstream 830b3c68c1fb 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in vlan_passthru_hard_header
* Struck through repros no longer work on HEAD.