general protection fault in quarantine_remove_cache (2)

5 views
Skip to first unread message

syzbot

unread,
Jul 23, 2022, 11:56:28 AM7/23/22
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=13a2e7dc080000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=9d31b5429705995791eb
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+9d31b5...@syzkaller.appspotmail.com

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


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Nov 20, 2022, 10:56:26 AM11/20/22
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages