BUG: unable to handle kernel paging request in __put_user_8

5 views
Skip to first unread message

syzbot

unread,
Dec 9, 2017, 5:34:07 AM12/9/17
to syzkaller-upst...@googlegroups.com
Hello,

syzkaller hit the following crash on
fb20eb9d798d2f4c1a75b7fe981d72dfa8d7270d
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master
compiler: gcc (GCC) 7.1.1 20170620
.config is attached
Raw console output is attached.

Unfortunately, I don't have any reproducer for this bug yet.
CC: [ak...@linux-foundation.org deepa....@gmail.com kees...@chromium.org
linux-...@vger.kernel.org man...@colorfullife.com mi...@kernel.org
vi...@zeniv.linux.org.uk]

binder: 5302:5304 Acquire 1 refcount change on invalid ref 0 ret -22
binder: 5302:5304 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0
BUG: unable to handle kernel paging request at 00000000a344dbec
IP: __put_user_8+0x1f/0x25 arch/x86/lib/putuser.S:83
PGD 5e28067 P4D 5e28067 PUD 5e2a067 PMD 0
Oops: 0002 [#1] SMP KASAN
Dumping ftrace buffer:
(ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 5294 Comm: syz-executor3 Not tainted 4.15.0-rc1-next-20171201+
#57
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
task: 000000006746ff71 task.stack: 00000000de7828ff
RIP: 0010:__put_user_8+0x1f/0x25 arch/x86/lib/putuser.S:83
RSP: 0018:ffff8801c42a7c68 EFLAGS: 00010293
RAX: 0000000000000003 RBX: 00007fffffffeff9 RCX: 0000000020000000
RDX: 1ffff1003880bd12 RSI: ffffc900021da000 RDI: ffff8801c405e890
RBP: ffff8801c42a7c90 R08: ffff880192a20ed8 R09: 1ffff10038854f62
R10: ffff8801ca3ee440 R11: 0000000000000000 R12: 0000000000000008
R13: ffff8801c405e880 R14: 0000000020000000 R15: 0000000000000001
FS: 00007f094ac6a700(0000) GS:ffff8801db400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff8 CR3: 00000001d351e000 CR4: 00000000001426f0
DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff1 DR7: 00000000000b0602
Call Trace:
do_msgrcv+0x6bd/0x14e0 ipc/msg.c:1124
SYSC_msgrcv ipc/msg.c:1133 [inline]
SyS_msgrcv+0x3b/0x50 ipc/msg.c:1130
entry_SYSCALL_64_fastpath+0x1f/0x96
RIP: 0033:0x4529d9
RSP: 002b:00007f094ac69c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000046
RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 00000000004529d9
RDX: 0000000000000008 RSI: 0000000020000000 RDI: 0000000000000000
RBP: 00000000000001ea R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006efe90
R13: 00000000ffffffff R14: 00007f094ac6a6d4 R15: 0000000000000000
Code: 66 90 66 2e 0f 1f 84 00 00 00 00 00 65 48 8b 1c 25 40 65 01 00 48 8b
9b a0 15 00 00 48 83 eb 07 48 39 d9 73 0c 0f 1f 00 48 89 01 <31> c0 0f 1f
00 c3 b8 f2 ff ff ff 0f 1f 00 c3 90 90 55 48 89 e5
RIP: __put_user_8+0x1f/0x25 arch/x86/lib/putuser.S:83 RSP: ffff8801c42a7c68
CR2: fffffffffffffff8
---[ end trace 29704d154109ec5e ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
(ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
This bug is generated by a dumb bot. It may contain errors.
See https://goo.gl/tpsmEJ for details.
Direct all questions to syzk...@googlegroups.com.
Please credit me with: Reported-by: syzbot <syzk...@googlegroups.com>

syzbot will keep track of this bug report.
Once a fix for this bug is merged into any tree, reply to this email with:
#syz fix: exact-commit-title
To mark this as a duplicate of another syzbot report, please reply with:
#syz dup: exact-subject-of-another-report
If it's a one-off invalid bug report, please reply with:
#syz invalid
Note: if the crash happens again, it will cause creation of a new bug
report.
Note: all commands must start from beginning of the line in the email body.
To upstream this report, please reply with:
#syz upstream
config.txt
raw.log

Dmitry Vyukov

unread,
Dec 19, 2017, 7:20:16 AM12/19/17
to syzbot, 'Dmitry Vyukov' via syzkaller-upstream-moderation
#syz fix:
x86/entry: Fix assumptions that the HW TSS is at the beginning of cpu_tss

On Sat, Dec 9, 2017 at 11:34 AM, syzbot
<bot+7f2b4a667a4f2799f5...@syzkaller.appspotmail.com>
wrote:
> --
> You received this message because you are subscribed to the Google Groups
> "syzkaller-upstream-moderation" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to syzkaller-upstream-m...@googlegroups.com.
> To post to this group, send email to
> syzkaller-upst...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/syzkaller-upstream-moderation/001a1143fb3e2d2f1c055fe5d757%40google.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages