Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [ 34.060580] audit: type=1800 audit(1543142669.871:33): pid=6011 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 34.090400] audit: type=1800 audit(1543142669.871:34): pid=6011 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 37.311441] audit: type=1400 audit(1543142673.121:35): avc: denied { map } for pid=6187 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.15.199' (ECDSA) to the list of known hosts. [ 44.087777] audit: type=1400 audit(1543142679.901:36): avc: denied { map } for pid=6201 comm="syz-executor616" path="/root/syz-executor616502809" 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 [ 44.092244] ================================================================== executing program [ 44.114638] audit: type=1400 audit(1543142679.901:37): avc: denied { map_create } for pid=6201 comm="syz-executor616" 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 [ 44.121592] BUG: KASAN: slab-out-of-bounds in queue_stack_map_push_elem+0x185/0x290 [ 44.121605] Write of size 262146 at addr ffff8881c3f5d6c8 by task syz-executor616/6201 [ 44.121608] [ 44.121623] CPU: 0 PID: 6201 Comm: syz-executor616 Not tainted 4.20.0-rc3+ #128 [ 44.121639] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.121644] Call Trace: [ 44.121664] dump_stack+0x244/0x39d [ 44.121684] ? dump_stack_print_info.cold.1+0x20/0x20 [ 44.144528] audit: type=1400 audit(1543142679.901:38): avc: denied { map_read map_write } for pid=6201 comm="syz-executor616" 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 [ 44.152155] ? printk+0xa7/0xcf [ 44.152171] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 44.152194] print_address_description.cold.7+0x9/0x1ff [ 44.152211] kasan_report.cold.8+0x242/0x309 [ 44.231083] ? queue_stack_map_push_elem+0x185/0x290 [ 44.236214] check_memory_region+0x13e/0x1b0 [ 44.240637] memcpy+0x37/0x50 [ 44.243756] queue_stack_map_push_elem+0x185/0x290 [ 44.248678] ? queue_map_pop_elem+0x30/0x30 [ 44.252987] map_update_elem+0x605/0xf60 [ 44.257073] __x64_sys_bpf+0x32d/0x520 [ 44.260979] ? bpf_prog_get+0x20/0x20 [ 44.264776] do_syscall_64+0x1b9/0x820 [ 44.268656] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 44.274008] ? syscall_return_slowpath+0x5e0/0x5e0 [ 44.278928] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 44.283766] ? trace_hardirqs_on_caller+0x310/0x310 [ 44.288801] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 44.293811] ? prepare_exit_to_usermode+0x291/0x3b0 [ 44.298820] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 44.303672] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 44.308859] RIP: 0033:0x4400e9 [ 44.312042] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 44.330941] RSP: 002b:00007ffd8ce9ff08 EFLAGS: 00000213 ORIG_RAX: 0000000000000141 [ 44.338661] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004400e9 [ 44.345924] RDX: 0000000000000020 RSI: 0000000020000040 RDI: 0000000000000002 [ 44.353186] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 44.360448] R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401970 [ 44.367709] R13: 0000000000401a00 R14: 0000000000000000 R15: 0000000000000000 [ 44.374994] [ 44.376611] Allocated by task 6201: [ 44.380230] save_stack+0x43/0xd0 [ 44.383667] kasan_kmalloc+0xc7/0xe0 [ 44.387375] __kmalloc_node+0x50/0x70 [ 44.391192] bpf_map_area_alloc+0x3f/0x90 [ 44.395326] queue_stack_map_alloc+0x192/0x290 [ 44.399893] map_create+0x3bd/0x1110 [ 44.403590] __x64_sys_bpf+0x303/0x520 [ 44.407479] do_syscall_64+0x1b9/0x820 [ 44.411376] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 44.416560] [ 44.418169] Freed by task 3716: [ 44.421440] save_stack+0x43/0xd0 [ 44.424877] __kasan_slab_free+0x102/0x150 [ 44.429097] kasan_slab_free+0xe/0x10 [ 44.432884] kfree+0xcf/0x230 [ 44.435976] kernfs_fop_release+0x12b/0x1a0 [ 44.440287] __fput+0x385/0xa30 [ 44.443550] ____fput+0x15/0x20 [ 44.446819] task_work_run+0x1e8/0x2a0 [ 44.450699] exit_to_usermode_loop+0x318/0x380 [ 44.455266] do_syscall_64+0x6be/0x820 [ 44.459140] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 44.464308] [ 44.465925] The buggy address belongs to the object at ffff8881c3f5d580 [ 44.465925] which belongs to the cache kmalloc-512 of size 512 [ 44.478571] The buggy address is located 328 bytes inside of [ 44.478571] 512-byte region [ffff8881c3f5d580, ffff8881c3f5d780) [ 44.490438] The buggy address belongs to the page: [ 44.495402] page:ffffea00070fd740 count:1 mapcount:0 mapping:ffff8881da800940 index:0x0 [ 44.503547] flags: 0x2fffc0000000200(slab) [ 44.507795] raw: 02fffc0000000200 ffffea00070b23c8 ffffea00070e1a88 ffff8881da800940 [ 44.515713] raw: 0000000000000000 ffff8881c3f5d080 0000000100000006 0000000000000000 [ 44.523579] page dumped because: kasan: bad access detected [ 44.529273] [ 44.530884] Memory state around the buggy address: [ 44.535802] ffff8881c3f5d600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 44.543166] ffff8881c3f5d680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 44.550512] >ffff8881c3f5d700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 44.557856] ^ [ 44.561212] ffff8881c3f5d780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 44.568558] ffff8881c3f5d800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.575898] ================================================================== [ 44.583242] Disabling lock debugging due to kernel taint [ 44.588678] Kernel panic - not syncing: panic_on_warn set ... [ 44.594557] CPU: 0 PID: 6201 Comm: syz-executor616 Tainted: G B 4.20.0-rc3+ #128 [ 44.603382] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.612736] Call Trace: [ 44.615322] dump_stack+0x244/0x39d [ 44.618935] ? dump_stack_print_info.cold.1+0x20/0x20 [ 44.624112] panic+0x2ad/0x55c [ 44.627292] ? add_taint.cold.5+0x16/0x16 [ 44.631425] ? add_taint.cold.5+0x5/0x16 [ 44.635474] ? trace_hardirqs_off+0xaf/0x310 [ 44.639869] kasan_end_report+0x47/0x4f [ 44.643826] kasan_report.cold.8+0x76/0x309 [ 44.648132] ? queue_stack_map_push_elem+0x185/0x290 [ 44.653219] check_memory_region+0x13e/0x1b0 [ 44.657625] memcpy+0x37/0x50 [ 44.660716] queue_stack_map_push_elem+0x185/0x290 [ 44.665626] ? queue_map_pop_elem+0x30/0x30 [ 44.669942] map_update_elem+0x605/0xf60 [ 44.673986] __x64_sys_bpf+0x32d/0x520 [ 44.677859] ? bpf_prog_get+0x20/0x20 [ 44.681652] do_syscall_64+0x1b9/0x820 [ 44.685525] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 44.690872] ? syscall_return_slowpath+0x5e0/0x5e0 [ 44.695787] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 44.700634] ? trace_hardirqs_on_caller+0x310/0x310 [ 44.705640] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 44.710645] ? prepare_exit_to_usermode+0x291/0x3b0 [ 44.715665] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 44.720512] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 44.725701] RIP: 0033:0x4400e9 [ 44.728877] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 44.747759] RSP: 002b:00007ffd8ce9ff08 EFLAGS: 00000213 ORIG_RAX: 0000000000000141 [ 44.755466] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004400e9 [ 44.762733] RDX: 0000000000000020 RSI: 0000000020000040 RDI: 0000000000000002 [ 44.769986] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 44.777270] R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401970 [ 44.784523] R13: 0000000000401a00 R14: 0000000000000000 R15: 0000000000000000 [ 44.792666] Kernel Offset: disabled [ 44.796289] Rebooting in 86400 seconds..