syzbot


general protection fault in ops_exit_list

Status: auto-closed as invalid on 2022/09/08 18:11
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 180d, last: 180d

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 775 Comm: kworker/u4:2 Not tainted 5.19.0-rc1-syzkaller-00095-g874c8ca1e60b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
RIP: 0010:__list_del_entry_valid+0x81/0xf0 lib/list_debug.c:51
Code: 0f 84 70 fe 41 05 48 b8 22 01 00 00 00 00 ad de 49 39 c4 0f 84 71 fe 41 05 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 51 49 8b 14 24 48 39 ea 0f 85 25 fe 41 05 49 8d 7d
RSP: 0018:ffffc90003fffbc0 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff888026d05210 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff879d8f51 RDI: ffff888026d05228
RBP: ffff888026d05220 R08: 0000000000000001 R09: ffffc90003fffa5f
R10: fffff520007fff4b R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888026d05228
FS:  0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fead59266c8 CR3: 000000007b586000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ops_exit_list+0xb0/0x170 net/core/net_namespace.c:162
 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:594
 process_one_work+0x996/0x1610 kernel/workqueue.c:2289
 worker_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid+0x81/0xf0 lib/list_debug.c:51
Code: 0f 84 70 fe 41 05 48 b8 22 01 00 00 00 00 ad de 49 39 c4 0f 84 71 fe 41 05 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 51 49 8b 14 24 48 39 ea 0f 85 25 fe 41 05 49 8d 7d
RSP: 0018:ffffc90003fffbc0 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff888026d05210 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff879d8f51 RDI: ffff888026d05228
RBP: ffff888026d05220 R08: 0000000000000001 R09: ffffc90003fffa5f
R10: fffff520007fff4b R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888026d05228
FS:  0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fead59266c8 CR3: 000000007b586000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	0f 84 70 fe 41 05    	je     0x541fe76
   6:	48 b8 22 01 00 00 00 	movabs $0xdead000000000122,%rax
   d:	00 ad de
  10:	49 39 c4             	cmp    %rax,%r12
  13:	0f 84 71 fe 41 05    	je     0x541fe8a
  19:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  20:	fc ff df
  23:	4c 89 e2             	mov    %r12,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	75 51                	jne    0x81
  30:	49 8b 14 24          	mov    (%r12),%rdx
  34:	48 39 ea             	cmp    %rbp,%rdx
  37:	0f 85 25 fe 41 05    	jne    0x541fe62
  3d:	49                   	rex.WB
  3e:	8d                   	.byte 0x8d
  3f:	7d                   	.byte 0x7d

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2022/06/10 18:01 upstream 874c8ca1e60b 0d5abf15 .config log report info general protection fault in ops_exit_list
* Struck through repros no longer work on HEAD.