[ 43.653107][ T26] audit: type=1800 audit(1553786620.148:31): pid=7923 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 47.657362][ T26] kauditd_printk_skb: 3 callbacks suppressed [ 47.657377][ T26] audit: type=1400 audit(1553786624.228:35): avc: denied { map } for pid=8096 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 Warning: Permanently added '10.128.0.240' (ECDSA) to the list of known hosts. executing program [ 64.665525][ T26] audit: type=1400 audit(1553786641.228:36): avc: denied { map } for pid=8108 comm="syz-executor353" path="/root/syz-executor353016907" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 64.695092][ T8109] IPVS: ftp: loaded support on port[0] = 21 [ 64.730920][ T8111] binder: 8110:8111 BC_DEAD_BINDER_DONE 0000000000000004 not found [ 64.739323][ T8111] binder: 8110:8111 DecRefs 0 refcount change on invalid ref 1 ret -22 [ 64.748078][ T8111] binder: 8110:8111 transaction failed 29189/-22, size 0-8 line 2994 [ 64.756528][ T26] audit: type=1400 audit(1553786641.318:37): avc: denied { map } for pid=8110 comm="syz-executor353" path="/dev/binder0" dev="devtmpfs" ino=17594 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file permissive=1 [ 64.759535][ T8111] binder: 8110:8111 BC_DEAD_BINDER_DONE 0000000000000004 not found [ 64.782699][ T26] audit: type=1400 audit(1553786641.328:38): avc: denied { set_context_mgr } for pid=8110 comm="syz-executor353" 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 [ 64.791220][ T8112] binder_alloc: binder_alloc_mmap_handler: 8110 20001000-20004000 already mapped failed -16 [ 64.825178][ T8111] binder: 8110:8111 DecRefs 0 refcount change on invalid ref 1 ret -22 [ 64.826936][ T8113] binder: BINDER_SET_CONTEXT_MGR already set [ 64.839866][ T8113] binder: 8110:8113 ioctl 40046207 0 returned -16 [ 64.840450][ T26] audit: type=1400 audit(1553786641.418:39): avc: denied { call } for pid=8110 comm="syz-executor353" 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 [ 64.846777][ T8111] binder_alloc: 8110: binder_alloc_buf, no vma executing program [ 64.876532][ T8111] binder: 8110:8111 transaction failed 29189/-3, size 0-8 line 3147 [ 64.887798][ T12] binder: undelivered TRANSACTION_ERROR: 29189 [ 64.894177][ T12] binder: undelivered TRANSACTION_ERROR: 29189 [ 64.906950][ T8115] binder: 8114:8115 BC_DEAD_BINDER_DONE 0000000000000004 not found [ 64.914910][ T8115] binder: 8114:8115 DecRefs 0 refcount change on invalid ref 1 ret -22 [ 64.923352][ T8115] binder: 8114:8115 transaction failed 29189/-22, size 0-8 line 2994 [ 64.933538][ T8115] binder: 8114:8115 BC_DEAD_BINDER_DONE 0000000000000004 not found [ 64.941931][ T8116] binder_alloc: binder_alloc_mmap_handler: 8114 20001000-20004000 already mapped failed -16 [ 64.952640][ T8115] binder: 8114:8115 DecRefs 0 refcount change on invalid ref 1 ret -22 [ 64.956873][ T8116] binder: BINDER_SET_CONTEXT_MGR already set [ 64.967157][ T8116] binder: 8114:8116 ioctl 40046207 0 returned -16 [ 64.967502][ T8115] binder_alloc: 8114: binder_alloc_buf, no vma executing program [ 64.980168][ T8115] binder: 8114:8115 transaction failed 29189/-3, size 0-8 line 3147 [ 64.989693][ T22] binder: undelivered TRANSACTION_ERROR: 29189 [ 64.995935][ T22] binder: undelivered TRANSACTION_ERROR: 29189 [ 65.003259][ T8118] binder: 8117:8118 BC_DEAD_BINDER_DONE 0000000000000004 not found [ 65.011660][ T8118] binder: 8117:8118 DecRefs 0 refcount change on invalid ref 1 ret -22 [ 65.020143][ T8118] binder: 8117:8118 transaction failed 29189/-22, size 0-8 line 2994 [ 65.029727][ T8118] binder: 8117:8118 BC_DEAD_BINDER_DONE 0000000000000004 not found [ 65.037819][ T8119] binder_alloc: binder_alloc_mmap_handler: 8117 20001000-20004000 already mapped failed -16 [ 65.048187][ T8118] binder: 8117:8118 DecRefs 0 refcount change on invalid ref 1 ret -22 [ 65.056477][ T8118] binder_alloc: 8117: binder_alloc_buf, no vma [ 65.063020][ T8119] binder: BINDER_SET_CONTEXT_MGR already set [ 65.066724][ T8118] binder: 8117:8118 transaction failed 29189/-3, size 0-8 line 3147 [ 65.069047][ T8119] binder: 8117:8119 ioctl 40046207 0 returned -16 executing program [ 65.085358][ T22] binder: undelivered TRANSACTION_ERROR: 29189 [ 65.091839][ T22] binder: undelivered TRANSACTION_ERROR: 29189 [ 65.100441][ T8121] binder: 8120:8121 BC_DEAD_BINDER_DONE 0000000000000004 not found [ 65.108679][ T8121] binder: 8120:8121 DecRefs 0 refcount change on invalid ref 1 ret -22 [ 65.117042][ T8121] binder: 8120:8121 transaction failed 29189/-22, size 0-8 line 2994 [ 65.126258][ T8121] binder: 8120:8121 BC_DEAD_BINDER_DONE 0000000000000004 not found [ 65.134560][ T8122] binder_alloc: binder_alloc_mmap_handler: 8120 20001000-20004000 already mapped failed -16 [ 65.145004][ T8121] binder: 8120:8121 DecRefs 0 refcount change on invalid ref 1 ret -22 [ 65.153358][ T8121] binder_alloc: 8120: binder_alloc_buf, no vma [ 65.153541][ T8122] binder: BINDER_SET_CONTEXT_MGR already set [ 65.159640][ T8121] binder: 8120:8121 transaction failed 29189/-3, size 0-8 line 3147 [ 65.165968][ T8122] binder: 8120:8122 ioctl 40046207 0 returned -16 executing program [ 65.181723][ T12] binder: undelivered TRANSACTION_ERROR: 29189 [ 65.188371][ T12] binder: undelivered TRANSACTION_ERROR: 29189 [ 65.198567][ T8124] binder: 8123:8124 BC_DEAD_BINDER_DONE 0000000000000004 not found [ 65.206508][ T8124] binder: 8123:8124 DecRefs 0 refcount change on invalid ref 1 ret -22 [ 65.215486][ T8124] binder: 8123:8124 transaction failed 29189/-22, size 0-8 line 2994 [ 65.224955][ T8124] binder: 8123:8124 BC_DEAD_BINDER_DONE 0000000000000004 not found [ 65.233182][ T8125] binder_alloc: binder_alloc_mmap_handler: 8123 20001000-20004000 already mapped failed -16 [ 65.236690][ T8124] binder: 8123:8124 DecRefs 0 refcount change on invalid ref 1 ret -22 [ 65.251791][ T8125] binder: BINDER_SET_CONTEXT_MGR already set [ 65.258466][ T8125] binder: 8123:8125 ioctl 40046207 0 returned -16 [ 65.258512][ T8124] binder_alloc: 8123: binder_alloc_buf, no vma [ 65.271174][ T8124] binder: 8123:8124 transaction failed 29189/-3, size 0-8 line 3147 [ 65.280137][ T12] binder: undelivered TRANSACTION_ERROR: 29189 executing program [ 65.286344][ T12] binder: undelivered TRANSACTION_ERROR: 29189 [ 65.299581][ T8127] ------------[ cut here ]------------ [ 65.305033][ T8127] kernel BUG at drivers/android/binder_alloc.c:1141! [ 65.312028][ T8128] binder_alloc: binder_alloc_mmap_handler: 8126 20001000-20004000 already mapped failed -16 [ 65.322205][ T8127] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 65.326753][ T8128] binder: BINDER_SET_CONTEXT_MGR already set [ 65.328265][ T8127] CPU: 0 PID: 8127 Comm: syz-executor353 Not tainted 5.1.0-rc2+ #40 [ 65.328274][ T8127] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.328301][ T8127] RIP: 0010:binder_alloc_do_buffer_copy+0xd6/0x510 [ 65.334308][ T8128] binder: 8126:8128 ioctl 40046207 0 returned -16 [ 65.342225][ T8127] Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 4f f4 23 fc 4c 89 e6 4c 89 ef e8 64 f5 23 fc 4d 39 e5 76 07 e8 3a f4 23 fc <0f> 0b e8 33 f4 23 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 41 [ 65.342232][ T8127] RSP: 0018:ffff8880a4837550 EFLAGS: 00010293 [ 65.342242][ T8127] RAX: ffff8880a8f40100 RBX: 0000000020001000 RCX: ffffffff854c7d3c [ 65.342249][ T8127] RDX: 0000000000000000 RSI: ffffffff854c7d46 RDI: 0000000000000006 [ 65.342256][ T8127] RBP: ffff8880a48375d0 R08: ffff8880a8f40100 R09: 0000000000000028 [ 65.342263][ T8127] R10: ffffed1014906f01 R11: ffff8880a483780f R12: 0000000000000008 [ 65.342270][ T8127] R13: 0000000000000028 R14: ffff8880a0918b10 R15: 0000000000000000 [ 65.342280][ T8127] FS: 00007fde4490b700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 [ 65.342288][ T8127] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 65.342303][ T8127] CR2: 0000000000000000 CR3: 00000000958f9000 CR4: 00000000001406f0 [ 65.454176][ T8127] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 65.462125][ T8127] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 65.470110][ T8127] Call Trace: [ 65.473393][ T8127] ? memcpy+0x46/0x50 [ 65.477360][ T8127] binder_alloc_copy_from_buffer+0x37/0x42 [ 65.483146][ T8127] binder_get_object+0xc3/0x200 [ 65.487985][ T8127] binder_transaction+0x2b4a/0x6690 [ 65.493169][ T8127] ? binder_thread_read+0x3d50/0x3d50 [ 65.498519][ T8127] ? __lock_acquire+0x548/0x3fb0 [ 65.503453][ T8127] ? __might_fault+0x12b/0x1e0 [ 65.508206][ T8127] ? lock_downgrade+0x880/0x880 [ 65.513038][ T8127] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 65.519267][ T8127] ? _copy_from_user+0xdd/0x150 [ 65.524208][ T8127] binder_thread_write+0x87e/0x2820 [ 65.529398][ T8127] ? binder_transaction+0x6690/0x6690 [ 65.534771][ T8127] ? __might_fault+0x12b/0x1e0 [ 65.539583][ T8127] ? lock_downgrade+0x880/0x880 [ 65.544442][ T8127] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 65.550683][ T8127] ? _copy_from_user+0xdd/0x150 [ 65.555524][ T8127] binder_ioctl+0x1033/0x183b [ 65.560320][ T8127] ? binder_thread_write+0x2820/0x2820 [ 65.565778][ T8127] ? tomoyo_path_number_perm+0x263/0x520 [ 65.571396][ T8127] ? tomoyo_execute_permission+0x4a0/0x4a0 [ 65.577193][ T8127] ? binder_thread_write+0x2820/0x2820 [ 65.582643][ T8127] do_vfs_ioctl+0xd6e/0x1390 [ 65.587231][ T8127] ? ioctl_preallocate+0x210/0x210 [ 65.592324][ T8127] ? selinux_file_mprotect+0x620/0x620 [ 65.597768][ T8127] ? __fget+0x381/0x550 [ 65.601906][ T8127] ? ksys_dup3+0x3e0/0x3e0 [ 65.606306][ T8127] ? tomoyo_file_ioctl+0x23/0x30 [ 65.611227][ T8127] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 65.617466][ T8127] ? security_file_ioctl+0x93/0xc0 [ 65.622608][ T8127] ksys_ioctl+0xab/0xd0 [ 65.626751][ T8127] __x64_sys_ioctl+0x73/0xb0 [ 65.631356][ T8127] do_syscall_64+0x103/0x610 [ 65.635976][ T8127] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 65.641850][ T8127] RIP: 0033:0x44b749 [ 65.645730][ T8127] Code: e8 8c b7 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0b cd fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 65.665420][ T8127] RSP: 002b:00007fde4490ace8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 65.673825][ T8127] RAX: ffffffffffffffda RBX: 00000000006e39e8 RCX: 000000000044b749 [ 65.681778][ T8127] RDX: 0000000020000240 RSI: 00000000c0306201 RDI: 0000000000000005 [ 65.689838][ T8127] RBP: 00000000006e39e0 R08: 0000000000000000 R09: 0000000000000000 [ 65.697801][ T8127] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006e39ec [ 65.705813][ T8127] R13: 00007ffe8277ac2f R14: 00007fde4490b9c0 R15: 0000000000000000 [ 65.713777][ T8127] Modules linked in: [ 65.718982][ T8127] ---[ end trace 464d10687ac51b6e ]--- [ 65.724448][ T8127] RIP: 0010:binder_alloc_do_buffer_copy+0xd6/0x510 [ 65.731036][ T8127] Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 4f f4 23 fc 4c 89 e6 4c 89 ef e8 64 f5 23 fc 4d 39 e5 76 07 e8 3a f4 23 fc <0f> 0b e8 33 f4 23 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 41 [ 65.750670][ T8127] RSP: 0018:ffff8880a4837550 EFLAGS: 00010293 [ 65.756844][ T8127] RAX: ffff8880a8f40100 RBX: 0000000020001000 RCX: ffffffff854c7d3c [ 65.764813][ T8127] RDX: 0000000000000000 RSI: ffffffff854c7d46 RDI: 0000000000000006 [ 65.772817][ T8127] RBP: ffff8880a48375d0 R08: ffff8880a8f40100 R09: 0000000000000028 [ 65.780831][ T8127] R10: ffffed1014906f01 R11: ffff8880a483780f R12: 0000000000000008 [ 65.788841][ T8127] R13: 0000000000000028 R14: ffff8880a0918b10 R15: 0000000000000000 [ 65.796841][ T8127] FS: 00007fde4490b700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 [ 65.805751][ T8127] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 65.812353][ T8127] CR2: 0000000000000000 CR3: 00000000958f9000 CR4: 00000000001406f0 [ 65.820340][ T8127] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 65.828330][ T8127] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 65.836302][ T8127] Kernel panic - not syncing: Fatal exception [ 65.843129][ T8127] Kernel Offset: disabled [ 65.847456][ T8127] Rebooting in 86400 seconds..