syzbot


general protection fault in per_cpu_remove_cache

Status: auto-closed as invalid on 2022/03/21 14:37
Reported-by: syzbot+b99bcfbdcc1de7c33ff4@syzkaller.appspotmail.com
First crash: 896d, last: 896d

Sample crash report:
ipt_CLUSTERIP: Please specify destination IP
ipt_CLUSTERIP: Please specify destination IP
ipt_CLUSTERIP: Please specify destination IP
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 13527 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:qlist_move_cache+0x67/0xd0 mm/kasan/quarantine.c:275
Code: 00 00 00 eb 22 49 83 3e 00 74 7d 49 8b 46 08 4c 89 28 4d 89 6e 08 49 c7 45 00 00 00 00 00 49 01 56 10 4d 85 ff 74 56 4d 89 fd <4d> 8b 3f 4c 89 ef e8 ce ea 92 ff 48 c1 e8 0c 48 c1 e0 06 4c 01 e0
ipt_CLUSTERIP: Please specify destination IP
RSP: 0018:ffff88808bbbfb20 EFLAGS: 00010002
RAX: ffff8880a8d83508 RBX: ffff88808bbbfb58 RCX: ffffea0001489a87
RDX: 00000000000005c0 RSI: ffffffff812b5eca RDI: 0000000000000007
RBP: ffff8880a462a200 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: ffffea0000000000
R13: 0770007707000770 R14: ffff8880ba128700 R15: 0770007707000770
FS:  0000555556ee2400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffceebecec8 CR3: 00000000b2d66000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 per_cpu_remove_cache+0x57/0x80 mm/kasan/quarantine.c:294
ipt_CLUSTERIP: Please specify destination IP
 on_each_cpu+0xed/0x240 kernel/smp.c:604
 quarantine_remove_cache+0x50/0x100 mm/kasan/quarantine.c:311
 shutdown_cache+0xe/0x1e0 mm/slab_common.c:562
 kmem_cache_destroy+0x267/0x310 mm/slab_common.c:927
 p9_client_destroy+0x250/0x360 net/9p/client.c:1112
 v9fs_session_close+0x45/0x2c0 fs/9p/v9fs.c:513
 v9fs_kill_super+0x49/0x90 fs/9p/vfs_super.c:233
 deactivate_locked_super+0x94/0x160 fs/super.c:329
 deactivate_super+0x174/0x1a0 fs/super.c:360
 cleanup_mnt+0x1a8/0x290 fs/namespace.c:1098
 task_work_run+0x148/0x1c0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:193 [inline]
 exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f1530792f57
Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffceebed608 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f1530792f57
RDX: 00007ffceebed6da RSI: 000000000000000a RDI: 00007ffceebed6d0
RBP: 00007ffceebed6d0 R08: 00000000ffffffff R09: 00007ffceebed4a0
R10: 0000555556ee3903 R11: 0000000000000246 R12: 00007f15307eb105
R13: 00007ffceebee790 R14: 0000555556ee3810 R15: 00007ffceebee7d0
Modules linked in:
---[ end trace 539499aa7845e600 ]---
BUG: unable to handle kernel paging request at ffff887ffffffe90
RIP: 0010:qlist_move_cache+0x67/0xd0 mm/kasan/quarantine.c:275
PGD 0 P4D 0 
Code: 00 00 00 eb 22 49 83 3e 00 74 7d 49 8b 46 08 4c 89 28 4d 89 6e 08 49 c7 45 00 00 00 00 00 49 01 56 10 4d 85 ff 74 56 4d 89 fd <4d> 8b 3f 4c 89 ef e8 ce ea 92 ff 48 c1 e8 0c 48 c1 e0 06 4c 01 e0
Oops: 0000 [#2] PREEMPT SMP KASAN
RSP: 0018:ffff88808bbbfb20 EFLAGS: 00010002
CPU: 0 PID: 19685 Comm: syz-executor.5 Tainted: G      D           4.19.211-syzkaller #0
RAX: ffff8880a8d83508 RBX: ffff88808bbbfb58 RCX: ffffea0001489a87
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RDX: 00000000000005c0 RSI: ffffffff812b5eca RDI: 0000000000000007
RIP: 0010:mm_update_next_owner+0x444/0x650 kernel/exit.c:453
RBP: ffff8880a462a200 R08: 0000000000000001 R09: 0000000000000000
Code: 70 fa ff ff 49 39 c5 0f 84 df fe ff ff e8 34 c7 29 00 4c 8d 85 20 04 00 00 4c 89 c0 48 c1 e8 03 80 3c 18 00 0f 85 18 01 00 00 <4c> 8b bd 20 04 00 00 4d 39 e7 75 95 e9 12 fd ff ff e8 06 c7 29 00
R10: 0000000000000007 R11: 0000000000000000 R12: ffffea0000000000
RSP: 0018:ffff88804e56fa98 EFLAGS: 00010246
R13: 0770007707000770 R14: ffff8880ba128700 R15: 0770007707000770
RAX: 1ffff10fffffffd2 RBX: dffffc0000000000 RCX: ffffffff8138bd9e
FS:  0000555556ee2400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
RDX: 0000000000000000 RSI: ffffffff8138be3c RDI: ffff8880584e27c0
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
RBP: ffff887ffffffa70 R08: ffff887ffffffe90 R09: 0000000000000000
CR2: 00007ffceebecec8 CR3: 00000000b2d66000 CR4: 00000000003406e0
R10: 0000000000000005 R11: 00000000dea84eb1 R12: ffff88804c682b80
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
R13: ffff888000191450 R14: ffff888095d50640 R15: ffff88804743f740
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
FS:  0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
----------------
Code disassembly (best guess):
   0:	00 00                	add    %al,(%rax)
   2:	00 eb                	add    %ch,%bl
   4:	22 49 83             	and    -0x7d(%rcx),%cl
   7:	3e 00 74 7d 49       	add    %dh,%ds:0x49(%rbp,%rdi,2)
   c:	8b 46 08             	mov    0x8(%rsi),%eax
   f:	4c 89 28             	mov    %r13,(%rax)
  12:	4d 89 6e 08          	mov    %r13,0x8(%r14)
  16:	49 c7 45 00 00 00 00 	movq   $0x0,0x0(%r13)
  1d:	00
  1e:	49 01 56 10          	add    %rdx,0x10(%r14)
  22:	4d 85 ff             	test   %r15,%r15
  25:	74 56                	je     0x7d
  27:	4d 89 fd             	mov    %r15,%r13
* 2a:	4d 8b 3f             	mov    (%r15),%r15 <-- trapping instruction
  2d:	4c 89 ef             	mov    %r13,%rdi
  30:	e8 ce ea 92 ff       	callq  0xff92eb03
  35:	48 c1 e8 0c          	shr    $0xc,%rax
  39:	48 c1 e0 06          	shl    $0x6,%rax
  3d:	4c 01 e0             	add    %r12,%rax

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/21 14:37 linux-4.19.y 3f8a27f9e27b 4eb20a4e .config console log report info ci2-linux-4-19 general protection fault in per_cpu_remove_cache
* Struck through repros no longer work on HEAD.