[ 36.724496] audit: type=1800 audit(1545901762.341:27): pid=7579 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [ 36.760864] audit: type=1800 audit(1545901762.341:28): pid=7579 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2417 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 37.450511] audit: type=1800 audit(1545901763.141:29): pid=7579 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 37.511258] startpar (7579) used greatest stack depth: 15736 bytes left Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.10.22' (ECDSA) to the list of known hosts. RTNETLINK answers: No buffer space available RTNETLINK answers: No buffer space available RTNETLINK answers: File exists syzkaller login: [ 56.138620] IPVS: ftp: loaded support on port[0] = 21 [ 56.291975] chnl_net:caif_netlink_parms(): no params data found [ 56.400237] bridge0: port 1(bridge_slave_0) entered blocking state [ 56.407188] bridge0: port 1(bridge_slave_0) entered disabled state [ 56.414494] device bridge_slave_0 entered promiscuous mode [ 56.432682] bridge0: port 2(bridge_slave_1) entered blocking state [ 56.439089] bridge0: port 2(bridge_slave_1) entered disabled state [ 56.446205] device bridge_slave_1 entered promiscuous mode [ 56.495306] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 56.516314] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 56.566651] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 56.574241] team0: Port device team_slave_0 added [ 56.590762] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 56.597866] team0: Port device team_slave_1 added [ 56.613779] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 56.633115] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready Garbage instead of arguments "slave1 ...". Try "ip link help". [ 56.691655] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 56.710986] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready RTNETLINK answers: Operation not supported RTNETLINK answers: No buffer space available RTNETLINK answers: Operation not supported [ 56.859097] bridge0: port 2(bridge_slave_1) entered blocking state [ 56.865581] bridge0: port 2(bridge_slave_1) entered forwarding state [ 56.872451] bridge0: port 1(bridge_slave_0) entered blocking state [ 56.878850] bridge0: port 1(bridge_slave_0) entered forwarding state RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument [ 57.241903] bridge0: port 1(bridge_slave_0) entered disabled state [ 57.249314] bridge0: port 2(bridge_slave_1) entered disabled state [ 57.414044] 8021q: adding VLAN 0 to HW filter on device bond0 [ 57.468098] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 57.521894] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 57.528189] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 57.537582] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 57.580061] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 57.586128] 8021q: adding VLAN 0 to HW filter on device team0 [ 57.637617] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 57.644775] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 57.652941] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 57.661192] bridge0: port 1(bridge_slave_0) entered blocking state [ 57.667531] bridge0: port 1(bridge_slave_0) entered forwarding state [ 57.710880] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 57.717892] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 57.727540] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 57.735438] bridge0: port 2(bridge_slave_1) entered blocking state [ 57.741825] bridge0: port 2(bridge_slave_1) entered forwarding state [ 57.784944] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bond: link is not ready [ 57.792084] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bond: link becomes ready [ 57.847457] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bond: link is not ready [ 57.854360] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bond: link becomes ready [ 57.906552] IPv6: ADDRCONF(NETDEV_UP): veth0_to_team: link is not ready [ 57.913492] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_team: link becomes ready [ 57.921656] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 57.930171] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 57.984148] IPv6: ADDRCONF(NETDEV_UP): veth1_to_team: link is not ready [ 57.991204] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_team: link becomes ready [ 57.998863] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 58.054510] IPv6: ADDRCONF(NETDEV_UP): veth0_to_hsr: link is not ready [ 58.061470] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_hsr: link becomes ready [ 58.069039] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready Cannot find device "hsr0" [ 58.120871] IPv6: ADDRCONF(NETDEV_UP): veth1_to_hsr: link is not ready [ 58.127614] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_hsr: link becomes ready [ 58.137103] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready Cannot find device "hsr0" Cannot find device "hsr0" Cannot find device "hsr0" Cannot find device "ip6erspan0" Cannot find device "ip6erspan0" Cannot find device "ip6erspan0" Cannot find device "ip6erspan0" RTNETLINK answers: Operation not supported RTNETLINK answers: No buffer space available RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported [ 58.464020] IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready RTNETLINK answers: No such device executing program [ 58.618392] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 58.700583] ================================================================== [ 58.708080] BUG: KASAN: use-after-free in batadv_interface_tx+0x1610/0x18c0 [ 58.715171] Read of size 2 at addr ffff888090018d0b by task syz-executor265/7732 [ 58.722683] [ 58.724295] CPU: 0 PID: 7732 Comm: syz-executor265 Not tainted 4.20.0+ #293 [ 58.731376] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.740708] Call Trace: [ 58.743283] dump_stack+0x1d3/0x2c6 [ 58.746893] ? dump_stack_print_info.cold.1+0x20/0x20 [ 58.752065] ? printk+0xa7/0xcf [ 58.755325] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 58.760071] print_address_description.cold.8+0x9/0x1ff [ 58.765433] kasan_report.cold.9+0x242/0x309 [ 58.769831] ? batadv_interface_tx+0x1610/0x18c0 [ 58.774574] __asan_report_load_n_noabort+0xf/0x20 [ 58.779500] batadv_interface_tx+0x1610/0x18c0 [ 58.784094] ? batadv_skb_head_push+0x3b0/0x3b0 [ 58.788762] ? validate_xmit_xfrm+0x1ef/0xda0 [ 58.793243] ? skb_set_owner_w+0x24e/0x360 [ 58.797469] ? validate_xmit_skb+0x80c/0xf30 [ 58.801859] ? kasan_check_write+0x14/0x20 [ 58.806079] ? netif_skb_features+0xb70/0xb70 [ 58.810707] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 58.815708] ? _copy_from_iter+0x389/0xf70 [ 58.819937] ? usercopy_warn+0x110/0x110 [ 58.823989] ? dev_direct_xmit+0x22b/0x6b0 [ 58.828217] dev_direct_xmit+0x378/0x6b0 [ 58.832266] ? validate_xmit_skb_list+0x140/0x140 [ 58.837092] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 58.842615] ? skb_copy_datagram_from_iter+0x451/0x660 [ 58.847876] packet_direct_xmit+0xfb/0x170 [ 58.852097] packet_sendmsg+0x43a7/0x69a0 [ 58.856232] ? mark_held_locks+0x130/0x130 [ 58.860461] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 58.865558] ? packet_getname+0x5f0/0x5f0 [ 58.869693] ? debug_object_free+0x32d/0x690 [ 58.874088] ? aa_profile_af_perm+0x410/0x410 [ 58.878575] ? ___might_sleep+0x1ed/0x300 [ 58.882707] ? perf_trace_sched_migrate_task+0x840/0x9a0 [ 58.888144] ? __local_bh_enable_ip+0x160/0x260 [ 58.892813] ? __local_bh_enable_ip+0x160/0x260 [ 58.897480] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 58.902391] ? aa_sk_perm+0x22b/0x8e0 [ 58.906178] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 58.911711] ? __fget_light+0x2e9/0x430 [ 58.915667] ? aa_af_perm+0x5a0/0x5a0 [ 58.919452] ? __local_bh_enable_ip+0x160/0x260 [ 58.924104] ? _raw_spin_unlock_bh+0x30/0x40 [ 58.928501] ? aa_sock_msg_perm.isra.14+0xba/0x160 [ 58.933416] ? apparmor_socket_sendmsg+0x29/0x30 [ 58.938182] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 58.943703] ? security_socket_sendmsg+0x94/0xc0 [ 58.948455] ? packet_getname+0x5f0/0x5f0 [ 58.952590] sock_sendmsg+0xd5/0x120 [ 58.956290] __sys_sendto+0x3d7/0x670 [ 58.960072] ? aa_af_perm+0x5a0/0x5a0 [ 58.963856] ? __ia32_sys_getpeername+0xb0/0xb0 [ 58.968513] ? packet_bind+0x164/0x1b0 [ 58.972386] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 58.977906] ? __sys_bind+0x1d1/0x440 [ 58.981697] ? __compat_sys_setsockopt+0x235/0x860 [ 58.986610] ? do_fast_syscall_32+0x150/0xfb2 [ 58.991098] ? do_fast_syscall_32+0x150/0xfb2 [ 58.995575] ? lockdep_hardirqs_on+0x421/0x5c0 [ 59.000147] ? trace_hardirqs_on+0xbd/0x310 [ 59.004453] ? entry_SYSENTER_compat+0x70/0x7f [ 59.009016] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 59.014451] __ia32_sys_sendto+0xdf/0x1a0 [ 59.018584] do_fast_syscall_32+0x34d/0xfb2 [ 59.022889] ? do_int80_syscall_32+0x890/0x890 [ 59.027456] ? entry_SYSENTER_compat+0x68/0x7f [ 59.032018] ? trace_hardirqs_off_caller+0xbb/0x310 [ 59.037019] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 59.041842] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 59.046666] ? trace_hardirqs_on_caller+0x310/0x310 [ 59.051674] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 59.056672] ? prepare_exit_to_usermode+0x291/0x3b0 [ 59.061673] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 59.066503] entry_SYSENTER_compat+0x70/0x7f [ 59.070893] RIP: 0023:0xf7f7fa49 [ 59.074243] Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 14 24 c3 8b 3c 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 [ 59.093126] RSP: 002b:00000000ffe2201c EFLAGS: 00000286 ORIG_RAX: 0000000000000171 [ 59.100823] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000180 [ 59.108072] RDX: 000000000000000e RSI: 0000000000000000 RDI: 0000000000000000 [ 59.115324] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 59.122970] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 59.130221] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 59.137480] [ 59.139088] Allocated by task 7634: [ 59.142717] save_stack+0x43/0xd0 [ 59.146156] kasan_kmalloc+0xc7/0xe0 [ 59.149852] kasan_slab_alloc+0x12/0x20 [ 59.153805] kmem_cache_alloc+0x12e/0x730 [ 59.157932] getname_flags+0xd0/0x590 [ 59.161712] getname+0x19/0x20 [ 59.164902] do_sys_open+0x383/0x700 [ 59.168596] __x64_sys_open+0x7e/0xc0 [ 59.172378] do_syscall_64+0x1b9/0x820 [ 59.176248] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 59.181415] [ 59.183024] Freed by task 7634: [ 59.186284] save_stack+0x43/0xd0 [ 59.189721] __kasan_slab_free+0x102/0x150 [ 59.193938] kasan_slab_free+0xe/0x10 [ 59.197729] kmem_cache_free+0x83/0x290 [ 59.201684] putname+0xf2/0x130 [ 59.204946] do_sys_open+0x54d/0x700 [ 59.208648] __x64_sys_open+0x7e/0xc0 [ 59.212441] do_syscall_64+0x1b9/0x820 [ 59.216309] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 59.221474] [ 59.223090] The buggy address belongs to the object at ffff888090018880 [ 59.223090] which belongs to the cache names_cache of size 4096 [ 59.235816] The buggy address is located 1163 bytes inside of [ 59.235816] 4096-byte region [ffff888090018880, ffff888090019880) [ 59.247841] The buggy address belongs to the page: [ 59.252754] page:ffffea0002400600 count:1 mapcount:0 mapping:ffff88812c2ccc40 index:0x0 compound_mapcount: 0 [ 59.262708] flags: 0x1fffc0000010200(slab|head) [ 59.267362] raw: 01fffc0000010200 ffffea000241ca08 ffffea00023d8508 ffff88812c2ccc40 [ 59.275227] raw: 0000000000000000 ffff888090018880 0000000100000001 0000000000000000 [ 59.283086] page dumped because: kasan: bad access detected [ 59.289537] [ 59.291152] Memory state around the buggy address: [ 59.296064] ffff888090018c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.303409] ffff888090018c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.310749] >ffff888090018d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.318087] ^ [ 59.321700] ffff888090018d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.329042] ffff888090018e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.336386] ================================================================== [ 59.343726] Disabling lock debugging due to kernel taint [ 59.349199] Kernel panic - not syncing: panic_on_warn set ... [ 59.355087] CPU: 0 PID: 7732 Comm: syz-executor265 Tainted: G B 4.20.0+ #293 [ 59.363589] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 59.372921] Call Trace: [ 59.375492] dump_stack+0x1d3/0x2c6 [ 59.379128] ? dump_stack_print_info.cold.1+0x20/0x20 [ 59.384319] panic+0x2ad/0x55c [ 59.387498] ? add_taint.cold.5+0x16/0x16 [ 59.391806] ? trace_hardirqs_on+0xb4/0x310 [ 59.396124] kasan_end_report+0x47/0x4f [ 59.400103] kasan_report.cold.9+0x76/0x309 [ 59.404416] ? batadv_interface_tx+0x1610/0x18c0 [ 59.409157] __asan_report_load_n_noabort+0xf/0x20 [ 59.414067] batadv_interface_tx+0x1610/0x18c0 [ 59.418632] ? batadv_skb_head_push+0x3b0/0x3b0 [ 59.423281] ? validate_xmit_xfrm+0x1ef/0xda0 [ 59.427757] ? skb_set_owner_w+0x24e/0x360 [ 59.431975] ? validate_xmit_skb+0x80c/0xf30 [ 59.436381] ? kasan_check_write+0x14/0x20 [ 59.440609] ? netif_skb_features+0xb70/0xb70 [ 59.445085] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 59.450095] ? _copy_from_iter+0x389/0xf70 [ 59.454319] ? usercopy_warn+0x110/0x110 [ 59.458450] ? dev_direct_xmit+0x22b/0x6b0 [ 59.462667] dev_direct_xmit+0x378/0x6b0 [ 59.466709] ? validate_xmit_skb_list+0x140/0x140 [ 59.471537] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 59.477060] ? skb_copy_datagram_from_iter+0x451/0x660 [ 59.482320] packet_direct_xmit+0xfb/0x170 [ 59.486534] packet_sendmsg+0x43a7/0x69a0 [ 59.490663] ? mark_held_locks+0x130/0x130 [ 59.494879] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 59.499967] ? packet_getname+0x5f0/0x5f0 [ 59.504101] ? debug_object_free+0x32d/0x690 [ 59.508496] ? aa_profile_af_perm+0x410/0x410 [ 59.512986] ? ___might_sleep+0x1ed/0x300 [ 59.517118] ? perf_trace_sched_migrate_task+0x840/0x9a0 [ 59.522548] ? __local_bh_enable_ip+0x160/0x260 [ 59.527195] ? __local_bh_enable_ip+0x160/0x260 [ 59.531851] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 59.536761] ? aa_sk_perm+0x22b/0x8e0 [ 59.540543] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 59.546061] ? __fget_light+0x2e9/0x430 [ 59.550018] ? aa_af_perm+0x5a0/0x5a0 [ 59.553810] ? __local_bh_enable_ip+0x160/0x260 [ 59.558461] ? _raw_spin_unlock_bh+0x30/0x40 [ 59.562856] ? aa_sock_msg_perm.isra.14+0xba/0x160 [ 59.567767] ? apparmor_socket_sendmsg+0x29/0x30 [ 59.572517] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 59.578055] ? security_socket_sendmsg+0x94/0xc0 [ 59.582806] ? packet_getname+0x5f0/0x5f0 [ 59.586940] sock_sendmsg+0xd5/0x120 [ 59.590635] __sys_sendto+0x3d7/0x670 [ 59.594422] ? aa_af_perm+0x5a0/0x5a0 [ 59.598205] ? __ia32_sys_getpeername+0xb0/0xb0 [ 59.602870] ? packet_bind+0x164/0x1b0 [ 59.606756] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 59.612276] ? __sys_bind+0x1d1/0x440 [ 59.616062] ? __compat_sys_setsockopt+0x235/0x860 [ 59.620974] ? do_fast_syscall_32+0x150/0xfb2 [ 59.625453] ? do_fast_syscall_32+0x150/0xfb2 [ 59.629928] ? lockdep_hardirqs_on+0x421/0x5c0 [ 59.634490] ? trace_hardirqs_on+0xbd/0x310 [ 59.638793] ? entry_SYSENTER_compat+0x70/0x7f [ 59.643358] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 59.648801] __ia32_sys_sendto+0xdf/0x1a0 [ 59.652932] do_fast_syscall_32+0x34d/0xfb2 [ 59.657236] ? do_int80_syscall_32+0x890/0x890 [ 59.661807] ? entry_SYSENTER_compat+0x68/0x7f [ 59.666376] ? trace_hardirqs_off_caller+0xbb/0x310 [ 59.671383] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 59.676213] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 59.681035] ? trace_hardirqs_on_caller+0x310/0x310 [ 59.686030] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 59.691037] ? prepare_exit_to_usermode+0x291/0x3b0 [ 59.696041] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 59.700870] entry_SYSENTER_compat+0x70/0x7f [ 59.705258] RIP: 0023:0xf7f7fa49 [ 59.708608] Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 14 24 c3 8b 3c 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 [ 59.727489] RSP: 002b:00000000ffe2201c EFLAGS: 00000286 ORIG_RAX: 0000000000000171 [ 59.735188] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000180 [ 59.742437] RDX: 000000000000000e RSI: 0000000000000000 RDI: 0000000000000000 [ 59.749696] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 59.756945] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 59.764205] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 59.772559] Kernel Offset: disabled [ 59.776179] Rebooting in 86400 seconds..