* kernel BUG at drivers/android/binder_alloc.c:LINE! (2)
@ 2019-02-14 11:31 syzbot
2019-02-14 11:35 ` syzbot
2019-02-15 5:38 ` syzbot
0 siblings, 2 replies; 7+ messages in thread
From: syzbot @ 2019-02-14 11:31 UTC (permalink / raw)
To: arve, christian, devel, gregkh, joel, linux-kernel, maco,
syzkaller-bugs, tkjos
Hello,
syzbot found the following crash on:
HEAD commit: b3418f8bddf4 Add linux-next specific files for 20190214
git tree: linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=15d98978c00000
kernel config: https://syzkaller.appspot.com/x/.config?x=8a3a37525a677c71
dashboard link: https://syzkaller.appspot.com/bug?extid=55de1eb4975dec156d8f
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+55de1eb4975dec156d8f@syzkaller.appspotmail.com
binder: 9248:9252 ioctl 80081272 20000140 returned -22
------------[ cut here ]------------
kernel BUG at drivers/android/binder_alloc.c:1141!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 9252 Comm: syz-executor.2 Not tainted 5.0.0-rc6-next-20190214
#35
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:binder_alloc_do_buffer_copy+0xd6/0x510
drivers/android/binder_alloc.c:1141
Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 9f e1 26 fc 4c 89
e6 4c 89 ef e8 b4 e2 26 fc 4d 39 e5 76 07 e8 8a e1 26 fc <0f> 0b e8 83 e1
26 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 91
RSP: 0018:ffff88803fc37558 EFLAGS: 00010212
RAX: 0000000000040000 RBX: 0000000020001000 RCX: ffffc9000a245000
RDX: 0000000000000386 RSI: ffffffff85498076 RDI: 0000000000000006
RBP: ffff88803fc375d8 R08: ffff88805d20e640 R09: 0000000000000028
R10: ffffed1007f86f01 R11: ffff88803fc3780f R12: 0000000000000020
R13: 0000000000000028 R14: ffff8880772a18d0 R15: 0000000000000000
FS: 00007f8b32812700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004d6c10 CR3: 00000000788df000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
binder_alloc_copy_from_buffer+0x37/0x42 drivers/android/binder_alloc.c:1187
binder_get_object+0xa2/0x1e0 drivers/android/binder.c:2062
binder_transaction+0x2b4a/0x6690 drivers/android/binder.c:3231
binder_thread_write+0x64a/0x2820 drivers/android/binder.c:3792
binder_ioctl_write_read drivers/android/binder.c:4825 [inline]
binder_ioctl+0x1033/0x183b drivers/android/binder.c:5002
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:509 [inline]
do_vfs_ioctl+0xd6e/0x1390 fs/ioctl.c:696
ksys_ioctl+0xab/0xd0 fs/ioctl.c:713
__do_sys_ioctl fs/ioctl.c:720 [inline]
__se_sys_ioctl fs/ioctl.c:718 [inline]
__x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718
do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457e29
Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7
48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff
ff 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f8b32811c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457e29
RDX: 0000000020000000 RSI: 00000000c0306201 RDI: 0000000000000003
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8b328126d4
R13: 00000000004bf15b R14: 00000000004d0a60 R15: 00000000ffffffff
Modules linked in:
---[ end trace ccb30c2e039fdec2 ]---
RIP: 0010:binder_alloc_do_buffer_copy+0xd6/0x510
drivers/android/binder_alloc.c:1141
Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 9f e1 26 fc 4c 89
e6 4c 89 ef e8 b4 e2 26 fc 4d 39 e5 76 07 e8 8a e1 26 fc <0f> 0b e8 83 e1
26 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 91
RSP: 0018:ffff88803fc37558 EFLAGS: 00010212
RAX: 0000000000040000 RBX: 0000000020001000 RCX: ffffc9000a245000
RDX: 0000000000000386 RSI: ffffffff85498076 RDI: 0000000000000006
RBP: ffff88803fc375d8 R08: ffff88805d20e640 R09: 0000000000000028
R10: ffffed1007f86f01 R11: ffff88803fc3780f R12: 0000000000000020
R13: 0000000000000028 R14: ffff8880772a18d0 R15: 0000000000000000
FS: 00007f8b32812700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff6ec60cec CR3: 00000000788df000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
---
This bug 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 syzkaller@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with
syzbot.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: kernel BUG at drivers/android/binder_alloc.c:LINE! (2)
2019-02-14 11:31 kernel BUG at drivers/android/binder_alloc.c:LINE! (2) syzbot
@ 2019-02-14 11:35 ` syzbot
2019-02-14 22:34 ` Todd Kjos
2019-02-15 5:38 ` syzbot
1 sibling, 1 reply; 7+ messages in thread
From: syzbot @ 2019-02-14 11:35 UTC (permalink / raw)
To: arve, christian, devel, gregkh, joel, linux-kernel, maco,
syzkaller-bugs, tkjos
syzbot has found a reproducer for the following crash on:
HEAD commit: b3418f8bddf4 Add linux-next specific files for 20190214
git tree: linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=161d2048c00000
kernel config: https://syzkaller.appspot.com/x/.config?x=8a3a37525a677c71
dashboard link: https://syzkaller.appspot.com/bug?extid=55de1eb4975dec156d8f
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11cd2f1f400000
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+55de1eb4975dec156d8f@syzkaller.appspotmail.com
binder: 7792:7794 transaction failed 29189/-22, size 24-8 line 2994
------------[ cut here ]------------
kernel BUG at drivers/android/binder_alloc.c:1141!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 7794 Comm: syz-executor.5 Not tainted 5.0.0-rc6-next-20190214
#35
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:binder_alloc_do_buffer_copy+0xd6/0x510
drivers/android/binder_alloc.c:1141
Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 9f e1 26 fc 4c 89
e6 4c 89 ef e8 b4 e2 26 fc 4d 39 e5 76 07 e8 8a e1 26 fc <0f> 0b e8 83 e1
26 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 91
RSP: 0018:ffff888051747558 EFLAGS: 00010293
RAX: ffff8880a55d8040 RBX: 0000000020001000 RCX: ffffffff8549806c
RDX: 0000000000000000 RSI: ffffffff85498076 RDI: 0000000000000006
RBP: ffff8880517475d8 R08: ffff8880a55d8040 R09: 0000000000000028
R10: ffffed100a2e8f01 R11: ffff88805174780f R12: 0000000000000020
R13: 0000000000000028 R14: ffff888096952b50 R15: 0000000000000000
FS: 00007f526c1e3700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f526c1a0db8 CR3: 0000000032547000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
binder_alloc_copy_from_buffer+0x37/0x42 drivers/android/binder_alloc.c:1187
binder_get_object+0xa2/0x1e0 drivers/android/binder.c:2062
binder_transaction+0x2b4a/0x6690 drivers/android/binder.c:3231
binder_thread_write+0x64a/0x2820 drivers/android/binder.c:3792
binder_ioctl_write_read drivers/android/binder.c:4825 [inline]
binder_ioctl+0x1033/0x183b drivers/android/binder.c:5002
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:509 [inline]
do_vfs_ioctl+0xd6e/0x1390 fs/ioctl.c:696
ksys_ioctl+0xab/0xd0 fs/ioctl.c:713
__do_sys_ioctl fs/ioctl.c:720 [inline]
__se_sys_ioctl fs/ioctl.c:718 [inline]
__x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718
do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457e29
Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7
48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff
ff 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f526c1e2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457e29
RDX: 0000000020000000 RSI: 00000000c0306201 RDI: 0000000000000006
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f526c1e36d4
R13: 00000000004bf15b R14: 00000000004d0a60 R15: 00000000ffffffff
Modules linked in:
---[ end trace f34ec74539dae8b5 ]---
RIP: 0010:binder_alloc_do_buffer_copy+0xd6/0x510
drivers/android/binder_alloc.c:1141
Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 9f e1 26 fc 4c 89
e6 4c 89 ef e8 b4 e2 26 fc 4d 39 e5 76 07 e8 8a e1 26 fc <0f> 0b e8 83 e1
26 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 91
RSP: 0018:ffff888051747558 EFLAGS: 00010293
RAX: ffff8880a55d8040 RBX: 0000000020001000 RCX: ffffffff8549806c
RDX: 0000000000000000 RSI: ffffffff85498076 RDI: 0000000000000006
RBP: ffff8880517475d8 R08: ffff8880a55d8040 R09: 0000000000000028
R10: ffffed100a2e8f01 R11: ffff88805174780f R12: 0000000000000020
R13: 0000000000000028 R14: ffff888096952b50 R15: 0000000000000000
FS: 00007f526c1e3700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffff600400 CR3: 0000000032547000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: kernel BUG at drivers/android/binder_alloc.c:LINE! (2)
2019-02-14 11:35 ` syzbot
@ 2019-02-14 22:34 ` Todd Kjos
2019-02-14 22:36 ` syzbot
2019-02-14 22:46 ` Todd Kjos
0 siblings, 2 replies; 7+ messages in thread
From: Todd Kjos @ 2019-02-14 22:34 UTC (permalink / raw)
To: syzbot
Cc: Arve Hjønnevåg, Christian Brauner,
open list:ANDROID DRIVERS, Greg Kroah-Hartman,
Joel Fernandes (Google),
LKML, Martijn Coenen, syzkaller-bugs, Todd Kjos, Dmitry Vyukov
[-- Attachment #1: Type: text/plain, Size: 892 bytes --]
On Thu, Feb 14, 2019 at 3:35 AM syzbot
<syzbot+55de1eb4975dec156d8f@syzkaller.appspotmail.com> wrote:
>
> syzbot has found a reproducer for the following crash on:
>
> HEAD commit: b3418f8bddf4 Add linux-next specific files for 20190214
> git tree: linux-next
> console output: https://syzkaller.appspot.com/x/log.txt?x=161d2048c00000
> kernel config: https://syzkaller.appspot.com/x/.config?x=8a3a37525a677c71
> dashboard link: https://syzkaller.appspot.com/bug?extid=55de1eb4975dec156d8f
> compiler: gcc (GCC) 9.0.0 20181231 (experimental)
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11cd2f1f400000
>
> IMPORTANT: if you fix the bug, please add the following tag to the commit:
> Reported-by: syzbot+55de1eb4975dec156d8f@syzkaller.appspotmail.com
>
Testing a fix:
#syz test: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
linux-next
[-- Attachment #2: patch --]
[-- Type: application/octet-stream, Size: 628 bytes --]
diff --git a/drivers/android/binder.c b/drivers/android/binder.c
index 2dba539eb792c..8685882da64cd 100644
--- a/drivers/android/binder.c
+++ b/drivers/android/binder.c
@@ -2057,7 +2057,7 @@ static size_t binder_get_object(struct binder_proc *proc,
size_t object_size = 0;
read_size = min_t(size_t, sizeof(*object), buffer->data_size - offset);
- if (read_size < sizeof(*hdr))
+ if (read_size < sizeof(*hdr) || !IS_ALIGNED(offset, sizeof(u32)))
return 0;
binder_alloc_copy_from_buffer(&proc->alloc, object, buffer,
offset, read_size);
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: kernel BUG at drivers/android/binder_alloc.c:LINE! (2)
2019-02-14 22:34 ` Todd Kjos
@ 2019-02-14 22:36 ` syzbot
2019-02-14 22:46 ` Todd Kjos
1 sibling, 0 replies; 7+ messages in thread
From: syzbot @ 2019-02-14 22:36 UTC (permalink / raw)
To: arve, christian, devel, dvyukov, gregkh, joel, linux-kernel,
maco, syzkaller-bugs, tkjos, tkjos
Hello,
syzbot tried to test the proposed patch but build/boot failed:
failed to checkout kernel repo
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/linux-next:
failed to run
["git" "fetch" "https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git" "linux-next"]:
exit status 128
fatal: Couldn't find remote ref linux-next
Tested on:
commit: [unknown]
git tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
linux-next
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
patch: https://syzkaller.appspot.com/x/patch.diff?x=17832048c00000
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: kernel BUG at drivers/android/binder_alloc.c:LINE! (2)
2019-02-14 22:34 ` Todd Kjos
2019-02-14 22:36 ` syzbot
@ 2019-02-14 22:46 ` Todd Kjos
2019-02-14 23:04 ` syzbot
1 sibling, 1 reply; 7+ messages in thread
From: Todd Kjos @ 2019-02-14 22:46 UTC (permalink / raw)
To: syzbot
Cc: Arve Hjønnevåg, Christian Brauner,
open list:ANDROID DRIVERS, Greg Kroah-Hartman,
Joel Fernandes (Google),
LKML, Martijn Coenen, syzkaller-bugs, Todd Kjos, Dmitry Vyukov
[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]
Trying again with the correct branch spec...
On Thu, Feb 14, 2019 at 2:34 PM Todd Kjos <tkjos@google.com> wrote:
>
> On Thu, Feb 14, 2019 at 3:35 AM syzbot
> <syzbot+55de1eb4975dec156d8f@syzkaller.appspotmail.com> wrote:
> >
> > syzbot has found a reproducer for the following crash on:
> >
> > HEAD commit: b3418f8bddf4 Add linux-next specific files for 20190214
> > git tree: linux-next
> > console output: https://syzkaller.appspot.com/x/log.txt?x=161d2048c00000
> > kernel config: https://syzkaller.appspot.com/x/.config?x=8a3a37525a677c71
> > dashboard link: https://syzkaller.appspot.com/bug?extid=55de1eb4975dec156d8f
> > compiler: gcc (GCC) 9.0.0 20181231 (experimental)
> > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11cd2f1f400000
> >
> > IMPORTANT: if you fix the bug, please add the following tag to the commit:
> > Reported-by: syzbot+55de1eb4975dec156d8f@syzkaller.appspotmail.com
> >
>
> Testing a fix:
>
#syz test: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
master
[-- Attachment #2: patch --]
[-- Type: application/octet-stream, Size: 557 bytes --]
diff --git a/drivers/android/binder.c b/drivers/android/binder.c
index 2dba539eb792c..8685882da64cd 100644
--- a/drivers/android/binder.c
+++ b/drivers/android/binder.c
@@ -2057,7 +2057,7 @@ static size_t binder_get_object(struct binder_proc *proc,
size_t object_size = 0;
read_size = min_t(size_t, sizeof(*object), buffer->data_size - offset);
- if (read_size < sizeof(*hdr))
+ if (read_size < sizeof(*hdr) || !IS_ALIGNED(offset, sizeof(u32)))
return 0;
binder_alloc_copy_from_buffer(&proc->alloc, object, buffer,
offset, read_size);
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: kernel BUG at drivers/android/binder_alloc.c:LINE! (2)
2019-02-14 22:46 ` Todd Kjos
@ 2019-02-14 23:04 ` syzbot
0 siblings, 0 replies; 7+ messages in thread
From: syzbot @ 2019-02-14 23:04 UTC (permalink / raw)
To: arve, christian, devel, dvyukov, gregkh, joel, linux-kernel,
maco, syzkaller-bugs, tkjos, tkjos
Hello,
syzbot has tested the proposed patch and the reproducer did not trigger
crash:
Reported-and-tested-by:
syzbot+55de1eb4975dec156d8f@syzkaller.appspotmail.com
Tested on:
commit: b3418f8bddf4 Add linux-next specific files for 20190214
git tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
kernel config: https://syzkaller.appspot.com/x/.config?x=8a3a37525a677c71
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
patch: https://syzkaller.appspot.com/x/patch.diff?x=139c8f50c00000
Note: testing is done by a robot and is best-effort only.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: kernel BUG at drivers/android/binder_alloc.c:LINE! (2)
2019-02-14 11:31 kernel BUG at drivers/android/binder_alloc.c:LINE! (2) syzbot
2019-02-14 11:35 ` syzbot
@ 2019-02-15 5:38 ` syzbot
1 sibling, 0 replies; 7+ messages in thread
From: syzbot @ 2019-02-15 5:38 UTC (permalink / raw)
To: arve, christian, devel, dvyukov, gregkh, joel, kernel-team,
linux-kernel, maco, maco, syzkaller-bugs, tkjos, tkjos
syzbot has found a reproducer for the following crash on:
HEAD commit: b3418f8bddf4 Add linux-next specific files for 20190214
git tree: linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=12ccad60c00000
kernel config: https://syzkaller.appspot.com/x/.config?x=8a3a37525a677c71
dashboard link: https://syzkaller.appspot.com/bug?extid=55de1eb4975dec156d8f
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16f63047400000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12a2ed58c00000
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+55de1eb4975dec156d8f@syzkaller.appspotmail.com
------------[ cut here ]------------
kernel BUG at drivers/android/binder_alloc.c:1141!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 7540 Comm: syz-executor013 Not tainted 5.0.0-rc6-next-20190214
#35
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:binder_alloc_do_buffer_copy+0xd6/0x510
drivers/android/binder_alloc.c:1141
Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 9f e1 26 fc 4c 89
e6 4c 89 ef e8 b4 e2 26 fc 4d 39 e5 76 07 e8 8a e1 26 fc <0f> 0b e8 83 e1
26 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 91
RSP: 0018:ffff88804a6cf558 EFLAGS: 00010293
RAX: ffff888033dc61c0 RBX: 0000000020001000 RCX: ffffffff8549806c
RDX: 0000000000000000 RSI: ffffffff85498076 RDI: 0000000000000006
RBP: ffff88804a6cf5d8 R08: ffff888033dc61c0 R09: 0000000000000028
R10: ffffed10094d9f01 R11: ffff88804a6cf80f R12: 0000000000000008
R13: 0000000000000028 R14: ffff888069c1c210 R15: 0000000000000000
FS: 00000000017d9940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000007b49a000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
binder_alloc_copy_from_buffer+0x37/0x42 drivers/android/binder_alloc.c:1187
binder_get_object+0xa2/0x1e0 drivers/android/binder.c:2062
binder_transaction+0x2b4a/0x6690 drivers/android/binder.c:3231
binder_thread_write+0x64a/0x2820 drivers/android/binder.c:3792
binder_ioctl_write_read drivers/android/binder.c:4825 [inline]
binder_ioctl+0x1033/0x183b drivers/android/binder.c:5002
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:509 [inline]
do_vfs_ioctl+0xd6e/0x1390 fs/ioctl.c:696
ksys_ioctl+0xab/0xd0 fs/ioctl.c:713
__do_sys_ioctl fs/ioctl.c:720 [inline]
__se_sys_ioctl fs/ioctl.c:718 [inline]
__x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718
do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x444579
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 89 f8 48 89 f7
48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff
ff 0f 83 7b d8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fff3621c708 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fff3621c710 RCX: 0000000000444579
RDX: 0000000020000440 RSI: 00000000c0306201 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000401000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402280
R13: 0000000000402310 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace e53003f51f970669 ]---
RIP: 0010:binder_alloc_do_buffer_copy+0xd6/0x510
drivers/android/binder_alloc.c:1141
Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 9f e1 26 fc 4c 89
e6 4c 89 ef e8 b4 e2 26 fc 4d 39 e5 76 07 e8 8a e1 26 fc <0f> 0b e8 83 e1
26 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 91
RSP: 0018:ffff88804a6cf558 EFLAGS: 00010293
RAX: ffff888033dc61c0 RBX: 0000000020001000 RCX: ffffffff8549806c
RDX: 0000000000000000 RSI: ffffffff85498076 RDI: 0000000000000006
RBP: ffff88804a6cf5d8 R08: ffff888033dc61c0 R09: 0000000000000028
R10: ffffed10094d9f01 R11: ffff88804a6cf80f R12: 0000000000000008
R13: 0000000000000028 R14: ffff888069c1c210 R15: 0000000000000000
FS: 00000000017d9940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000007b49a000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-02-15 5:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-14 11:31 kernel BUG at drivers/android/binder_alloc.c:LINE! (2) syzbot
2019-02-14 11:35 ` syzbot
2019-02-14 22:34 ` Todd Kjos
2019-02-14 22:36 ` syzbot
2019-02-14 22:46 ` Todd Kjos
2019-02-14 23:04 ` syzbot
2019-02-15 5:38 ` syzbot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).