[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 40.397013] audit: type=1800 audit(1571541102.621:33): pid=7392 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=2465 res=0 [ 40.420662] audit: type=1800 audit(1571541102.621:34): pid=7392 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=2456 res=0 [ 41.442351] audit: type=1400 audit(1571541103.671:35): avc: denied { map } for pid=7566 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 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.205' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program syzkaller login: [ 56.271117] audit: type=1400 audit(1571541118.491:36): avc: denied { map } for pid=7578 comm="syz-executor293" path="/root/syz-executor293641559" 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 56.311042] audit: type=1400 audit(1571541118.491:37): avc: denied { prog_load } for pid=7586 comm="syz-executor293" 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 58.136223] ================================================================== [ 58.143781] BUG: KASAN: use-after-free in bpf_prog_kallsyms_find+0x2a9/0x2c0 [ 58.150958] Read of size 8 at addr ffff8880a0171800 by task syz-executor293/8207 [ 58.158483] [ 58.160111] CPU: 1 PID: 8207 Comm: syz-executor293 Not tainted 4.19.80 #0 [ 58.167018] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.176354] Call Trace: [ 58.178932] dump_stack+0x172/0x1f0 [ 58.182548] ? bpf_prog_kallsyms_find+0x2a9/0x2c0 [ 58.187379] print_address_description.cold+0x7c/0x20d [ 58.192644] ? bpf_prog_kallsyms_find+0x2a9/0x2c0 [ 58.197472] kasan_report.cold+0x8c/0x2ba [ 58.201610] __asan_report_load8_noabort+0x14/0x20 [ 58.206526] bpf_prog_kallsyms_find+0x2a9/0x2c0 [ 58.211189] ? rcu_bh_qs+0x51/0xc0 [ 58.214720] is_bpf_text_address+0x78/0x170 [ 58.219027] kernel_text_address+0x73/0xf0 [ 58.223247] __kernel_text_address+0xd/0x40 [ 58.227557] unwind_get_return_address+0x61/0xa0 [ 58.232300] __save_stack_trace+0x99/0x100 [ 58.236541] save_stack_trace+0x1a/0x20 [ 58.240507] save_stack+0x45/0xd0 [ 58.243946] ? save_stack+0x45/0xd0 [ 58.247557] ? kasan_kmalloc+0xce/0xf0 [ 58.251425] ? kasan_slab_alloc+0xf/0x20 [ 58.255473] ? kmem_cache_alloc_node_trace+0x13c/0x720 [ 58.260734] ? __kmalloc_node+0x3d/0x80 [ 58.264698] ? __vmalloc_node_range+0x1f8/0x790 [ 58.269351] ? __vmalloc+0x44/0x50 [ 58.272876] ? bpf_prog_alloc+0x65/0x2a0 [ 58.276928] ? bpf_prog_load+0x558/0x13f0 [ 58.281058] ? __x64_sys_bpf+0x32b/0x4c0 [ 58.285105] ? do_syscall_64+0xfd/0x620 [ 58.289077] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.294443] ? mark_held_locks+0x100/0x100 [ 58.298667] ? mark_held_locks+0x100/0x100 [ 58.302889] ? fs_reclaim_acquire+0x20/0x20 [ 58.307198] ? find_held_lock+0x35/0x130 [ 58.311242] ? fs_reclaim_acquire+0x20/0x20 [ 58.315555] ? lock_downgrade+0x880/0x880 [ 58.319690] ? kasan_unpoison_shadow+0x35/0x50 [ 58.324256] kasan_kmalloc+0xce/0xf0 [ 58.327959] kasan_slab_alloc+0xf/0x20 [ 58.331832] kmem_cache_alloc_node_trace+0x13c/0x720 [ 58.336928] ? kasan_check_read+0x11/0x20 [ 58.341063] ? do_raw_spin_unlock+0x57/0x270 [ 58.345466] __kmalloc_node+0x3d/0x80 [ 58.349253] __vmalloc_node_range+0x1f8/0x790 [ 58.353739] __vmalloc+0x44/0x50 [ 58.357096] ? bpf_prog_alloc+0x65/0x2a0 [ 58.361143] bpf_prog_alloc+0x65/0x2a0 [ 58.365019] bpf_prog_load+0x558/0x13f0 [ 58.368992] ? bpf_prog_new_fd+0x60/0x60 [ 58.373042] ? lock_downgrade+0x880/0x880 [ 58.377180] ? selinux_bpf+0xe7/0x130 [ 58.380965] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 58.386490] ? security_bpf+0x8b/0xc0 [ 58.390279] __x64_sys_bpf+0x32b/0x4c0 [ 58.394162] ? bpf_prog_get+0x20/0x20 [ 58.397955] ? do_syscall_64+0x26/0x620 [ 58.401917] ? lockdep_hardirqs_on+0x415/0x5d0 [ 58.406485] ? trace_hardirqs_on+0x67/0x220 [ 58.410803] do_syscall_64+0xfd/0x620 [ 58.414605] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.419778] RIP: 0033:0x441449 [ 58.422957] Code: e8 ac e8 ff ff 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 eb 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 58.441840] RSP: 002b:00007ffd1b16a268 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 58.449532] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441449 [ 58.456788] RDX: 0000000000000032 RSI: 0000000020000440 RDI: 0000000000000005 [ 58.464042] RBP: 000000000000e2e5 R08: 0000000000000004 R09: 00000000004002c8 [ 58.471306] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004021c0 [ 58.478562] R13: 0000000000402250 R14: 0000000000000000 R15: 0000000000000000 [ 58.485837] [ 58.487451] Allocated by task 8204: [ 58.491070] save_stack+0x45/0xd0 [ 58.494511] kasan_kmalloc+0xce/0xf0 [ 58.498216] kmem_cache_alloc_trace+0x152/0x760 [ 58.502883] bpf_prog_alloc+0x216/0x2a0 [ 58.506842] bpf_check+0x3e7f/0x6259 [ 58.510550] bpf_prog_load+0xdcf/0x13f0 [ 58.514510] __x64_sys_bpf+0x32b/0x4c0 [ 58.518383] do_syscall_64+0xfd/0x620 [ 58.522187] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.527515] [ 58.529125] Freed by task 2534: [ 58.532392] save_stack+0x45/0xd0 [ 58.535829] __kasan_slab_free+0x102/0x150 [ 58.540050] kasan_slab_free+0xe/0x10 [ 58.543839] kfree+0xcf/0x220 [ 58.546931] bpf_jit_free+0xa5/0x300 [ 58.550631] bpf_prog_free_deferred+0x1a6/0x420 [ 58.555300] process_one_work+0x989/0x1750 [ 58.559523] worker_thread+0x98/0xe40 [ 58.563308] kthread+0x354/0x420 [ 58.566660] ret_from_fork+0x24/0x30 [ 58.570354] [ 58.571967] The buggy address belongs to the object at ffff8880a01717c0 [ 58.571967] which belongs to the cache kmalloc-256 of size 256 [ 58.584610] The buggy address is located 64 bytes inside of [ 58.584610] 256-byte region [ffff8880a01717c0, ffff8880a01718c0) [ 58.596386] The buggy address belongs to the page: [ 58.601302] page:ffffea0002805c40 count:1 mapcount:0 mapping:ffff88812c3f07c0 index:0x0 [ 58.609430] flags: 0x1fffc0000000100(slab) [ 58.613653] raw: 01fffc0000000100 ffffea000240eac8 ffffea00027e6488 ffff88812c3f07c0 [ 58.621534] raw: 0000000000000000 ffff8880a0171040 000000010000000c 0000000000000000 [ 58.629396] page dumped because: kasan: bad access detected [ 58.635086] [ 58.636695] Memory state around the buggy address: [ 58.641611] ffff8880a0171700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.648955] ffff8880a0171780: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 58.656300] >ffff8880a0171800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.663639] ^ [ 58.666989] ffff8880a0171880: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 58.674335] ffff8880a0171900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb executing program executing program executing program executing program executing program [ 58.681676] ================================================================== [ 58.689023] Disabling lock debugging due to kernel taint [ 58.705138] Kernel panic - not syncing: panic_on_warn set ... [ 58.705138] [ 58.712544] CPU: 0 PID: 8207 Comm: syz-executor293 Tainted: G B 4.19.80 #0 [ 58.720846] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.730182] Call Trace: [ 58.732761] dump_stack+0x172/0x1f0 [ 58.736381] ? bpf_prog_kallsyms_find+0x2a9/0x2c0 [ 58.741212] panic+0x26a/0x50e [ 58.744391] ? __warn_printk+0xf3/0xf3 [ 58.748265] ? bpf_prog_kallsyms_find+0x2a9/0x2c0 [ 58.753095] ? preempt_schedule+0x4b/0x60 [ 58.757232] ? ___preempt_schedule+0x16/0x18 [ 58.761645] ? trace_hardirqs_on+0x5e/0x220 [ 58.765955] ? bpf_prog_kallsyms_find+0x2a9/0x2c0 [ 58.770794] kasan_end_report+0x47/0x4f [ 58.774756] kasan_report.cold+0xa9/0x2ba [ 58.778891] __asan_report_load8_noabort+0x14/0x20 [ 58.783808] bpf_prog_kallsyms_find+0x2a9/0x2c0 [ 58.788462] ? rcu_bh_qs+0x51/0xc0 [ 58.792002] is_bpf_text_address+0x78/0x170 [ 58.796319] kernel_text_address+0x73/0xf0 [ 58.800537] __kernel_text_address+0xd/0x40 [ 58.804850] unwind_get_return_address+0x61/0xa0 [ 58.809594] __save_stack_trace+0x99/0x100 [ 58.813821] save_stack_trace+0x1a/0x20 [ 58.817792] save_stack+0x45/0xd0 [ 58.821230] ? save_stack+0x45/0xd0 [ 58.824855] ? kasan_kmalloc+0xce/0xf0 [ 58.828726] ? kasan_slab_alloc+0xf/0x20 [ 58.832774] ? kmem_cache_alloc_node_trace+0x13c/0x720 [ 58.838036] ? __kmalloc_node+0x3d/0x80 [ 58.842009] ? __vmalloc_node_range+0x1f8/0x790 [ 58.846660] ? __vmalloc+0x44/0x50 [ 58.850184] ? bpf_prog_alloc+0x65/0x2a0 [ 58.854228] ? bpf_prog_load+0x558/0x13f0 [ 58.858358] ? __x64_sys_bpf+0x32b/0x4c0 [ 58.862405] ? do_syscall_64+0xfd/0x620 [ 58.866370] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.871727] ? mark_held_locks+0x100/0x100 [ 58.875950] ? mark_held_locks+0x100/0x100 [ 58.880172] ? fs_reclaim_acquire+0x20/0x20 [ 58.884480] ? find_held_lock+0x35/0x130 [ 58.888527] ? fs_reclaim_acquire+0x20/0x20 [ 58.892852] ? lock_downgrade+0x880/0x880 [ 58.896985] ? kasan_unpoison_shadow+0x35/0x50 [ 58.901559] kasan_kmalloc+0xce/0xf0 [ 58.905260] kasan_slab_alloc+0xf/0x20 [ 58.909135] kmem_cache_alloc_node_trace+0x13c/0x720 [ 58.914234] ? kasan_check_read+0x11/0x20 [ 58.918367] ? do_raw_spin_unlock+0x57/0x270 [ 58.922763] __kmalloc_node+0x3d/0x80 [ 58.926552] __vmalloc_node_range+0x1f8/0x790 [ 58.931037] __vmalloc+0x44/0x50 [ 58.934390] ? bpf_prog_alloc+0x65/0x2a0 [ 58.938437] bpf_prog_alloc+0x65/0x2a0 [ 58.942316] bpf_prog_load+0x558/0x13f0 [ 58.946277] ? bpf_prog_new_fd+0x60/0x60 [ 58.950341] ? lock_downgrade+0x880/0x880 [ 58.954481] ? selinux_bpf+0xe7/0x130 [ 58.958270] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 58.963798] ? security_bpf+0x8b/0xc0 [ 58.967587] __x64_sys_bpf+0x32b/0x4c0 [ 58.971462] ? bpf_prog_get+0x20/0x20 [ 58.975252] ? do_syscall_64+0x26/0x620 [ 58.979215] ? lockdep_hardirqs_on+0x415/0x5d0 [ 58.983785] ? trace_hardirqs_on+0x67/0x220 [ 58.988096] do_syscall_64+0xfd/0x620 [ 58.991884] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.997079] RIP: 0033:0x441449 [ 59.000282] Code: e8 ac e8 ff ff 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 eb 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 59.019170] RSP: 002b:00007ffd1b16a268 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 59.026865] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441449 [ 59.034133] RDX: 0000000000000032 RSI: 0000000020000440 RDI: 0000000000000005 [ 59.041389] RBP: 000000000000e2e5 R08: 0000000000000004 R09: 00000000004002c8 [ 59.048652] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004021c0 [ 59.055928] R13: 0000000000402250 R14: 0000000000000000 R15: 0000000000000000 [ 59.064418] Kernel Offset: disabled [ 59.068045] Rebooting in 86400 seconds..