syzbot


general protection fault in quarantine_remove_cache (2)

Status: auto-obsoleted due to no activity on 2022/11/20 15:56
Reported-by: syzbot+9d31b5429705995791eb@syzkaller.appspotmail.com
First crash: 641d, last: 641d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in quarantine_remove_cache 1 1473d 1473d 0/1 auto-closed as invalid on 2020/08/10 13:39
linux-4.14 general protection fault in quarantine_remove_cache (2) 5 1103d 1329d 0/1 auto-closed as invalid on 2021/08/15 16:36
linux-4.19 BUG: unable to handle kernel NULL pointer dereference in quarantine_remove_cache 5 827d 840d 0/1 auto-closed as invalid on 2022/05/18 10:27
linux-4.19 general protection fault in quarantine_remove_cache 1 1235d 1235d 0/1 auto-closed as invalid on 2021/04/05 09:12
linux-4.19 BUG: unable to handle kernel paging request in quarantine_remove_cache (2) 4 972d 1038d 0/1 auto-closed as invalid on 2021/12/23 22:53

Sample crash report:
device geneve2 entered promiscuous mode
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: 0 PID: 8135 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
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
RSP: 0018:ffff8880b3267b78 EFLAGS: 00010002
RAX: ffff88800011aac0 RBX: ffff8880b3267bb0 RCX: ffffea0000001647
RDX: 0000000000000140 RSI: ffffffff812b5eca RDI: 0000000000000007
RBP: ffff8880ac3da500 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: ffffea0000000000
R13: 0770007700000770 R14: ffffffff8d25de18 R15: 0770007700000770
FS:  00005555569df400(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007faf224f7718 CR3: 00000000afc0a000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 quarantine_remove_cache+0x73/0x100 mm/kasan/quarantine.c:317
 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:0x7f8c64644677
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc3b255bd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f8c64644677
RDX: 00007ffc3b255cab RSI: 000000000000000a RDI: 00007ffc3b255ca0
RBP: 00007ffc3b255ca0 R08: 00000000ffffffff R09: 00007ffc3b255a70
R10: 00005555569e0903 R11: 0000000000000246 R12: 00007f8c6469c2a6
R13: 00007ffc3b256d60 R14: 00005555569e0810 R15: 00007ffc3b256da0
Modules linked in:
---[ end trace ade25f00db9a3d9c ]---
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
RSP: 0018:ffff8880b3267b78 EFLAGS: 00010002
RAX: ffff88800011aac0 RBX: ffff8880b3267bb0 RCX: ffffea0000001647
RDX: 0000000000000140 RSI: ffffffff812b5eca RDI: 0000000000000007
RBP: ffff8880ac3da500 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: ffffea0000000000
R13: 0770007700000770 R14: ffffffff8d25de18 R15: 0770007700000770
FS:  00005555569df400(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007faf224f7718 CR3: 00000000afc0a000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
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
2022/07/23 15:56 linux-4.19.y 3f8a27f9e27b 22343af4 .config console log report info ci2-linux-4-19 general protection fault in quarantine_remove_cache
* Struck through repros no longer work on HEAD.