[....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 36.147478] random: sshd: uninitialized urandom read (32 bytes read) [ 36.559526] audit: type=1400 audit(1560810300.339:6): avc: denied { map } for pid=1773 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 [ 36.596055] random: sshd: uninitialized urandom read (32 bytes read) [ 37.091547] random: sshd: uninitialized urandom read (32 bytes read) [ 37.239816] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.238' (ECDSA) to the list of known hosts. [ 42.700946] random: sshd: uninitialized urandom read (32 bytes read) [ 42.789529] audit: type=1400 audit(1560810306.569:7): avc: denied { map } for pid=1791 comm="syz-executor608" path="/root/syz-executor608228214" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 executing program [ 42.817815] audit: type=1400 audit(1560810306.609:8): avc: denied { map } for pid=1791 comm="syz-executor608" path="/dev/binder0" dev="devtmpfs" ino=5440 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file permissive=1 [ 42.818784] ------------[ cut here ]------------ [ 42.843358] audit: type=1400 audit(1560810306.609:9): avc: denied { set_context_mgr } for pid=1791 comm="syz-executor608" 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 [ 42.847556] kernel BUG at drivers/android/binder_alloc.c:1128! [ 42.871160] audit: type=1400 audit(1560810306.609:10): avc: denied { call } for pid=1791 comm="syz-executor608" 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 [ 42.877800] invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 42.900191] audit: type=1400 audit(1560810306.609:11): avc: denied { transfer } for pid=1791 comm="syz-executor608" 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 [ 42.905360] Modules linked in: [ 42.931292] CPU: 0 PID: 1791 Comm: syz-executor608 Not tainted 4.14.127+ #8 [ 42.938371] task: (ptrval) task.stack: (ptrval) [ 42.944419] RIP: 0010:binder_alloc_do_buffer_copy+0xc7/0x500 [ 42.950194] RSP: 0018:ffff8881cfca7550 EFLAGS: 00010297 [ 42.955532] RAX: ffff8881d1c94680 RBX: 0000000020001000 RCX: 0000000000000070 [ 42.962778] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881d36ae4d8 [ 42.970029] RBP: 0000000000000058 R08: ffff8881cfca7608 R09: 0000000000000008 [ 42.977289] R10: ffffed1039f94f1a R11: ffff8881cfca78d7 R12: ffff8881cfcca218 [ 42.984550] R13: 0000000000000008 R14: 0000000000000070 R15: ffff8881cfca7608 [ 42.991801] FS: 0000000001efa940(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000 [ 43.000011] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 43.005917] CR2: 000055d69f8f7110 CR3: 00000001d3600005 CR4: 00000000001606b0 [ 43.013176] Call Trace: [ 43.015759] binder_validate_ptr+0xad/0x190 [ 43.020076] ? binder_get_object+0x190/0x190 [ 43.024519] binder_transaction+0x1edf/0x5700 [ 43.029122] ? binder_inc_ref_for_node+0xba0/0xba0 [ 43.034044] ? trace_hardirqs_on+0x10/0x10 [ 43.038261] ? __save_stack_trace+0x7a/0xf0 [ 43.042670] ? __save_stack_trace+0x7a/0xf0 [ 43.047082] ? lock_acquire+0x10f/0x380 [ 43.051043] ? __might_fault+0xd4/0x1b0 [ 43.055003] ? __might_fault+0x177/0x1b0 [ 43.059056] ? binder_thread_write+0x512/0x1f90 [ 43.063714] ? lock_downgrade+0x5d0/0x5d0 [ 43.067845] ? binder_transaction+0x5700/0x5700 [ 43.072499] ? lock_downgrade+0x5d0/0x5d0 [ 43.076630] ? lock_acquire+0x10f/0x380 [ 43.080586] ? __might_fault+0xd4/0x1b0 [ 43.084541] ? __might_fault+0x177/0x1b0 [ 43.088639] ? binder_ioctl+0xd48/0x14ea [ 43.092802] ? binder_poll+0x230/0x230 [ 43.096673] ? __lock_acquire+0x56a/0x3fa0 [ 43.100891] ? uprobe_mmap+0xde/0x960 [ 43.104672] ? lock_downgrade+0x5d0/0x5d0 [ 43.108801] ? vma_wants_writenotify+0x19a/0x420 [ 43.113573] ? SyS_mmap_pgoff+0x1b0/0x1b0 [ 43.117707] ? uprobe_apply+0x130/0x130 [ 43.121665] ? binder_poll+0x230/0x230 [ 43.125536] ? do_vfs_ioctl+0xabe/0x1040 [ 43.129578] ? selinux_file_ioctl+0x426/0x590 [ 43.134117] ? selinux_file_ioctl+0x116/0x590 [ 43.138594] ? ioctl_preallocate+0x1e0/0x1e0 [ 43.142984] ? selinux_parse_skb.constprop.0+0x16b0/0x16b0 [ 43.148585] ? __fget+0x1ff/0x360 [ 43.152019] ? lock_downgrade+0x5d0/0x5d0 [ 43.156144] ? lock_acquire+0x10f/0x380 [ 43.160097] ? __fget+0x44/0x360 [ 43.163439] ? check_preemption_disabled+0x35/0x1f0 [ 43.168557] ? security_file_ioctl+0x7c/0xb0 [ 43.172947] ? SyS_ioctl+0x7f/0xb0 [ 43.176463] ? do_vfs_ioctl+0x1040/0x1040 [ 43.180600] ? do_syscall_64+0x19b/0x510 [ 43.184646] ? entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 43.189989] 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 14 0c ff 49 39 ed 76 07 e8 29 14 0c ff <0f> 0b e8 22 14 0c ff 4c 29 ed 49 39 ee 77 ec e8 15 14 0c ff 41 [ 43.209523] RIP: binder_alloc_do_buffer_copy+0xc7/0x500 RSP: ffff8881cfca7550 [ 43.217372] ---[ end trace 60e4f0bd61081d75 ]--- [ 43.222201] Kernel panic - not syncing: Fatal exception [ 43.227844] Kernel Offset: 0x31a00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 43.238753] Rebooting in 86400 seconds..