syzbot


general protection fault in __team_options_unregister

Status: auto-obsoleted due to no activity on 2025/04/10 04:13
Subsystems: net
[Documentation on labels]
First crash: 144d, last: 132d

Sample crash report:
veth0_vlan: left promiscuous mode
team0 (unregistering): Port device team_slave_1 removed
team0 (unregistering): Port device team_slave_0 removed
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 UID: 0 PID: 19137 Comm: kworker/u8:61 Not tainted 6.13.0-rc3-syzkaller-00062-gc061cf420ded #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024
Workqueue: netns cleanup_net
RIP: 0010:strcmp+0x39/0xb0 lib/string.c:276
Code: df 41 54 55 53 48 89 fb 48 83 ec 08 eb 08 40 84 ed 74 61 4c 89 e6 48 89 df 48 83 c3 01 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <42> 0f b6 04 28 38 d0 7f 04 84 c0 75 58 0f b6 6b ff 4c 8d 66 01 48
RSP: 0018:ffffc9000c217830 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff8636e68d
RDX: 0000000000000000 RSI: ffffffff8bf34c20 RDI: 0000000000000000
RBP: dffffc0000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 000000000000000a R11: 0000000000000004 R12: ffffffff8bf34c20
R13: dffffc0000000000 R14: ffffffff8bf34eb0 R15: ffff88806284ce98
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055caa909fd88 CR3: 000000000db7e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __team_find_option drivers/net/team/team_core.c:124 [inline]
 __team_options_unregister+0xf1/0x300 drivers/net/team/team_core.c:323
 team_uninit+0x107/0x1c0 drivers/net/team/team_core.c:1678
 unregister_netdevice_many_notify+0xf77/0x1e60 net/core/dev.c:11548
 unregister_netdevice_many net/core/dev.c:11590 [inline]
 default_device_exit_batch+0x740/0x9c0 net/core/dev.c:12073
 ops_exit_list+0x128/0x180 net/core/net_namespace.c:177
 cleanup_net+0x5b7/0xbd0 net/core/net_namespace.c:648
 process_one_work+0x958/0x1b30 kernel/workqueue.c:3229
 process_scheduled_works kernel/workqueue.c:3310 [inline]
 worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391
 kthread+0x2c1/0x3a0 kernel/kthread.c:389
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:strcmp+0x39/0xb0 lib/string.c:276
Code: df 41 54 55 53 48 89 fb 48 83 ec 08 eb 08 40 84 ed 74 61 4c 89 e6 48 89 df 48 83 c3 01 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <42> 0f b6 04 28 38 d0 7f 04 84 c0 75 58 0f b6 6b ff 4c 8d 66 01 48
RSP: 0018:ffffc9000c217830 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff8636e68d
RDX: 0000000000000000 RSI: ffffffff8bf34c20 RDI: 0000000000000000
RBP: dffffc0000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 000000000000000a R11: 0000000000000004 R12: ffffffff8bf34c20
R13: dffffc0000000000 R14: ffffffff8bf34eb0 R15: ffff88806284ce98
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055caa909c890 CR3: 0000000034764000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	df 41 54             	filds  0x54(%rcx)
   3:	55                   	push   %rbp
   4:	53                   	push   %rbx
   5:	48 89 fb             	mov    %rdi,%rbx
   8:	48 83 ec 08          	sub    $0x8,%rsp
   c:	eb 08                	jmp    0x16
   e:	40 84 ed             	test   %bpl,%bpl
  11:	74 61                	je     0x74
  13:	4c 89 e6             	mov    %r12,%rsi
  16:	48 89 df             	mov    %rbx,%rdi
  19:	48 83 c3 01          	add    $0x1,%rbx
  1d:	48 89 f8             	mov    %rdi,%rax
  20:	48 89 fa             	mov    %rdi,%rdx
  23:	48 c1 e8 03          	shr    $0x3,%rax
  27:	83 e2 07             	and    $0x7,%edx
* 2a:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax <-- trapping instruction
  2f:	38 d0                	cmp    %dl,%al
  31:	7f 04                	jg     0x37
  33:	84 c0                	test   %al,%al
  35:	75 58                	jne    0x8f
  37:	0f b6 6b ff          	movzbl -0x1(%rbx),%ebp
  3b:	4c 8d 66 01          	lea    0x1(%rsi),%r12
  3f:	48                   	rex.W

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/19 02:11 upstream c061cf420ded 1432fc84 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in __team_options_unregister
2024/12/30 11:16 upstream fc033cf25e61 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto BUG: corrupted list in __team_options_unregister
* Struck through repros no longer work on HEAD.