------------[ cut here ]------------ kernel BUG at drivers/android/binder_alloc.c:1130! binder: release 6345:6351 transaction 770 out, still active binder: release 6345:6348 transaction 767 out, still active binder: BINDER_SET_CONTEXT_MGR already set invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI Modules linked in: CPU: 0 PID: 6349 Comm: syz-executor.4 Not tainted 4.14.108+ #39 task: ffff88819a705e00 task.stack: ffff8881c8ec8000 RIP: 0010:binder_alloc_do_buffer_copy+0xc7/0x500 drivers/android/binder_alloc.c:1130 RSP: 0018:ffff8881c8ecf5d0 EFLAGS: 00010216 RAX: 0000000000040000 RBX: 0000000020001000 RCX: 0000000000000348 RDX: ffffffff82237477 RSI: ffffc900039a3000 RDI: ffff8881ca796ad8 RBP: 0000000000000020 R08: ffff8881c8ecf8b0 R09: 0000000000000028 R10: ffffed10391d9f06 R11: ffff8881c8ecf837 R12: ffff8881d9155918 R13: 0000000000000028 R14: adee23a0c038b0e8 R15: ffff8881c8ecf8b0 FS: 00007f8dc75d7700(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8df74694a0 CR3: 00000001ceec6005 CR4: 00000000001606b0 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: ffff8881c8ecf5d0 audit: type=1400 audit(1553676974.058:43): avc: denied { prog_load } for pid=6372 comm="syz-executor.3" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=1 binder: 6354:6357 ioctl 40046207 0 returned -16 binder: 6354:6368 got transaction with invalid offset (0, min 0 max 0) or object. ---[ end trace 94df56243a5ce967 ]--- binder: release 6358:6362 transaction 780 out, still active binder: release 6358:6371 transaction 775 out, still active binder: 6354:6368 transaction failed 29201/-22, size 0-8 line 3348