syzbot


general protection fault in vlan_passthru_hard_header (2)

Status: auto-obsoleted due to no activity on 2023/09/19 19:09
Subsystems: net
[Documentation on labels]
First crash: 862d, last: 862d
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 net 2 1 990d 990d 0/29 closed as invalid on 2023/03/21 17:14

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000047: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000238-0x000000000000023f]
CPU: 0 PID: 13003 Comm: kworker/0:13 Not tainted 6.3.0-rc6-syzkaller-00132-ge50b9b9e8610 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Workqueue: mld mld_ifc_work
RIP: 0010:dev_hard_header include/linux/netdevice.h:3103 [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 9f 97 41 f8 49 8d bd 38 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 38 02 00 00 48 85 db 74 67
RSP: 0000:ffffc9000318f978 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff888030f9c000 RCX: 0000000000000000
RDX: 0000000000000047 RSI: ffffffff894143c1 RDI: 0000000000000238
RBP: ffff88807a447b28 R08: 0000000000000000 R09: 000000000000004c
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88804d732780
R13: 0000000000000000 R14: ffff88807a2839a8 R15: 000000000000004c
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32878000 CR3: 000000004ea04000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 dev_hard_header include/linux/netdevice.h:3106 [inline]
 neigh_connected_output+0x35e/0x550 net/core/neighbour.c:1607
 neigh_output include/net/neighbour.h:546 [inline]
 ip6_finish_output2+0x56c/0x1590 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:444 [inline]
 NF_HOOK include/linux/netfilter.h:302 [inline]
 NF_HOOK include/linux/netfilter.h:296 [inline]
 mld_sendpack+0xa09/0xed0 net/ipv6/mcast.c:1820
 mld_send_cr net/ipv6/mcast.c:2121 [inline]
 mld_ifc_work+0x73c/0xe20 net/ipv6/mcast.c:2653
 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390
 worker_thread+0x669/0x1090 kernel/workqueue.c:2537
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dev_hard_header include/linux/netdevice.h:3103 [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 9f 97 41 f8 49 8d bd 38 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 38 02 00 00 48 85 db 74 67
RSP: 0000:ffffc9000318f978 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff888030f9c000 RCX: 0000000000000000
RDX: 0000000000000047 RSI: ffffffff894143c1 RDI: 0000000000000238
RBP: ffff88807a447b28 R08: 0000000000000000 R09: 000000000000004c
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88804d732780
R13: 0000000000000000 R14: ffff88807a2839a8 R15: 000000000000004c
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32878000 CR3: 000000004ea04000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
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 9f 97 41 f8       	callq  0xf84197b1
  12:	49 8d bd 38 02 00 00 	lea    0x238(%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 38 02 00 00 	mov    0x238(%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
2023/04/18 17:38 net e50b9b9e8610 d931e9f0 .config console log report info ci-upstream-net-this-kasan-gce general protection fault in vlan_passthru_hard_header
* Struck through repros no longer work on HEAD.