[....] 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.730921] kauditd_printk_skb: 7 callbacks suppressed [ 27.730932] audit: type=1800 audit(1538096824.255:29): pid=5229 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.757111] audit: type=1800 audit(1538096824.255:30): pid=5229 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 Warning: Permanently added '10.128.0.72' (ECDSA) to the list of known hosts. syzkaller login: [ 38.645201] IPVS: ftp: loaded support on port[0] = 21 [ 38.818911] bridge0: port 1(bridge_slave_0) entered blocking state [ 38.825751] bridge0: port 1(bridge_slave_0) entered disabled state [ 38.834005] device bridge_slave_0 entered promiscuous mode [ 38.853488] bridge0: port 2(bridge_slave_1) entered blocking state [ 38.859899] bridge0: port 2(bridge_slave_1) entered disabled state [ 38.867150] device bridge_slave_1 entered promiscuous mode [ 38.884879] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 38.902758] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 38.953864] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 38.974087] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 39.050435] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 39.057803] team0: Port device team_slave_0 added [ 39.074403] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 39.081718] team0: Port device team_slave_1 added [ 39.099935] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 39.118963] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 39.138844] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 39.159629] 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 [ 39.309727] bridge0: port 2(bridge_slave_1) entered blocking state [ 39.316315] bridge0: port 2(bridge_slave_1) entered forwarding state [ 39.323082] bridge0: port 1(bridge_slave_0) entered blocking state [ 39.329421] 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 [ 39.848840] 8021q: adding VLAN 0 to HW filter on device bond0 [ 39.901781] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 39.953924] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 39.960149] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 39.967085] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 40.019031] 8021q: adding VLAN 0 to HW filter on device team0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 40.341744] ================================================================== [ 40.349232] BUG: KASAN: use-after-free in tcf_block_find+0x9d1/0xb90 [ 40.355719] Read of size 4 at addr ffff8801d28553b8 by task syz-executor901/5642 [ 40.363229] [ 40.364849] CPU: 1 PID: 5642 Comm: syz-executor901 Not tainted 4.19.0-rc5+ #234 [ 40.372280] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 40.381613] Call Trace: [ 40.384189] dump_stack+0x1c4/0x2b4 [ 40.387804] ? dump_stack_print_info.cold.2+0x52/0x52 [ 40.392982] ? printk+0xa7/0xcf [ 40.396253] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 40.401007] print_address_description.cold.8+0x9/0x1ff [ 40.406372] kasan_report.cold.9+0x242/0x309 [ 40.412049] ? tcf_block_find+0x9d1/0xb90 [ 40.416190] __asan_report_load4_noabort+0x14/0x20 [ 40.421105] tcf_block_find+0x9d1/0xb90 [ 40.425111] tc_del_tfilter+0x42b/0x1290 [ 40.429171] ? tc_get_tfilter+0xa90/0xa90 [ 40.433309] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 40.438987] ? check_preemption_disabled+0x48/0x200 [ 40.444032] ? check_preemption_disabled+0x48/0x200 [ 40.449045] ? __lock_is_held+0xb5/0x140 [ 40.453105] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 40.458631] ? rtnl_get_link+0x170/0x370 [ 40.462692] ? tc_get_tfilter+0xa90/0xa90 [ 40.466825] rtnetlink_rcv_msg+0x46a/0xc20 [ 40.471052] ? rtnetlink_put_metrics+0x690/0x690 [ 40.475814] netlink_rcv_skb+0x172/0x440 [ 40.479863] ? rtnetlink_put_metrics+0x690/0x690 [ 40.484606] ? netlink_ack+0xb80/0xb80 [ 40.488495] rtnetlink_rcv+0x1c/0x20 [ 40.492193] netlink_unicast+0x5a5/0x760 [ 40.496244] ? netlink_attachskb+0x9a0/0x9a0 [ 40.500636] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 40.506157] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 40.511158] netlink_sendmsg+0xa18/0xfc0 [ 40.515208] ? netlink_unicast+0x760/0x760 [ 40.519425] ? aa_sock_msg_perm.isra.12+0xba/0x160 [ 40.524344] ? apparmor_socket_sendmsg+0x29/0x30 [ 40.529095] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 40.534622] ? security_socket_sendmsg+0x94/0xc0 [ 40.539361] ? netlink_unicast+0x760/0x760 [ 40.543582] sock_sendmsg+0xd5/0x120 [ 40.547289] ___sys_sendmsg+0x7fd/0x930 [ 40.551251] ? find_held_lock+0x36/0x1c0 [ 40.555317] ? copy_msghdr_from_user+0x580/0x580 [ 40.560149] ? lock_downgrade+0x900/0x900 [ 40.564350] ? check_preemption_disabled+0x48/0x200 [ 40.569357] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 40.574535] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 40.580062] ? __fget_light+0x2e9/0x430 [ 40.584024] ? fget_raw+0x20/0x20 [ 40.587470] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 40.592997] ? __fd_install+0x2f9/0x8f0 [ 40.596966] ? routing_ioctl+0x890/0x890 [ 40.601016] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 40.606540] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 40.612064] ? sockfd_lookup_light+0xc5/0x160 [ 40.616561] __sys_sendmsg+0x11d/0x280 [ 40.620433] ? __ia32_sys_shutdown+0x80/0x80 [ 40.624839] ? do_syscall_64+0x9a/0x820 [ 40.628799] ? do_syscall_64+0x9a/0x820 [ 40.632768] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 40.638204] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 40.643742] ? ksys_ioctl+0x81/0xd0 [ 40.647366] __x64_sys_sendmsg+0x78/0xb0 [ 40.651415] do_syscall_64+0x1b9/0x820 [ 40.655287] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 40.660637] ? syscall_return_slowpath+0x5e0/0x5e0 [ 40.665552] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 40.670453] ? trace_hardirqs_on_caller+0x310/0x310 [ 40.675464] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 40.680467] ? prepare_exit_to_usermode+0x291/0x3b0 [ 40.685472] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 40.690304] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.695475] RIP: 0033:0x441aa9 [ 40.698654] Code: e8 0c ac 02 00 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 fb 04 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 40.717547] RSP: 002b:00007fff1f050418 EFLAGS: 00000213 ORIG_RAX: 000000000000002e [ 40.725239] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441aa9 [ 40.732535] RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000005 [ 40.739795] RBP: 0000000000009d73 R08: 0000000000000000 R09: 0000000000000000 [ 40.747049] R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000000000 [ 40.754300] R13: 00000000004024c0 R14: 0000000000000000 R15: 0000000000000000 [ 40.761562] [ 40.763171] Allocated by task 5537: [ 40.766785] save_stack+0x43/0xd0 [ 40.770226] kasan_kmalloc+0xc7/0xe0 [ 40.773927] __kmalloc_node+0x47/0x70 [ 40.777708] qdisc_alloc+0x10f/0xb50 [ 40.781403] qdisc_create_dflt+0x7a/0x1e0 [ 40.785532] dev_activate+0x82f/0xcb0 [ 40.789364] __dev_open+0x2cb/0x410 [ 40.792982] __dev_change_flags+0x730/0x9b0 [ 40.797290] dev_change_flags+0x89/0x150 [ 40.801341] do_setlink+0xb5f/0x3f20 [ 40.805047] rtnl_newlink+0x136f/0x1d40 [ 40.809143] rtnetlink_rcv_msg+0x46a/0xc20 [ 40.813370] netlink_rcv_skb+0x172/0x440 [ 40.817417] rtnetlink_rcv+0x1c/0x20 [ 40.821116] netlink_unicast+0x5a5/0x760 [ 40.825159] netlink_sendmsg+0xa18/0xfc0 [ 40.829201] sock_sendmsg+0xd5/0x120 [ 40.832896] ___sys_sendmsg+0x7fd/0x930 [ 40.836859] __sys_sendmsg+0x11d/0x280 [ 40.840731] __x64_sys_sendmsg+0x78/0xb0 [ 40.844782] do_syscall_64+0x1b9/0x820 [ 40.848653] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.853822] [ 40.855429] Freed by task 0: [ 40.858429] save_stack+0x43/0xd0 [ 40.861864] __kasan_slab_free+0x102/0x150 [ 40.866084] kasan_slab_free+0xe/0x10 [ 40.870026] kfree+0xcf/0x230 [ 40.873122] qdisc_free+0x89/0x100 [ 40.876721] qdisc_free_cb+0x19/0x20 [ 40.880429] rcu_process_callbacks+0xf23/0x2670 [ 40.885085] __do_softirq+0x30b/0xad8 [ 40.888865] [ 40.890618] The buggy address belongs to the object at ffff8801d2855380 [ 40.890618] which belongs to the cache kmalloc-2048 of size 2048 [ 40.903433] The buggy address is located 56 bytes inside of [ 40.903433] 2048-byte region [ffff8801d2855380, ffff8801d2855b80) [ 40.915295] The buggy address belongs to the page: [ 40.920211] page:ffffea00074a1500 count:1 mapcount:0 mapping:ffff8801da800c40 index:0x0 compound_mapcount: 0 [ 40.930177] flags: 0x2fffc0000008100(slab|head) [ 40.934862] raw: 02fffc0000008100 ffffea0006e66a08 ffffea00074b0e08 ffff8801da800c40 [ 40.942731] raw: 0000000000000000 ffff8801d2854280 0000000100000003 0000000000000000 [ 40.950593] page dumped because: kasan: bad access detected [ 40.956304] [ 40.957931] Memory state around the buggy address: [ 40.962850] ffff8801d2855280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.970211] ffff8801d2855300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 40.977571] >ffff8801d2855380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.984927] ^ [ 40.990111] ffff8801d2855400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.997463] ffff8801d2855480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.004807] ================================================================== [ 41.012152] Disabling lock debugging due to kernel taint [ 41.020163] Kernel panic - not syncing: panic_on_warn set ... [ 41.020163] [ 41.027576] CPU: 1 PID: 5642 Comm: syz-executor901 Tainted: G B 4.19.0-rc5+ #234 [ 41.036435] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.045818] Call Trace: [ 41.048403] dump_stack+0x1c4/0x2b4 [ 41.052053] ? dump_stack_print_info.cold.2+0x52/0x52 [ 41.057262] panic+0x238/0x4e7 [ 41.060453] ? add_taint.cold.5+0x16/0x16 [ 41.064735] ? preempt_schedule+0x4d/0x60 [ 41.068874] ? ___preempt_schedule+0x16/0x18 [ 41.073270] ? trace_hardirqs_on+0xb4/0x310 [ 41.077591] kasan_end_report+0x47/0x4f [ 41.081568] kasan_report.cold.9+0x76/0x309 [ 41.085885] ? tcf_block_find+0x9d1/0xb90 [ 41.090028] __asan_report_load4_noabort+0x14/0x20 [ 41.094957] tcf_block_find+0x9d1/0xb90 [ 41.098922] tc_del_tfilter+0x42b/0x1290 [ 41.102992] ? tc_get_tfilter+0xa90/0xa90 [ 41.107157] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.112689] ? check_preemption_disabled+0x48/0x200 [ 41.117696] ? check_preemption_disabled+0x48/0x200 [ 41.122706] ? __lock_is_held+0xb5/0x140 [ 41.126763] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 41.132288] ? rtnl_get_link+0x170/0x370 [ 41.136342] ? tc_get_tfilter+0xa90/0xa90 [ 41.140482] rtnetlink_rcv_msg+0x46a/0xc20 [ 41.144709] ? rtnetlink_put_metrics+0x690/0x690 [ 41.149462] netlink_rcv_skb+0x172/0x440 [ 41.153515] ? rtnetlink_put_metrics+0x690/0x690 [ 41.158258] ? netlink_ack+0xb80/0xb80 [ 41.162139] rtnetlink_rcv+0x1c/0x20 [ 41.165844] netlink_unicast+0x5a5/0x760 [ 41.169899] ? netlink_attachskb+0x9a0/0x9a0 [ 41.174297] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.179834] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 41.184841] netlink_sendmsg+0xa18/0xfc0 [ 41.188903] ? netlink_unicast+0x760/0x760 [ 41.193144] ? aa_sock_msg_perm.isra.12+0xba/0x160 [ 41.198083] ? apparmor_socket_sendmsg+0x29/0x30 [ 41.202849] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.208378] ? security_socket_sendmsg+0x94/0xc0 [ 41.213148] ? netlink_unicast+0x760/0x760 [ 41.217390] sock_sendmsg+0xd5/0x120 [ 41.221095] ___sys_sendmsg+0x7fd/0x930 [ 41.225064] ? find_held_lock+0x36/0x1c0 [ 41.229114] ? copy_msghdr_from_user+0x580/0x580 [ 41.233871] ? lock_downgrade+0x900/0x900 [ 41.238015] ? check_preemption_disabled+0x48/0x200 [ 41.243050] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 41.248246] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.253788] ? __fget_light+0x2e9/0x430 [ 41.257759] ? fget_raw+0x20/0x20 [ 41.261211] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.266741] ? __fd_install+0x2f9/0x8f0 [ 41.270707] ? routing_ioctl+0x890/0x890 [ 41.274766] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.280289] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 41.285814] ? sockfd_lookup_light+0xc5/0x160 [ 41.290296] __sys_sendmsg+0x11d/0x280 [ 41.294171] ? __ia32_sys_shutdown+0x80/0x80 [ 41.298589] ? do_syscall_64+0x9a/0x820 [ 41.302559] ? do_syscall_64+0x9a/0x820 [ 41.306539] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 41.311982] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.317508] ? ksys_ioctl+0x81/0xd0 [ 41.321122] __x64_sys_sendmsg+0x78/0xb0 [ 41.325173] do_syscall_64+0x1b9/0x820 [ 41.329052] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 41.334428] ? syscall_return_slowpath+0x5e0/0x5e0 [ 41.339375] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 41.344209] ? trace_hardirqs_on_caller+0x310/0x310 [ 41.349230] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 41.354248] ? prepare_exit_to_usermode+0x291/0x3b0 [ 41.359271] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 41.364119] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 41.369312] RIP: 0033:0x441aa9 [ 41.372493] Code: e8 0c ac 02 00 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 fb 04 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 41.391406] RSP: 002b:00007fff1f050418 EFLAGS: 00000213 ORIG_RAX: 000000000000002e [ 41.399116] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441aa9 [ 41.406383] RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000005 [ 41.413650] RBP: 0000000000009d73 R08: 0000000000000000 R09: 0000000000000000 [ 41.420921] R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000000000 [ 41.428186] R13: 00000000004024c0 R14: 0000000000000000 R15: 0000000000000000 [ 41.436414] Kernel Offset: disabled [ 41.440056] Rebooting in 86400 seconds..