[....] 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. [ 27.505459] kauditd_printk_skb: 7 callbacks suppressed [ 27.505470] audit: type=1800 audit(1540912711.666:29): pid=5538 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 [ 27.531429] audit: type=1800 audit(1540912711.666:30): pid=5538 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 34.628278] sshd (5677) used greatest stack depth: 15744 bytes left Warning: Permanently added '10.128.0.82' (ECDSA) to the list of known hosts. [ 41.192675] IPVS: ftp: loaded support on port[0] = 21 [ 41.353464] bridge0: port 1(bridge_slave_0) entered blocking state [ 41.360267] bridge0: port 1(bridge_slave_0) entered disabled state [ 41.367826] device bridge_slave_0 entered promiscuous mode [ 41.386433] bridge0: port 2(bridge_slave_1) entered blocking state [ 41.392829] bridge0: port 2(bridge_slave_1) entered disabled state [ 41.400197] device bridge_slave_1 entered promiscuous mode [ 41.418073] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 41.436660] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 41.485661] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 41.506593] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 41.583962] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 41.591264] team0: Port device team_slave_0 added [ 41.607877] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 41.615027] team0: Port device team_slave_1 added [ 41.631732] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 41.651292] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 41.669902] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 41.689071] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready RTNETLINK answers: Operation not supported RTNETLINK answers: No buffer space available RTNETLINK answers: Operation not supported [ 41.832176] bridge0: port 2(bridge_slave_1) entered blocking state [ 41.838707] bridge0: port 2(bridge_slave_1) entered forwarding state [ 41.845988] bridge0: port 1(bridge_slave_0) entered blocking state [ 41.852328] 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 [ 42.362457] 8021q: adding VLAN 0 to HW filter on device bond0 [ 42.414702] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 42.465528] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 42.471837] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 42.480357] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 42.528990] 8021q: adding VLAN 0 to HW filter on device team0 executing program [ 42.809049] ================================================================== [ 42.816511] BUG: KASAN: slab-out-of-bounds in _decode_session6+0x134a/0x1500 [ 42.823688] Read of size 1 at addr ffff8801cdd58c07 by task syz-executor020/5694 [ 42.831197] [ 42.832814] CPU: 1 PID: 5694 Comm: syz-executor020 Not tainted 4.19.0+ #280 [ 42.839924] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.849259] Call Trace: [ 42.851838] dump_stack+0x244/0x39d [ 42.855454] ? dump_stack_print_info.cold.1+0x20/0x20 [ 42.860637] ? printk+0xa7/0xcf [ 42.863917] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 42.868665] print_address_description.cold.7+0x9/0x1ff [ 42.874016] kasan_report.cold.8+0x242/0x309 [ 42.878411] ? _decode_session6+0x134a/0x1500 [ 42.882913] __asan_report_load1_noabort+0x14/0x20 [ 42.887840] _decode_session6+0x134a/0x1500 [ 42.892160] __xfrm_decode_session+0x71/0x140 [ 42.896691] vti6_tnl_xmit+0x3fc/0x1c10 [ 42.900657] ? __lock_acquire+0x62f/0x4c20 [ 42.904903] ? vti6_tnl_create2+0x430/0x430 [ 42.909216] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.914748] ? check_preemption_disabled+0x48/0x280 [ 42.919767] dev_hard_start_xmit+0x295/0xc90 [ 42.924170] ? dev_direct_xmit+0x6b0/0x6b0 [ 42.928394] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 42.933924] ? netif_skb_features+0x690/0xb70 [ 42.938413] ? rcu_softirq_qs+0x20/0x20 [ 42.942383] ? lock_acquire+0x1ed/0x520 [ 42.946349] ? __dev_queue_xmit+0x3063/0x3ad0 [ 42.950895] ? kasan_check_read+0x11/0x20 [ 42.955036] ? do_raw_spin_lock+0x14f/0x350 [ 42.959345] ? rwlock_bug.part.2+0x90/0x90 [ 42.963571] ? netif_skb_features+0xb70/0xb70 [ 42.968055] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.973583] ? check_preemption_disabled+0x48/0x280 [ 42.978589] __dev_queue_xmit+0x2f71/0x3ad0 [ 42.982913] ? save_stack+0x43/0xd0 [ 42.986526] ? kasan_kmalloc+0xc7/0xe0 [ 42.990399] ? __kmalloc_node_track_caller+0x50/0x70 [ 42.995597] ? netdev_pick_tx+0x310/0x310 [ 42.999741] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.006043] ? check_preemption_disabled+0x48/0x280 [ 43.011111] ? __lock_is_held+0xb5/0x140 [ 43.015167] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 43.020177] ? skb_release_data+0x1c4/0x880 [ 43.024495] ? kmem_cache_alloc_node_trace+0x34b/0x740 [ 43.030221] ? kasan_unpoison_shadow+0x35/0x50 [ 43.034797] ? skb_tx_error+0x2f0/0x2f0 [ 43.038765] ? __kmalloc_node_track_caller+0x50/0x70 [ 43.043859] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 43.049395] ? __sanitizer_cov_trace_const_cmp2+0x18/0x20 [ 43.054926] ? kasan_check_write+0x14/0x20 [ 43.059149] ? pskb_expand_head+0x6b3/0x10f0 [ 43.063547] ? find_held_lock+0x36/0x1c0 [ 43.067610] ? skb_release_data+0x880/0x880 [ 43.071917] ? __alloc_skb+0x770/0x770 [ 43.075804] ? __lock_is_held+0xb5/0x140 [ 43.079857] ? kasan_check_write+0x14/0x20 [ 43.084085] ? __skb_clone+0x6c7/0xa00 [ 43.087958] ? __copy_skb_header+0x6b0/0x6b0 [ 43.092351] ? kmem_cache_alloc+0x33a/0x730 [ 43.096717] ? depot_save_stack+0x292/0x470 [ 43.101039] ? skb_ensure_writable+0x15e/0x640 [ 43.105622] dev_queue_xmit+0x17/0x20 [ 43.109411] ? dev_queue_xmit+0x17/0x20 [ 43.113375] __bpf_redirect+0x5cf/0xb20 [ 43.117341] bpf_clone_redirect+0x2f6/0x490 [ 43.121655] bpf_prog_c39d1ba309a769f7+0x7ca/0x1000 [ 43.126657] ? bpf_test_run+0x175/0x780 [ 43.130622] ? lock_downgrade+0x900/0x900 [ 43.134755] ? ktime_get+0x332/0x400 [ 43.138466] ? find_held_lock+0x36/0x1c0 [ 43.142519] ? lock_acquire+0x1ed/0x520 [ 43.146484] ? bpf_test_run+0x3cb/0x780 [ 43.150448] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.155972] ? check_preemption_disabled+0x48/0x280 [ 43.160978] ? kasan_check_read+0x11/0x20 [ 43.165114] ? rcu_dynticks_curr_cpu_in_eqs+0xa2/0x170 [ 43.170382] ? rcu_softirq_qs+0x20/0x20 [ 43.174344] ? bpf_cgroup_storage_release+0x220/0x220 [ 43.179523] ? skb_try_coalesce+0x1b70/0x1b70 [ 43.184010] ? bpf_test_run+0x25d/0x780 [ 43.187990] ? netlink_diag_dump+0x2a0/0x2a0 [ 43.192384] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 43.197921] ? bpf_test_init.isra.10+0x70/0x100 [ 43.202654] ? bpf_prog_test_run_skb+0x73b/0xcb0 [ 43.207474] ? bpf_test_finish.isra.9+0x1f0/0x1f0 [ 43.212310] ? bpf_prog_add+0x69/0xd0 [ 43.216141] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.222700] ? __bpf_prog_get+0x9b/0x290 [ 43.226753] ? bpf_test_finish.isra.9+0x1f0/0x1f0 [ 43.231586] ? bpf_prog_test_run+0x130/0x1a0 [ 43.235988] ? __x64_sys_bpf+0x3d8/0x520 [ 43.240268] ? bpf_prog_get+0x20/0x20 [ 43.244069] ? do_syscall_64+0x1b9/0x820 [ 43.248117] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 43.253468] ? syscall_return_slowpath+0x5e0/0x5e0 [ 43.258388] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.263222] ? trace_hardirqs_on_caller+0x310/0x310 [ 43.268225] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 43.273233] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.278756] ? prepare_exit_to_usermode+0x291/0x3b0 [ 43.283763] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.288598] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.293958] [ 43.295570] Allocated by task 5694: [ 43.299182] save_stack+0x43/0xd0 [ 43.302617] kasan_kmalloc+0xc7/0xe0 [ 43.306330] __kmalloc_node_track_caller+0x50/0x70 [ 43.311259] __kmalloc_reserve.isra.40+0x41/0xe0 [ 43.315999] pskb_expand_head+0x230/0x10f0 [ 43.320218] skb_ensure_writable+0x3dd/0x640 [ 43.324610] bpf_clone_redirect+0x14a/0x490 [ 43.328924] bpf_prog_c39d1ba309a769f7+0x7ca/0x1000 [ 43.333926] [ 43.335539] Freed by task 4272: [ 43.338802] save_stack+0x43/0xd0 [ 43.342241] __kasan_slab_free+0x102/0x150 [ 43.346459] kasan_slab_free+0xe/0x10 [ 43.350276] kfree+0xcf/0x230 [ 43.353368] load_elf_binary+0x25b4/0x5620 [ 43.357600] search_binary_handler+0x17d/0x570 [ 43.362179] __do_execve_file.isra.33+0x1661/0x25d0 [ 43.367180] __x64_sys_execve+0x8f/0xc0 [ 43.371138] do_syscall_64+0x1b9/0x820 [ 43.375013] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.380181] [ 43.381803] The buggy address belongs to the object at ffff8801cdd58a00 [ 43.381803] which belongs to the cache kmalloc-512 of size 512 [ 43.394445] The buggy address is located 7 bytes to the right of [ 43.394445] 512-byte region [ffff8801cdd58a00, ffff8801cdd58c00) [ 43.406649] The buggy address belongs to the page: [ 43.411582] page:ffffea0007375600 count:1 mapcount:0 mapping:ffff8801da800940 index:0x0 [ 43.419707] flags: 0x2fffc0000000200(slab) [ 43.423933] raw: 02fffc0000000200 ffffea000737c2c8 ffffea000737d348 ffff8801da800940 [ 43.431812] raw: 0000000000000000 ffff8801cdd58000 0000000100000006 0000000000000000 [ 43.439675] page dumped because: kasan: bad access detected [ 43.445361] [ 43.446966] Memory state around the buggy address: [ 43.451879] ffff8801cdd58b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 43.459230] ffff8801cdd58b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 43.466573] >ffff8801cdd58c00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 43.473911] ^ [ 43.477265] ffff8801cdd58c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 43.484608] ffff8801cdd58d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 43.491945] ================================================================== [ 43.499296] Disabling lock debugging due to kernel taint [ 43.504796] Kernel panic - not syncing: panic_on_warn set ... [ 43.504796] [ 43.512180] CPU: 1 PID: 5694 Comm: syz-executor020 Tainted: G B 4.19.0+ #280 [ 43.520648] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.529982] Call Trace: [ 43.532568] dump_stack+0x244/0x39d [ 43.536191] ? dump_stack_print_info.cold.1+0x20/0x20 [ 43.541367] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 43.546109] panic+0x238/0x4e7 [ 43.549285] ? add_taint.cold.5+0x16/0x16 [ 43.553421] ? trace_hardirqs_on+0x9a/0x310 [ 43.557725] ? trace_hardirqs_on+0xb4/0x310 [ 43.562038] ? trace_hardirqs_on+0xb4/0x310 [ 43.566359] kasan_end_report+0x47/0x4f [ 43.570317] kasan_report.cold.8+0x76/0x309 [ 43.574624] ? _decode_session6+0x134a/0x1500 [ 43.579106] __asan_report_load1_noabort+0x14/0x20 [ 43.584020] _decode_session6+0x134a/0x1500 [ 43.588332] __xfrm_decode_session+0x71/0x140 [ 43.592811] vti6_tnl_xmit+0x3fc/0x1c10 [ 43.596769] ? __lock_acquire+0x62f/0x4c20 [ 43.600992] ? vti6_tnl_create2+0x430/0x430 [ 43.605302] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.610835] ? check_preemption_disabled+0x48/0x280 [ 43.615848] dev_hard_start_xmit+0x295/0xc90 [ 43.620251] ? dev_direct_xmit+0x6b0/0x6b0 [ 43.624471] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 43.629994] ? netif_skb_features+0x690/0xb70 [ 43.634472] ? rcu_softirq_qs+0x20/0x20 [ 43.638433] ? lock_acquire+0x1ed/0x520 [ 43.642393] ? __dev_queue_xmit+0x3063/0x3ad0 [ 43.646876] ? kasan_check_read+0x11/0x20 [ 43.651020] ? do_raw_spin_lock+0x14f/0x350 [ 43.655325] ? rwlock_bug.part.2+0x90/0x90 [ 43.659545] ? netif_skb_features+0xb70/0xb70 [ 43.664029] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.669549] ? check_preemption_disabled+0x48/0x280 [ 43.674554] __dev_queue_xmit+0x2f71/0x3ad0 [ 43.678861] ? save_stack+0x43/0xd0 [ 43.682475] ? kasan_kmalloc+0xc7/0xe0 [ 43.686347] ? __kmalloc_node_track_caller+0x50/0x70 [ 43.691433] ? netdev_pick_tx+0x310/0x310 [ 43.695568] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.701089] ? check_preemption_disabled+0x48/0x280 [ 43.706109] ? __lock_is_held+0xb5/0x140 [ 43.710156] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 43.715156] ? skb_release_data+0x1c4/0x880 [ 43.719466] ? kmem_cache_alloc_node_trace+0x34b/0x740 [ 43.724730] ? kasan_unpoison_shadow+0x35/0x50 [ 43.729293] ? skb_tx_error+0x2f0/0x2f0 [ 43.733252] ? __kmalloc_node_track_caller+0x50/0x70 [ 43.738337] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 43.743857] ? __sanitizer_cov_trace_const_cmp2+0x18/0x20 [ 43.749385] ? kasan_check_write+0x14/0x20 [ 43.753617] ? pskb_expand_head+0x6b3/0x10f0 [ 43.758011] ? find_held_lock+0x36/0x1c0 [ 43.762059] ? skb_release_data+0x880/0x880 [ 43.766361] ? __alloc_skb+0x770/0x770 [ 43.770236] ? __lock_is_held+0xb5/0x140 [ 43.774284] ? kasan_check_write+0x14/0x20 [ 43.778504] ? __skb_clone+0x6c7/0xa00 [ 43.782371] ? __copy_skb_header+0x6b0/0x6b0 [ 43.786762] ? kmem_cache_alloc+0x33a/0x730 [ 43.791070] ? depot_save_stack+0x292/0x470 [ 43.795375] ? skb_ensure_writable+0x15e/0x640 [ 43.799943] dev_queue_xmit+0x17/0x20 [ 43.803730] ? dev_queue_xmit+0x17/0x20 [ 43.807688] __bpf_redirect+0x5cf/0xb20 [ 43.811649] bpf_clone_redirect+0x2f6/0x490 [ 43.815959] bpf_prog_c39d1ba309a769f7+0x7ca/0x1000 [ 43.820960] ? bpf_test_run+0x175/0x780 [ 43.824921] ? lock_downgrade+0x900/0x900 [ 43.829055] ? ktime_get+0x332/0x400 [ 43.832752] ? find_held_lock+0x36/0x1c0 [ 43.836797] ? lock_acquire+0x1ed/0x520 [ 43.840753] ? bpf_test_run+0x3cb/0x780 [ 43.844714] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.850235] ? check_preemption_disabled+0x48/0x280 [ 43.855240] ? kasan_check_read+0x11/0x20 [ 43.859369] ? rcu_dynticks_curr_cpu_in_eqs+0xa2/0x170 [ 43.864630] ? rcu_softirq_qs+0x20/0x20 [ 43.868587] ? bpf_cgroup_storage_release+0x220/0x220 [ 43.873759] ? skb_try_coalesce+0x1b70/0x1b70 [ 43.878239] ? bpf_test_run+0x25d/0x780 [ 43.882201] ? netlink_diag_dump+0x2a0/0x2a0 [ 43.886596] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 43.892116] ? bpf_test_init.isra.10+0x70/0x100 [ 43.896776] ? bpf_prog_test_run_skb+0x73b/0xcb0 [ 43.901518] ? bpf_test_finish.isra.9+0x1f0/0x1f0 [ 43.906344] ? bpf_prog_add+0x69/0xd0 [ 43.910134] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.915654] ? __bpf_prog_get+0x9b/0x290 [ 43.919700] ? bpf_test_finish.isra.9+0x1f0/0x1f0 [ 43.924526] ? bpf_prog_test_run+0x130/0x1a0 [ 43.928919] ? __x64_sys_bpf+0x3d8/0x520 [ 43.932966] ? bpf_prog_get+0x20/0x20 [ 43.936756] ? do_syscall_64+0x1b9/0x820 [ 43.940799] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 43.946161] ? syscall_return_slowpath+0x5e0/0x5e0 [ 43.951084] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.955914] ? trace_hardirqs_on_caller+0x310/0x310 [ 43.960916] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 43.965915] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.971435] ? prepare_exit_to_usermode+0x291/0x3b0 [ 43.976456] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.981291] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.987575] Kernel Offset: disabled [ 43.991196] Rebooting in 86400 seconds..