syzbot


kernel BUG at drivers/android/binder_alloc.c:LINE!

Status: fixed on 2019/03/28 03:28
Fix commit: c1a289854bf0 FROMGIT: binder: fix BUG_ON found by selinux-testsuite
First crash: 2079d, last: 2078d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG at drivers/android/binder_alloc.c:LINE! kernel C 856 2554d 2559d 4/28 fixed on 2018/02/01 10:32
android-414 kernel BUG at drivers/android/binder_alloc.c:LINE! (2) C 3 1995d 1995d 0/1 public: reported C repro on 2019/06/17 23:05
upstream kernel BUG in binder_alloc_deferred_release kernel C done 4 895d 897d 22/28 fixed on 2023/02/24 13:50
upstream kernel BUG at drivers/android/binder_alloc.c:LINE! (3) kernel C done 24 2008d 2077d 12/28 fixed on 2019/06/14 18:22
upstream kernel BUG at drivers/android/binder_alloc.c:LINE! (2) kernel C 1257 2077d 2119d 11/28 fixed on 2019/03/28 12:00
upstream kernel BUG at drivers/android/binder_alloc.c:LINE! (4) C done 26 1987d 1995d 12/28 fixed on 2019/08/05 13:45
android-49 kernel BUG at drivers/android/binder_alloc.c:LINE! C 44 1831d 2078d 1/3 internal: reported C repro on 2019/03/26 19:34

Sample crash report:
random: sshd: uninitialized urandom read (32 bytes read)
audit: type=1400 audit(1553658421.767:7): avc:  denied  { map } for  pid=1791 comm="syz-executor685" path="/root/syz-executor685957168" dev="sda1" ino=16482 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1
audit: type=1400 audit(1553658421.807:8): avc:  denied  { map } for  pid=1791 comm="syz-executor685" path="/dev/binder0" dev="devtmpfs" ino=5421 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file permissive=1
------------[ cut here ]------------
audit: type=1400 audit(1553658421.807:9): avc:  denied  { set_context_mgr } for  pid=1791 comm="syz-executor685" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=binder permissive=1
kernel BUG at drivers/android/binder_alloc.c:1130!
audit: type=1400 audit(1553658421.807:10): avc:  denied  { call } for  pid=1791 comm="syz-executor685" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=binder permissive=1
invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
Modules linked in:
CPU: 0 PID: 1791 Comm: syz-executor685 Not tainted 4.14.108+ #38
task: ffff8881d329af00 task.stack: ffff8881cfeb8000
RIP: 0010:binder_alloc_do_buffer_copy+0xc7/0x500 drivers/android/binder_alloc.c:1130
RSP: 0018:ffff8881cfebf5d0 EFLAGS: 00010297
RAX: ffff8881d329af00 RBX: 0000000020001000 RCX: 0000000200000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881d1849e58
RBP: 0000000000000008 R08: ffff8881cfebf8b0 R09: 0000000000000028
R10: ffffed1039fd7f06 R11: ffff8881cfebf837 R12: ffff8881d6493418
R13: 0000000000000028 R14: 0000000200000000 R15: ffff8881cfebf8b0
FS:  0000000002302940(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001c4558003 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 binder_get_object+0x90/0x190 drivers/android/binder.c:2244
 binder_transaction+0x1e2d/0x5640 drivers/android/binder.c:3338
Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 0d 04 00 00 48 8b 6d 58 48 29 dd e8 33 33 0d ff 49 39 ed 76 07 e8 29 33 0d ff <0f> 0b e8 22 33 0d ff 4c 29 ed 49 39 ee 77 ec e8 15 33 0d ff 41 
RIP: binder_alloc_do_buffer_copy+0xc7/0x500 drivers/android/binder_alloc.c:1130 RSP: ffff8881cfebf5d0
---[ end trace ebb52e436735f218 ]---
Kernel panic - not syncing: Fatal exception
Kernel Offset: 0xa600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
Rebooting in 86400 seconds..

Crashes (30):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/03/27 03:50 android-4.14 7df8ba42237b 55684ce1 .config console log report syz C ci-android-414-kasan-gce-root
2019/03/27 03:02 android-4.14 7df8ba42237b 55684ce1 .config console log report syz ci-android-414-kasan-gce-root
2019/03/27 02:21 android-4.14 7df8ba42237b 55684ce1 .config console log report syz ci-android-414-kasan-gce-root
2019/03/27 01:30 android-4.14 7df8ba42237b 55684ce1 .config console log report syz ci-android-414-kasan-gce-root
2019/03/27 00:32 android-4.14 7df8ba42237b 55684ce1 .config console log report syz ci-android-414-kasan-gce-root
2019/03/27 19:01 android-4.14 db689dd813b7 4e668495 .config console log report ci-android-414-kasan-gce-root
2019/03/27 18:19 android-4.14 db689dd813b7 4e668495 .config console log report ci-android-414-kasan-gce-root
2019/03/27 18:13 android-4.14 db689dd813b7 4e668495 .config console log report ci-android-414-kasan-gce-root
2019/03/27 15:37 android-4.14 db689dd813b7 4e668495 .config console log report ci-android-414-kasan-gce-root
2019/03/27 15:34 android-4.14 db689dd813b7 4e668495 .config console log report ci-android-414-kasan-gce-root
2019/03/27 15:19 android-4.14 db689dd813b7 4e668495 .config console log report ci-android-414-kasan-gce-root
2019/03/27 15:07 android-4.14 db689dd813b7 4e668495 .config console log report ci-android-414-kasan-gce-root
2019/03/27 08:56 android-4.14 db689dd813b7 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/27 08:48 android-4.14 db689dd813b7 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/27 04:17 android-4.14 7df8ba42237b 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/27 03:51 android-4.14 7df8ba42237b 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/27 02:41 android-4.14 7df8ba42237b 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/27 01:29 android-4.14 7df8ba42237b 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/27 00:41 android-4.14 7df8ba42237b 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/26 23:47 android-4.14 7df8ba42237b 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/26 23:40 android-4.14 7df8ba42237b 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/26 23:15 android-4.14 7df8ba42237b 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/26 22:59 android-4.14 7df8ba42237b 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/26 21:42 android-4.14 7df8ba42237b 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/26 21:24 android-4.14 7df8ba42237b 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/26 20:29 android-4.14 7df8ba42237b 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/26 20:21 android-4.14 7df8ba42237b 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/26 18:01 android-4.14 7df8ba42237b 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/26 16:33 android-4.14 7df8ba42237b 55684ce1 .config console log report ci-android-414-kasan-gce-root
2019/03/26 15:31 android-4.14 7df8ba42237b 55684ce1 .config console log report ci-android-414-kasan-gce-root
* Struck through repros no longer work on HEAD.