[info] Using makefile-style concurrent boot in runlevel 2. [ 25.181771] audit: type=1800 audit(1538220240.086:21): pid=5184 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="bootlogs" dev="sda1" ino=2419 res=0 [ 25.210874] audit: type=1800 audit(1538220240.086:22): pid=5184 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="motd" dev="sda1" ino=2447 res=0 [....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.127' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 36.830253] raw_sendmsg: syz-executor118 forgot to set AF_INET. Fix it! executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 44.017677] ================================================================== [ 44.025156] BUG: KASAN: use-after-free in ip_cmsg_recv_offset+0x12be/0x1390 [ 44.032236] Read of size 4 at addr ffff8801d828fd60 by task syz-executor118/5771 [ 44.039740] [ 44.041349] CPU: 0 PID: 5771 Comm: syz-executor118 Not tainted 4.19.0-rc5+ #162 [ 44.048774] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.058297] Call Trace: [ 44.060876] dump_stack+0x1c4/0x2b4 [ 44.064507] ? dump_stack_print_info.cold.2+0x52/0x52 [ 44.069676] ? printk+0xa7/0xcf [ 44.073026] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 44.077774] print_address_description.cold.8+0x9/0x1ff [ 44.083151] kasan_report.cold.9+0x242/0x309 [ 44.087540] ? ip_cmsg_recv_offset+0x12be/0x1390 [ 44.092284] __asan_report_load4_noabort+0x14/0x20 [ 44.097211] ip_cmsg_recv_offset+0x12be/0x1390 [ 44.101789] ? ip_send_unicast_reply+0x1770/0x1770 [ 44.106704] ? _copy_to_iter+0x1540/0x1540 [ 44.110931] ? rcu_lockdep_current_cpu_online+0x1f0/0x2d0 [ 44.116454] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 44.121715] ? rcu_pm_notify+0xc0/0xc0 [ 44.125592] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 44.131112] ? skb_copy_datagram_iter+0x26e/0xc10 [ 44.135955] ? __sk_queue_drop_skb+0x1f0/0x1f0 [ 44.141701] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 44.147486] ? kasan_check_read+0x11/0x20 [ 44.151903] raw_recvmsg+0x71d/0x8b0 [ 44.155623] ? raw_abort+0xa0/0xa0 [ 44.159177] ? aa_file_perm+0x490/0x1060 [ 44.163238] inet_recvmsg+0x181/0x6d0 [ 44.167021] ? aa_path_link+0x5e0/0x5e0 [ 44.170978] ? inet_sendpage+0x740/0x740 [ 44.175026] ? aa_sock_msg_perm.isra.12+0xba/0x160 [ 44.179945] ? apparmor_socket_recvmsg+0x29/0x30 [ 44.184788] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 44.190309] ? security_socket_recvmsg+0x9c/0xc0 [ 44.195046] ? inet_sendpage+0x740/0x740 [ 44.199089] sock_recvmsg+0xd0/0x110 [ 44.202793] sock_read_iter+0x39b/0x570 [ 44.206765] ? sock_recvmsg+0x110/0x110 [ 44.210773] do_iter_readv_writev+0x77c/0xa80 [ 44.215266] ? vfs_dedupe_file_range+0x670/0x670 [ 44.220008] ? rw_verify_area+0x118/0x360 [ 44.224264] do_iter_read+0x26e/0x650 [ 44.228063] ? iov_iter_get_pages+0x1210/0x1210 [ 44.232885] ? ipip_gro_receive+0x100/0x100 [ 44.237313] compat_readv+0x1b4/0x260 [ 44.241102] ? vfs_iter_read+0xb0/0xb0 [ 44.244979] ? fget_raw+0x20/0x20 [ 44.248528] ? aa_af_perm+0x5a0/0x5a0 [ 44.252320] ? aa_sock_opt_perm.isra.11+0xa1/0x130 [ 44.257510] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 44.263578] ? __fdget_pos+0xde/0x200 [ 44.267364] ? __fdget_raw+0x20/0x20 [ 44.271060] ? fput+0x130/0x1a0 [ 44.274324] do_compat_readv+0x119/0x250 [ 44.278477] ? compat_readv+0x260/0x260 [ 44.282450] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 44.287890] __ia32_compat_sys_readv+0x74/0xb0 [ 44.292459] do_fast_syscall_32+0x34d/0xfb2 [ 44.296773] ? do_int80_syscall_32+0x890/0x890 [ 44.302724] ? entry_SYSENTER_compat+0x68/0x7f [ 44.307293] ? trace_hardirqs_off_caller+0xbb/0x310 [ 44.312291] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 44.317114] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 44.321937] ? trace_hardirqs_on_caller+0x310/0x310 [ 44.326934] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 44.331944] ? prepare_exit_to_usermode+0x291/0x3b0 [ 44.336944] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 44.341773] entry_SYSENTER_compat+0x70/0x7f [ 44.346174] RIP: 0023:0xf7f62ca9 [ 44.349546] Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 0c 24 c3 8b 1c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 [ 44.368461] RSP: 002b:00000000f7f5e1dc EFLAGS: 00000293 ORIG_RAX: 0000000000000091 [ 44.376281] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000500 [ 44.383536] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000 [ 44.390791] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 44.398057] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 44.405312] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 44.412580] [ 44.414199] Allocated by task 5771: [ 44.417807] save_stack+0x43/0xd0 [ 44.421249] kasan_kmalloc+0xc7/0xe0 [ 44.424950] __kmalloc_node_track_caller+0x47/0x70 [ 44.429976] __kmalloc_reserve.isra.39+0x41/0xe0 [ 44.434788] __alloc_skb+0x155/0x770 [ 44.438492] __ip_append_data.isra.47+0x21d6/0x29b0 [ 44.443488] ip_append_data.part.48+0xef/0x170 [ 44.448162] ip_append_data+0x6d/0x90 [ 44.452024] raw_sendmsg+0x1220/0x4380 [ 44.456046] inet_sendmsg+0x1a1/0x690 [ 44.460170] sock_sendmsg+0xd5/0x120 [ 44.465390] __sys_sendto+0x3d7/0x670 [ 44.470701] __ia32_sys_sendto+0xdf/0x1a0 [ 44.476707] do_fast_syscall_32+0x34d/0xfb2 [ 44.483161] entry_SYSENTER_compat+0x70/0x7f [ 44.489029] [ 44.490644] Freed by task 5771: [ 44.493904] save_stack+0x43/0xd0 [ 44.497335] __kasan_slab_free+0x102/0x150 [ 44.501551] kasan_slab_free+0xe/0x10 [ 44.505350] kfree+0xcf/0x230 [ 44.508475] skb_free_head+0x99/0xc0 [ 44.512174] pskb_expand_head+0x3bb/0x10f0 [ 44.516387] __pskb_pull_tail+0x156/0x1890 [ 44.520603] ip_cmsg_recv_offset+0x113b/0x1390 [ 44.525173] raw_recvmsg+0x71d/0x8b0 [ 44.528871] inet_recvmsg+0x181/0x6d0 [ 44.532650] sock_recvmsg+0xd0/0x110 [ 44.536345] sock_read_iter+0x39b/0x570 [ 44.540305] do_iter_readv_writev+0x77c/0xa80 [ 44.544780] do_iter_read+0x26e/0x650 [ 44.548559] compat_readv+0x1b4/0x260 [ 44.552338] do_compat_readv+0x119/0x250 [ 44.556386] __ia32_compat_sys_readv+0x74/0xb0 [ 44.561062] do_fast_syscall_32+0x34d/0xfb2 [ 44.565370] entry_SYSENTER_compat+0x70/0x7f [ 44.569773] [ 44.571422] The buggy address belongs to the object at ffff8801d828fd40 [ 44.571422] which belongs to the cache kmalloc-512 of size 512 [ 44.584175] The buggy address is located 32 bytes inside of [ 44.584175] 512-byte region [ffff8801d828fd40, ffff8801d828ff40) [ 44.596162] The buggy address belongs to the page: [ 44.601081] page:ffffea000760a3c0 count:1 mapcount:0 mapping:ffff8801da800940 index:0x0 [ 44.609260] flags: 0x2fffc0000000100(slab) [ 44.613484] raw: 02fffc0000000100 ffffea0007608a88 ffffea00075f7308 ffff8801da800940 [ 44.621348] raw: 0000000000000000 ffff8801d828f0c0 0000000100000006 0000000000000000 [ 44.629206] page dumped because: kasan: bad access detected [ 44.634895] [ 44.636499] Memory state around the buggy address: [ 44.641405] ffff8801d828fc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 44.648739] ffff8801d828fc80: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 44.656183] >ffff8801d828fd00: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 44.663570] ^ [ 44.672383] ffff8801d828fd80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.682337] ffff8801d828fe00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.690464] ================================================================== [ 44.697809] Disabling lock debugging due to kernel taint [ 44.703415] Kernel panic - not syncing: panic_on_warn set ... [ 44.703415] [ 44.710771] CPU: 0 PID: 5771 Comm: syz-executor118 Tainted: G B 4.19.0-rc5+ #162 [ 44.719585] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.728916] Call Trace: [ 44.731493] dump_stack+0x1c4/0x2b4 [ 44.735105] ? dump_stack_print_info.cold.2+0x52/0x52 [ 44.740276] panic+0x238/0x4e7 [ 44.743448] ? add_taint.cold.5+0x16/0x16 [ 44.747583] ? preempt_schedule+0x4d/0x60 [ 44.751719] ? ___preempt_schedule+0x16/0x18 [ 44.756210] ? trace_hardirqs_on+0xb4/0x310 [ 44.760522] kasan_end_report+0x47/0x4f [ 44.764590] kasan_report.cold.9+0x76/0x309 [ 44.768897] ? ip_cmsg_recv_offset+0x12be/0x1390 [ 44.773634] __asan_report_load4_noabort+0x14/0x20 [ 44.778540] ip_cmsg_recv_offset+0x12be/0x1390 [ 44.783104] ? ip_send_unicast_reply+0x1770/0x1770 [ 44.788014] ? _copy_to_iter+0x1540/0x1540 [ 44.792231] ? rcu_lockdep_current_cpu_online+0x1f0/0x2d0 [ 44.797746] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 44.803009] ? rcu_pm_notify+0xc0/0xc0 [ 44.806896] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 44.812431] ? skb_copy_datagram_iter+0x26e/0xc10 [ 44.817347] ? __sk_queue_drop_skb+0x1f0/0x1f0 [ 44.821928] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 44.827712] ? kasan_check_read+0x11/0x20 [ 44.831852] raw_recvmsg+0x71d/0x8b0 [ 44.835550] ? raw_abort+0xa0/0xa0 [ 44.839071] ? aa_file_perm+0x490/0x1060 [ 44.843120] inet_recvmsg+0x181/0x6d0 [ 44.846970] ? aa_path_link+0x5e0/0x5e0 [ 44.850936] ? inet_sendpage+0x740/0x740 [ 44.856527] ? aa_sock_msg_perm.isra.12+0xba/0x160 [ 44.861460] ? apparmor_socket_recvmsg+0x29/0x30 [ 44.866195] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 44.871838] ? security_socket_recvmsg+0x9c/0xc0 [ 44.876585] ? inet_sendpage+0x740/0x740 [ 44.880631] sock_recvmsg+0xd0/0x110 [ 44.884324] sock_read_iter+0x39b/0x570 [ 44.888279] ? sock_recvmsg+0x110/0x110 [ 44.892495] do_iter_readv_writev+0x77c/0xa80 [ 44.896980] ? vfs_dedupe_file_range+0x670/0x670 [ 44.901719] ? rw_verify_area+0x118/0x360 [ 44.906036] do_iter_read+0x26e/0x650 [ 44.909837] ? iov_iter_get_pages+0x1210/0x1210 [ 44.914523] ? ipip_gro_receive+0x100/0x100 [ 44.918834] compat_readv+0x1b4/0x260 [ 44.922617] ? vfs_iter_read+0xb0/0xb0 [ 44.926556] ? fget_raw+0x20/0x20 [ 44.930010] ? aa_af_perm+0x5a0/0x5a0 [ 44.933794] ? aa_sock_opt_perm.isra.11+0xa1/0x130 [ 44.938703] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 44.944218] ? __fdget_pos+0xde/0x200 [ 44.948001] ? __fdget_raw+0x20/0x20 [ 44.951825] ? fput+0x130/0x1a0 [ 44.955096] do_compat_readv+0x119/0x250 [ 44.959154] ? compat_readv+0x260/0x260 [ 44.963121] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 44.968570] __ia32_compat_sys_readv+0x74/0xb0 [ 44.973133] do_fast_syscall_32+0x34d/0xfb2 [ 44.977434] ? do_int80_syscall_32+0x890/0x890 [ 44.982001] ? entry_SYSENTER_compat+0x68/0x7f [ 44.986565] ? trace_hardirqs_off_caller+0xbb/0x310 [ 44.991606] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 44.996450] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.001396] ? trace_hardirqs_on_caller+0x310/0x310 [ 45.006397] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 45.011400] ? prepare_exit_to_usermode+0x291/0x3b0 [ 45.016401] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.021226] entry_SYSENTER_compat+0x70/0x7f [ 45.025618] RIP: 0023:0xf7f62ca9 [ 45.029024] Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 0c 24 c3 8b 1c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 [ 45.049536] RSP: 002b:00000000f7f5e1dc EFLAGS: 00000293 ORIG_RAX: 0000000000000091 [ 45.058783] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000500 [ 45.066048] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000 [ 45.073306] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 45.080554] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 45.087807] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 45.096057] Kernel Offset: disabled [ 45.099676] Rebooting in 86400 seconds..