general protection fault in fire_user_return_notifiers

6 views
Skip to first unread message

syzbot

unread,
Jan 11, 2022, 7:43:22 AM1/11/22
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 5b673be0c6b0 FROMGIT: USB: gadget: bRequestType is a bitfi..
git tree: android12-5.4
console output: https://syzkaller.appspot.com/x/log.txt?x=14686b0bb00000
kernel config: https://syzkaller.appspot.com/x/.config?x=8844969a6709ae53
dashboard link: https://syzkaller.appspot.com/bug?extid=3ed959fdd6b9fe47ca20
compiler: Debian clang version 11.0.1-2, GNU ld (GNU Binutils for Debian) 2.35.2

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+3ed959...@syzkaller.appspotmail.com

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: 296 Comm: syz-fuzzer Not tainted 5.4.147-syzkaller-00015-g5b673be0c6b0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:fire_user_return_notifiers+0x90/0x110 kernel/user-return-notifier.c:42
Code: 48 85 db 74 06 48 83 c3 f8 75 14 e8 4a ec e5 ff eb 58 0f 1f 84 00 00 00 00 00 e8 3b ec e5 ff 48 8d 7b 08 48 89 f8 48 c1 e8 03 <42> 80 3c 38 00 74 05 e8 94 08 13 00 4c 8b 73 08 48 89 d8 48 c1 e8
RSP: 0018:ffff8881de977ef8 EFLAGS: 00010a02
RAX: 1bd5a00000000020 RBX: dead0000000000f8 RCX: ffff8881def22f40
RDX: 0000000000000000 RSI: 0023001000000000 RDI: dead000000000100
RBP: 1ffff1103bde45e8 R08: ffffffff81094be7 R09: ffffed103bde45e9
R10: ffffed103bde45e9 R11: 0000000000000000 R12: ffff8881def22f40
R13: dffffc0000000000 R14: dead000000000100 R15: dffffc0000000000
FS: 000000c00002e090(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001de86a000 CR4: 00000000003426f0
DR0: 0000000000003000 DR1: 0000000000001000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
exit_to_usermode_loop arch/x86/entry/common.c:168 [inline]
prepare_exit_to_usermode+0x27f/0x310 arch/x86/entry/common.c:194
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x46e243
Code: 24 20 c3 cc cc cc cc 48 8b 7c 24 08 8b 74 24 10 8b 54 24 14 4c 8b 54 24 18 4c 8b 44 24 20 44 8b 4c 24 28 b8 ca 00 00 00 0f 05 <89> 44 24 30 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc
RSP: 002b:000000c00003de80 EFLAGS: 00000202 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffff92 RBX: 000000c00002e000 RCX: 000000000046e243
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000018705b8
RBP: 000000c00003dec8 R08: 0000000000000000 R09: 0000000000000000
R10: 000000c00003deb8 R11: 0000000000000202 R12: 000000000043b6e0
R13: 0000000000000000 R14: 00000000008dd490 R15: 0000000000000000
Modules linked in:
---[ end trace 47707b621813d621 ]---
RIP: 0010:fire_user_return_notifiers+0x90/0x110 kernel/user-return-notifier.c:42
Code: 48 85 db 74 06 48 83 c3 f8 75 14 e8 4a ec e5 ff eb 58 0f 1f 84 00 00 00 00 00 e8 3b ec e5 ff 48 8d 7b 08 48 89 f8 48 c1 e8 03 <42> 80 3c 38 00 74 05 e8 94 08 13 00 4c 8b 73 08 48 89 d8 48 c1 e8
RSP: 0018:ffff8881de977ef8 EFLAGS: 00010a02
RAX: 1bd5a00000000020 RBX: dead0000000000f8 RCX: ffff8881def22f40
RDX: 0000000000000000 RSI: 0023001000000000 RDI: dead000000000100
RBP: 1ffff1103bde45e8 R08: ffffffff81094be7 R09: ffffed103bde45e9
R10: ffffed103bde45e9 R11: 0000000000000000 R12: ffff8881def22f40
R13: dffffc0000000000 R14: dead000000000100 R15: dffffc0000000000
FS: 000000c00002e090(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001de86a000 CR4: 00000000003426f0
DR0: 0000000000003000 DR1: 0000000000001000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 48 85 db test %rbx,%rbx
3: 74 06 je 0xb
5: 48 83 c3 f8 add $0xfffffffffffffff8,%rbx
9: 75 14 jne 0x1f
b: e8 4a ec e5 ff callq 0xffe5ec5a
10: eb 58 jmp 0x6a
12: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1)
19: 00
1a: e8 3b ec e5 ff callq 0xffe5ec5a
1f: 48 8d 7b 08 lea 0x8(%rbx),%rdi
23: 48 89 f8 mov %rdi,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction
2f: 74 05 je 0x36
31: e8 94 08 13 00 callq 0x1308ca
36: 4c 8b 73 08 mov 0x8(%rbx),%r14
3a: 48 89 d8 mov %rbx,%rax
3d: 48 rex.W
3e: c1 .byte 0xc1
3f: e8 .byte 0xe8


---
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,
May 11, 2022, 8:43:16 AM5/11/22
to syzkaller-a...@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