lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 03 Dec 2017 05:23:01 -0800
From:   syzbot 
        <bot+d9d0c0e13eca79eb9ddb8d7e67aba5c63acc83a4@...kaller.appspotmail.com>
To:     arve@...roid.com, devel@...verdev.osuosl.org,
        gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
        riandrews@...roid.com, syzkaller-bugs@...glegroups.com
Subject: general protection fault in binder_poll

syzkaller has found reproducer for 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.
C reproducer is attached
syzkaller reproducer is attached. See https://goo.gl/kgGztJ
for information about syzkaller reproducers


RBP: 0000000000000005 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000020336ff4 R11: 0000000000000246 R12: 0000000000401ef0
R13: 0000000000401f80 R14: 0000000000000000 R15: 0000000000000000
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
    (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 3085 Comm: syzkaller719598 Not tainted  
4.15.0-rc1-next-20171201+ #57
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS  
Google 01/01/2011
task: 00000000d96cbce2 task.stack: 00000000f9bba1e1
RIP: 0010:binder_poll+0xa0/0x390 drivers/android/binder.c:4373
RSP: 0018:ffff8801d86c74c8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff840282e0
RDX: 0000000000000000 RSI: ffffffff85f44b80 RDI: 0000000000000282
RBP: ffff8801d86c7570 R08: 1ffff1003b0d8dc6 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff1003b0d8e9d
R13: ffff8801d86c7b00 R14: ffff8801cc3b92c0 R15: ffff8801d86c7548
FS:  0000000002678880(0000) GS:ffff8801db500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020336ff4 CR3: 00000001cdd84000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
  ep_item_poll.isra.10+0xec/0x320 fs/eventpoll.c:884
  ep_insert+0x6a3/0x1b10 fs/eventpoll.c:1455
  SYSC_epoll_ctl fs/eventpoll.c:2106 [inline]
  SyS_epoll_ctl+0x12e4/0x1ab0 fs/eventpoll.c:1992
  entry_SYSCALL_64_fastpath+0x1f/0x96
RIP: 0033:0x4441a9
RSP: 002b:00007ffd023fc108 EFLAGS: 00000246 ORIG_RAX: 00000000000000e9
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00000000004441a9
RDX: 0000000000000003 RSI: 0000000000000001 RDI: 0000000000000004
RBP: 0000000000000005 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000020336ff4 R11: 0000000000000246 R12: 0000000000401ef0
R13: 0000000000401f80 R14: 0000000000000000 R15: 0000000000000000
Code: 03 80 3c 18 00 0f 85 3c 02 00 00 49 8b be b0 01 00 00 e8 04 f7 ff ff  
48 89 c2 48 89 c3 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00  
0f 85 ca 02 00 00 48 8b 3b be 15 11 00 00 e8 b9 8b
RIP: binder_poll+0xa0/0x390 drivers/android/binder.c:4373 RSP:  
ffff8801d86c74c8
---[ end trace fc2a9656b3c84773 ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
    (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..


View attachment "config.txt" of type "text/plain" (126531 bytes)

Download attachment "raw.log" of type "application/octet-stream" (8996 bytes)

View attachment "repro.txt" of type "text/plain" (520 bytes)

Download attachment "repro.c" of type "application/octet-stream" (3030 bytes)

Powered by blists - more mailing lists