[ 36.557301] audit: type=1800 audit(1538377930.433:23): pid=5917 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rsyslog" dev="sda1" ino=2442 res=0 [ 36.577481] audit: type=1800 audit(1538377930.443:24): pid=5917 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="sudo" dev="sda1" ino=2454 res=0 [....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 37.119312] audit: type=1800 audit(1538377931.053:25): pid=5917 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 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. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.6' (ECDSA) to the list of known hosts. syzkaller login: [ 46.062488] IPVS: ftp: loaded support on port[0] = 21 [ 46.197547] bridge0: port 1(bridge_slave_0) entered blocking state [ 46.204002] bridge0: port 1(bridge_slave_0) entered disabled state [ 46.211305] device bridge_slave_0 entered promiscuous mode [ 46.227768] bridge0: port 2(bridge_slave_1) entered blocking state [ 46.234224] bridge0: port 2(bridge_slave_1) entered disabled state [ 46.241400] device bridge_slave_1 entered promiscuous mode [ 46.256712] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 46.272735] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 46.314643] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 46.332521] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 46.398791] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 46.406167] team0: Port device team_slave_0 added [ 46.420476] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 46.427882] team0: Port device team_slave_1 added [ 46.442591] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 46.459183] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 46.477042] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 46.494649] 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 [ 46.611221] bridge0: port 2(bridge_slave_1) entered blocking state [ 46.617658] bridge0: port 2(bridge_slave_1) entered forwarding state [ 46.624254] bridge0: port 1(bridge_slave_0) entered blocking state [ 46.630692] 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 [ 47.028526] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 47.034840] 8021q: adding VLAN 0 to HW filter on device bond0 [ 47.077388] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 47.120036] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 47.128379] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 47.166876] 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 executing program executing program executing program executing program [ 47.426057] ================================================================== [ 47.433513] BUG: KASAN: use-after-free in tcf_block_find+0x9d1/0xb90 [ 47.440038] Read of size 4 at addr ffff8801bb06cdb8 by task syz-executor506/6331 [ 47.447579] [ 47.449203] CPU: 1 PID: 6331 Comm: syz-executor506 Not tainted 4.19.0-rc5-next-20180928+ #84 [ 47.457780] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.467126] Call Trace: [ 47.469710] dump_stack+0x1d3/0x2c4 [ 47.473339] ? dump_stack_print_info.cold.2+0x52/0x52 [ 47.478536] ? printk+0xa7/0xcf [ 47.481808] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 47.486576] print_address_description.cold.8+0x9/0x1ff [ 47.491951] kasan_report.cold.9+0x242/0x309 [ 47.496357] ? tcf_block_find+0x9d1/0xb90 [ 47.500531] __asan_report_load4_noabort+0x14/0x20 [ 47.505461] tcf_block_find+0x9d1/0xb90 [ 47.509435] tc_new_tfilter+0x497/0x1d10 [ 47.513507] ? mutex_trylock+0x2b0/0x2b0 [ 47.517578] ? tc_del_tfilter+0x1290/0x1290 [ 47.521906] ? refcount_inc_not_zero_checked+0x2f0/0x2f0 [ 47.527371] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 47.532904] ? apparmor_capable+0x355/0x6c0 [ 47.537240] ? __netlink_lookup+0x5b6/0xa90 [ 47.541568] ? apparmor_cred_transfer+0x590/0x590 [ 47.546452] ? rtnetlink_rcv_msg+0x3d3/0xc20 [ 47.550868] ? lock_downgrade+0x900/0x900 [ 47.555021] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 47.560566] ? rtnl_get_link+0x170/0x370 [ 47.564632] ? tc_del_tfilter+0x1290/0x1290 [ 47.568954] rtnetlink_rcv_msg+0x46a/0xc20 [ 47.573194] ? rtnetlink_put_metrics+0x690/0x690 [ 47.577976] netlink_rcv_skb+0x172/0x440 [ 47.582080] ? rtnetlink_put_metrics+0x690/0x690 [ 47.586848] ? netlink_ack+0xb80/0xb80 [ 47.590734] rtnetlink_rcv+0x1c/0x20 [ 47.594438] netlink_unicast+0x5a5/0x760 [ 47.598519] ? netlink_attachskb+0x9a0/0x9a0 [ 47.602946] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.608493] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 47.613519] netlink_sendmsg+0xa18/0xfc0 [ 47.617594] ? netlink_unicast+0x760/0x760 [ 47.621838] ? aa_sock_msg_perm.isra.12+0xba/0x160 [ 47.626763] ? apparmor_socket_sendmsg+0x29/0x30 [ 47.631522] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.637065] ? security_socket_sendmsg+0x94/0xc0 [ 47.641825] ? netlink_unicast+0x760/0x760 [ 47.646071] sock_sendmsg+0xd5/0x120 [ 47.649775] ___sys_sendmsg+0x7fd/0x930 [ 47.653743] ? copy_msghdr_from_user+0x580/0x580 [ 47.658520] ? __fd_install+0x2b5/0x8f0 [ 47.662508] ? lock_downgrade+0x900/0x900 [ 47.666651] ? lock_release+0x970/0x970 [ 47.670646] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.676178] ? __fget_light+0x2e9/0x430 [ 47.680149] ? fget_raw+0x20/0x20 [ 47.683608] ? handle_mm_fault+0x42a/0xc70 [ 47.687849] ? __do_page_fault+0x59f/0xd10 [ 47.692087] ? rcu_read_unlock_special+0x1c0/0x1c0 [ 47.697014] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 47.702553] ? sockfd_lookup_light+0xc5/0x160 [ 47.707039] __sys_sendmsg+0x11d/0x280 [ 47.710929] ? __ia32_sys_shutdown+0x80/0x80 [ 47.715328] ? kasan_check_write+0x14/0x20 [ 47.719574] ? up_read+0x225/0x2c0 [ 47.723107] ? up_read_non_owner+0x100/0x100 [ 47.727528] ? find_vma+0x34/0x190 [ 47.731064] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 47.736519] __x64_sys_sendmsg+0x78/0xb0 [ 47.740593] do_syscall_64+0x1b9/0x820 [ 47.744486] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 47.749845] ? syscall_return_slowpath+0x5e0/0x5e0 [ 47.754769] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 47.759608] ? trace_hardirqs_on_caller+0x310/0x310 [ 47.764623] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 47.769652] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.775187] ? prepare_exit_to_usermode+0x291/0x3b0 [ 47.780200] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 47.785054] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 47.790238] RIP: 0033:0x441a19 [ 47.793422] 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 [ 47.812331] RSP: 002b:00007ffc654f36f8 EFLAGS: 00000213 ORIG_RAX: 000000000000002e [ 47.820052] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441a19 [ 47.827314] RDX: 0000000000000000 RSI: 0000000020005000 RDI: 0000000000000003 [ 47.834572] RBP: 000000000000b930 R08: 0000000000000000 R09: 0000000000000000 [ 47.841835] R10: 000000000201d880 R11: 0000000000000213 R12: 0000000000000000 [ 47.849108] R13: 0000000000402430 R14: 0000000000000000 R15: 0000000000000000 [ 47.856460] [ 47.858454] Allocated by task 6150: [ 47.862867] save_stack+0x43/0xd0 [ 47.866923] kasan_kmalloc+0xc7/0xe0 [ 47.870906] __kmalloc_node+0x47/0x70 [ 47.874702] qdisc_alloc+0x10f/0xb50 [ 47.878406] qdisc_create_dflt+0x7a/0x1e0 [ 47.882538] dev_activate+0x82f/0xcb0 [ 47.886327] __dev_open+0x2cb/0x410 [ 47.889941] __dev_change_flags+0x730/0x9b0 [ 47.894340] dev_change_flags+0x89/0x150 [ 47.899083] do_setlink+0xb5f/0x3f20 [ 47.902792] rtnl_newlink+0x136f/0x1d40 [ 47.906755] rtnetlink_rcv_msg+0x46a/0xc20 [ 47.910985] netlink_rcv_skb+0x172/0x440 [ 47.915040] rtnetlink_rcv+0x1c/0x20 [ 47.918749] netlink_unicast+0x5a5/0x760 [ 47.922797] netlink_sendmsg+0xa18/0xfc0 [ 47.926848] sock_sendmsg+0xd5/0x120 [ 47.930548] ___sys_sendmsg+0x7fd/0x930 [ 47.934510] __sys_sendmsg+0x11d/0x280 [ 47.938392] __x64_sys_sendmsg+0x78/0xb0 [ 47.942446] do_syscall_64+0x1b9/0x820 [ 47.947185] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 47.952532] [ 47.954145] Freed by task 6068: [ 47.957440] save_stack+0x43/0xd0 [ 47.960880] __kasan_slab_free+0x102/0x150 [ 47.965113] kasan_slab_free+0xe/0x10 [ 47.968904] kfree+0xcf/0x230 [ 47.972021] qdisc_free+0x89/0x100 [ 47.975572] qdisc_free_cb+0x19/0x20 [ 47.979290] rcu_process_callbacks+0xff9/0x1ad0 [ 47.983972] __do_softirq+0x30b/0xb03 [ 47.987757] [ 47.989372] The buggy address belongs to the object at ffff8801bb06cd80 [ 47.989372] which belongs to the cache kmalloc-1k of size 1024 [ 48.002042] The buggy address is located 56 bytes inside of [ 48.002042] 1024-byte region [ffff8801bb06cd80, ffff8801bb06d180) [ 48.013923] The buggy address belongs to the page: [ 48.018847] page:ffffea0006ec1b00 count:1 mapcount:0 mapping:ffff8801da800ac0 index:0x0 compound_mapcount: 0 [ 48.028807] flags: 0x2fffc0000010200(slab|head) [ 48.033494] raw: 02fffc0000010200 ffffea000754c308 ffffea00074b9208 ffff8801da800ac0 [ 48.041370] raw: 0000000000000000 ffff8801bb06c000 0000000100000007 0000000000000000 [ 48.049257] page dumped because: kasan: bad access detected [ 48.055576] [ 48.057450] Memory state around the buggy address: [ 48.063157] ffff8801bb06cc80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 48.070508] ffff8801bb06cd00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 48.077858] >ffff8801bb06cd80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 48.085212] ^ [ 48.090396] ffff8801bb06ce00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 48.097761] ffff8801bb06ce80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 48.105292] ================================================================== [ 48.114653] Kernel panic - not syncing: panic_on_warn set ... [ 48.114653] [ 48.122066] CPU: 1 PID: 6331 Comm: syz-executor506 Tainted: G B 4.19.0-rc5-next-20180928+ #84 [ 48.132034] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 48.141418] Call Trace: [ 48.144027] dump_stack+0x1d3/0x2c4 [ 48.147644] ? dump_stack_print_info.cold.2+0x52/0x52 [ 48.152839] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 48.157630] panic+0x238/0x4e7 [ 48.160816] ? add_taint.cold.5+0x16/0x16 [ 48.164986] ? preempt_schedule+0x4d/0x60 [ 48.169135] ? ___preempt_schedule+0x16/0x18 [ 48.173561] ? trace_hardirqs_on+0xb4/0x310 [ 48.177888] kasan_end_report+0x47/0x4f [ 48.181860] kasan_report.cold.9+0x76/0x309 [ 48.186173] ? tcf_block_find+0x9d1/0xb90 [ 48.190318] __asan_report_load4_noabort+0x14/0x20 [ 48.195240] tcf_block_find+0x9d1/0xb90 [ 48.199217] tc_new_tfilter+0x497/0x1d10 [ 48.203268] ? mutex_trylock+0x2b0/0x2b0 [ 48.207328] ? tc_del_tfilter+0x1290/0x1290 [ 48.211680] ? refcount_inc_not_zero_checked+0x2f0/0x2f0 [ 48.217148] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 48.222689] ? apparmor_capable+0x355/0x6c0 [ 48.227024] ? __netlink_lookup+0x5b6/0xa90 [ 48.231339] ? apparmor_cred_transfer+0x590/0x590 [ 48.236184] ? rtnetlink_rcv_msg+0x3d3/0xc20 [ 48.240590] ? lock_downgrade+0x900/0x900 [ 48.244742] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 48.250278] ? rtnl_get_link+0x170/0x370 [ 48.254342] ? tc_del_tfilter+0x1290/0x1290 [ 48.258660] rtnetlink_rcv_msg+0x46a/0xc20 [ 48.262889] ? rtnetlink_put_metrics+0x690/0x690 [ 48.267656] netlink_rcv_skb+0x172/0x440 [ 48.271719] ? rtnetlink_put_metrics+0x690/0x690 [ 48.276487] ? netlink_ack+0xb80/0xb80 [ 48.280371] rtnetlink_rcv+0x1c/0x20 [ 48.284076] netlink_unicast+0x5a5/0x760 [ 48.288144] ? netlink_attachskb+0x9a0/0x9a0 [ 48.292904] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.299356] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 48.304386] netlink_sendmsg+0xa18/0xfc0 [ 48.308519] ? netlink_unicast+0x760/0x760 [ 48.312751] ? aa_sock_msg_perm.isra.12+0xba/0x160 [ 48.317682] ? apparmor_socket_sendmsg+0x29/0x30 [ 48.322452] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.328011] ? security_socket_sendmsg+0x94/0xc0 [ 48.332771] ? netlink_unicast+0x760/0x760 [ 48.337000] sock_sendmsg+0xd5/0x120 [ 48.340731] ___sys_sendmsg+0x7fd/0x930 [ 48.344706] ? copy_msghdr_from_user+0x580/0x580 [ 48.349456] ? __fd_install+0x2b5/0x8f0 [ 48.353440] ? lock_downgrade+0x900/0x900 [ 48.357592] ? lock_release+0x970/0x970 [ 48.361567] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.367109] ? __fget_light+0x2e9/0x430 [ 48.371073] ? fget_raw+0x20/0x20 [ 48.374528] ? handle_mm_fault+0x42a/0xc70 [ 48.378760] ? __do_page_fault+0x59f/0xd10 [ 48.382997] ? rcu_read_unlock_special+0x1c0/0x1c0 [ 48.387953] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 48.393492] ? sockfd_lookup_light+0xc5/0x160 [ 48.398450] __sys_sendmsg+0x11d/0x280 [ 48.402785] ? __ia32_sys_shutdown+0x80/0x80 [ 48.407218] ? kasan_check_write+0x14/0x20 [ 48.412249] ? up_read+0x225/0x2c0 [ 48.416062] ? up_read_non_owner+0x100/0x100 [ 48.420489] ? find_vma+0x34/0x190 [ 48.424029] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 48.429491] __x64_sys_sendmsg+0x78/0xb0 [ 48.433556] do_syscall_64+0x1b9/0x820 [ 48.437440] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 48.442826] ? syscall_return_slowpath+0x5e0/0x5e0 [ 48.447747] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 48.452591] ? trace_hardirqs_on_caller+0x310/0x310 [ 48.457604] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 48.462625] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.468168] ? prepare_exit_to_usermode+0x291/0x3b0 [ 48.473196] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 48.478047] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 48.483233] RIP: 0033:0x441a19 [ 48.486422] 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 [ 48.505332] RSP: 002b:00007ffc654f36f8 EFLAGS: 00000213 ORIG_RAX: 000000000000002e [ 48.513041] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441a19 [ 48.520309] RDX: 0000000000000000 RSI: 0000000020005000 RDI: 0000000000000003 [ 48.527575] RBP: 000000000000b930 R08: 0000000000000000 R09: 0000000000000000 [ 48.534856] R10: 000000000201d880 R11: 0000000000000213 R12: 0000000000000000 [ 48.542129] R13: 0000000000402430 R14: 0000000000000000 R15: 0000000000000000 [ 48.550312] Kernel Offset: disabled [ 48.553955] Rebooting in 86400 seconds..