[....] 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. [ 28.727200] kauditd_printk_skb: 7 callbacks suppressed [ 28.727212] audit: type=1800 audit(1545068913.608:29): pid=5878 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 [ 28.759614] audit: type=1800 audit(1545068913.608:30): pid=5878 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: [ 30.727226] sshd (6015) used greatest stack depth: 15744 bytes left Warning: Permanently added '10.128.0.182' (ECDSA) to the list of known hosts. 2018/12/17 17:50:56 parsed 1 programs 2018/12/17 17:50:58 executed programs: 0 [ 173.770086] IPVS: ftp: loaded support on port[0] = 21 [ 174.018552] bridge0: port 1(bridge_slave_0) entered blocking state [ 174.025534] bridge0: port 1(bridge_slave_0) entered disabled state [ 174.032787] device bridge_slave_0 entered promiscuous mode [ 174.052278] bridge0: port 2(bridge_slave_1) entered blocking state [ 174.058663] bridge0: port 2(bridge_slave_1) entered disabled state [ 174.065897] device bridge_slave_1 entered promiscuous mode [ 174.084540] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 174.101986] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 174.152539] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 174.172489] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 174.250101] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 174.257682] team0: Port device team_slave_0 added [ 174.274634] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 174.282303] team0: Port device team_slave_1 added [ 174.300113] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 174.318906] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 174.337730] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 174.357791] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 174.505488] bridge0: port 2(bridge_slave_1) entered blocking state [ 174.515833] bridge0: port 2(bridge_slave_1) entered forwarding state [ 174.523010] bridge0: port 1(bridge_slave_0) entered blocking state [ 174.529349] bridge0: port 1(bridge_slave_0) entered forwarding state [ 175.047786] 8021q: adding VLAN 0 to HW filter on device bond0 [ 175.101566] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 175.153993] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 175.160135] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 175.168162] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 175.217510] 8021q: adding VLAN 0 to HW filter on device team0 [ 176.337493] ================================================================== [ 176.345118] BUG: KASAN: use-after-free in tipc_mcast_xmit+0xb77/0xdb0 [ 176.351687] Read of size 1 at addr ffff8881d3f9b04e by task syz-executor0/6303 [ 176.359036] [ 176.360658] CPU: 0 PID: 6303 Comm: syz-executor0 Not tainted 4.20.0-rc6+ #235 [ 176.367983] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 176.377345] Call Trace: [ 176.379928] dump_stack+0x244/0x39d [ 176.383545] ? dump_stack_print_info.cold.1+0x20/0x20 [ 176.388722] ? printk+0xa7/0xcf [ 176.391988] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 176.396727] ? retint_kernel+0x2d/0x2d [ 176.400603] print_address_description.cold.7+0x9/0x1ff [ 176.405970] kasan_report.cold.8+0x242/0x309 [ 176.410367] ? tipc_mcast_xmit+0xb77/0xdb0 [ 176.414591] __asan_report_load1_noabort+0x14/0x20 [ 176.419502] tipc_mcast_xmit+0xb77/0xdb0 [ 176.423554] ? retint_kernel+0x2d/0x2d [ 176.427430] ? tipc_bcast_dec_bearer_dst_cnt+0xa80/0xa80 [ 176.432870] ? tipc_msg_build+0x309/0x12d0 [ 176.437106] ? tipc_msg_build+0x4a0/0x12d0 [ 176.441328] ? tipc_msg_build+0x4a5/0x12d0 [ 176.445551] ? tipc_msg_assemble+0x6b0/0x6b0 [ 176.449947] ? remove_wait_queue+0x1a6/0x360 [ 176.454349] tipc_send_group_bcast+0xa5f/0xdf0 [ 176.458930] ? check_preemption_disabled+0x48/0x280 [ 176.463945] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 176.468952] ? __init_waitqueue_head+0x150/0x150 [ 176.473694] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 176.478784] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 176.483363] ? mark_held_locks+0x130/0x130 [ 176.487601] ? ___preempt_schedule+0x16/0x18 [ 176.492001] ? try_to_wake_up+0x11c/0x1440 [ 176.496221] ? zap_class+0x640/0x640 [ 176.499947] __tipc_sendmsg+0xeec/0x1d40 [ 176.504011] ? migrate_swap_stop+0x8a0/0x8a0 [ 176.508411] ? tipc_sendmcast+0xf50/0xf50 [ 176.512564] ? zap_class+0x640/0x640 [ 176.516263] ? print_usage_bug+0xc0/0xc0 [ 176.520320] ? find_held_lock+0x36/0x1c0 [ 176.524372] ? mark_held_locks+0xc7/0x130 [ 176.528514] ? __local_bh_enable_ip+0x160/0x260 [ 176.533169] ? __local_bh_enable_ip+0x160/0x260 [ 176.537826] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 176.542396] ? trace_hardirqs_on+0xbd/0x310 [ 176.546704] ? lock_release+0xa00/0xa00 [ 176.550660] ? lock_sock_nested+0xe2/0x120 [ 176.554882] ? trace_hardirqs_off_caller+0x310/0x310 [ 176.559991] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 176.565519] ? check_preemption_disabled+0x48/0x280 [ 176.570535] ? lock_sock_nested+0x9a/0x120 [ 176.574756] ? lock_sock_nested+0x9a/0x120 [ 176.578991] ? __local_bh_enable_ip+0x160/0x260 [ 176.583661] tipc_sendmsg+0x50/0x70 [ 176.587286] ? __tipc_sendmsg+0x1d40/0x1d40 [ 176.591612] sock_sendmsg+0xd5/0x120 [ 176.595324] ___sys_sendmsg+0x51d/0x930 [ 176.599280] ? zap_class+0x640/0x640 [ 176.602980] ? copy_msghdr_from_user+0x580/0x580 [ 176.607724] ? find_held_lock+0x36/0x1c0 [ 176.611791] ? __fget_light+0x2e9/0x430 [ 176.615758] ? fget_raw+0x20/0x20 [ 176.619193] ? zap_class+0x640/0x640 [ 176.622912] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 176.627481] ? trace_hardirqs_on+0xbd/0x310 [ 176.631788] ? _raw_spin_unlock_bh+0x30/0x40 [ 176.636212] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 176.641740] ? sockfd_lookup_light+0xc5/0x160 [ 176.646222] __sys_sendmmsg+0x246/0x6d0 [ 176.650186] ? __ia32_sys_sendmsg+0xb0/0xb0 [ 176.654509] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 176.660034] ? put_timespec64+0x10f/0x1b0 [ 176.664173] ? nsecs_to_jiffies+0x30/0x30 [ 176.668311] ? do_syscall_64+0x9a/0x820 [ 176.672276] ? do_syscall_64+0x9a/0x820 [ 176.676257] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 176.680829] ? trace_hardirqs_on+0xbd/0x310 [ 176.685137] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 176.690664] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 176.696017] ? trace_hardirqs_off_caller+0x310/0x310 [ 176.701108] __x64_sys_sendmmsg+0x9d/0x100 [ 176.705330] do_syscall_64+0x1b9/0x820 [ 176.709208] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 176.714567] ? syscall_return_slowpath+0x5e0/0x5e0 [ 176.719484] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 176.724318] ? trace_hardirqs_on_caller+0x310/0x310 [ 176.729323] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 176.734343] ? prepare_exit_to_usermode+0x291/0x3b0 [ 176.739348] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 176.744196] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 176.749370] RIP: 0033:0x457669 [ 176.752551] Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 176.771454] RSP: 002b:00007fec9d4c9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 [ 176.779152] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457669 [ 176.786408] RDX: 0000000000000142 RSI: 0000000020000000 RDI: 0000000000000004 [ 176.793677] RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 [ 176.800930] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fec9d4ca6d4 [ 176.808184] R13: 00000000004c3e14 R14: 00000000004d6c38 R15: 00000000ffffffff [ 176.815446] [ 176.817057] Allocated by task 6303: [ 176.820671] save_stack+0x43/0xd0 [ 176.824116] kasan_kmalloc+0xc7/0xe0 [ 176.827816] kmem_cache_alloc_trace+0x152/0x750 [ 176.832472] tipc_group_create+0x152/0xa70 [ 176.836686] tipc_setsockopt+0x2d1/0xd70 [ 176.840731] __sys_setsockopt+0x1ba/0x3c0 [ 176.844878] __x64_sys_setsockopt+0xbe/0x150 [ 176.849278] do_syscall_64+0x1b9/0x820 [ 176.853148] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 176.858316] [ 176.859929] Freed by task 6304: [ 176.863208] save_stack+0x43/0xd0 [ 176.866660] __kasan_slab_free+0x102/0x150 [ 176.870896] kasan_slab_free+0xe/0x10 [ 176.874687] kfree+0xcf/0x230 [ 176.877777] tipc_group_delete+0x2e4/0x3f0 [ 176.881997] tipc_sk_leave+0x113/0x220 [ 176.885881] tipc_setsockopt+0x97d/0xd70 [ 176.889931] __sys_setsockopt+0x1ba/0x3c0 [ 176.894063] __x64_sys_setsockopt+0xbe/0x150 [ 176.898456] do_syscall_64+0x1b9/0x820 [ 176.902325] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 176.907490] [ 176.909100] The buggy address belongs to the object at ffff8881d3f9b000 [ 176.909100] which belongs to the cache kmalloc-192 of size 192 [ 176.921745] The buggy address is located 78 bytes inside of [ 176.921745] 192-byte region [ffff8881d3f9b000, ffff8881d3f9b0c0) [ 176.933515] The buggy address belongs to the page: [ 176.938437] page:ffffea00074fe6c0 count:1 mapcount:0 mapping:ffff8881da800040 index:0x0 [ 176.946568] flags: 0x2fffc0000000200(slab) [ 176.950787] raw: 02fffc0000000200 ffffea00074fe108 ffffea00074ecd88 ffff8881da800040 [ 176.958661] raw: 0000000000000000 ffff8881d3f9b000 0000000100000010 0000000000000000 [ 176.966524] page dumped because: kasan: bad access detected [ 176.972210] [ 176.973820] Memory state around the buggy address: [ 176.978734] ffff8881d3f9af00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 176.986095] ffff8881d3f9af80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 176.993440] >ffff8881d3f9b000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 177.000796] ^ [ 177.006498] ffff8881d3f9b080: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 177.013840] ffff8881d3f9b100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 177.021183] ================================================================== [ 177.028527] Disabling lock debugging due to kernel taint [ 177.036380] Kernel panic - not syncing: panic_on_warn set ... [ 177.042308] CPU: 0 PID: 6303 Comm: syz-executor0 Tainted: G B 4.20.0-rc6+ #235 [ 177.050993] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 177.060332] Call Trace: [ 177.062914] dump_stack+0x244/0x39d [ 177.066531] ? dump_stack_print_info.cold.1+0x20/0x20 [ 177.071811] panic+0x2ad/0x55c [ 177.074989] ? add_taint.cold.5+0x16/0x16 [ 177.079124] ? preempt_schedule+0x4d/0x60 [ 177.083260] ? ___preempt_schedule+0x16/0x18 [ 177.087675] ? trace_hardirqs_on+0xb4/0x310 [ 177.091987] kasan_end_report+0x47/0x4f [ 177.095949] kasan_report.cold.8+0x76/0x309 [ 177.100256] ? tipc_mcast_xmit+0xb77/0xdb0 [ 177.104477] __asan_report_load1_noabort+0x14/0x20 [ 177.109391] tipc_mcast_xmit+0xb77/0xdb0 [ 177.113448] ? retint_kernel+0x2d/0x2d [ 177.117321] ? tipc_bcast_dec_bearer_dst_cnt+0xa80/0xa80 [ 177.122760] ? tipc_msg_build+0x309/0x12d0 [ 177.126979] ? tipc_msg_build+0x4a0/0x12d0 [ 177.131198] ? tipc_msg_build+0x4a5/0x12d0 [ 177.135424] ? tipc_msg_assemble+0x6b0/0x6b0 [ 177.139828] ? remove_wait_queue+0x1a6/0x360 [ 177.144231] tipc_send_group_bcast+0xa5f/0xdf0 [ 177.148808] ? check_preemption_disabled+0x48/0x280 [ 177.153843] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 177.158854] ? __init_waitqueue_head+0x150/0x150 [ 177.163604] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 177.168705] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 177.173274] ? mark_held_locks+0x130/0x130 [ 177.177515] ? ___preempt_schedule+0x16/0x18 [ 177.181921] ? try_to_wake_up+0x11c/0x1440 [ 177.186157] ? zap_class+0x640/0x640 [ 177.189859] __tipc_sendmsg+0xeec/0x1d40 [ 177.193912] ? migrate_swap_stop+0x8a0/0x8a0 [ 177.198310] ? tipc_sendmcast+0xf50/0xf50 [ 177.202464] ? zap_class+0x640/0x640 [ 177.206164] ? print_usage_bug+0xc0/0xc0 [ 177.210216] ? find_held_lock+0x36/0x1c0 [ 177.214262] ? mark_held_locks+0xc7/0x130 [ 177.218396] ? __local_bh_enable_ip+0x160/0x260 [ 177.223051] ? __local_bh_enable_ip+0x160/0x260 [ 177.227706] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 177.232275] ? trace_hardirqs_on+0xbd/0x310 [ 177.236587] ? lock_release+0xa00/0xa00 [ 177.240547] ? lock_sock_nested+0xe2/0x120 [ 177.244765] ? trace_hardirqs_off_caller+0x310/0x310 [ 177.249859] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 177.255383] ? check_preemption_disabled+0x48/0x280 [ 177.260387] ? lock_sock_nested+0x9a/0x120 [ 177.264613] ? lock_sock_nested+0x9a/0x120 [ 177.268845] ? __local_bh_enable_ip+0x160/0x260 [ 177.273502] tipc_sendmsg+0x50/0x70 [ 177.277113] ? __tipc_sendmsg+0x1d40/0x1d40 [ 177.281421] sock_sendmsg+0xd5/0x120 [ 177.285123] ___sys_sendmsg+0x51d/0x930 [ 177.289081] ? zap_class+0x640/0x640 [ 177.292780] ? copy_msghdr_from_user+0x580/0x580 [ 177.297529] ? find_held_lock+0x36/0x1c0 [ 177.301576] ? __fget_light+0x2e9/0x430 [ 177.305543] ? fget_raw+0x20/0x20 [ 177.308981] ? zap_class+0x640/0x640 [ 177.312680] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 177.317264] ? trace_hardirqs_on+0xbd/0x310 [ 177.321568] ? _raw_spin_unlock_bh+0x30/0x40 [ 177.325973] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 177.331494] ? sockfd_lookup_light+0xc5/0x160 [ 177.335977] __sys_sendmmsg+0x246/0x6d0 [ 177.339948] ? __ia32_sys_sendmsg+0xb0/0xb0 [ 177.344263] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 177.349787] ? put_timespec64+0x10f/0x1b0 [ 177.353927] ? nsecs_to_jiffies+0x30/0x30 [ 177.358063] ? do_syscall_64+0x9a/0x820 [ 177.362021] ? do_syscall_64+0x9a/0x820 [ 177.365982] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 177.370550] ? trace_hardirqs_on+0xbd/0x310 [ 177.374860] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 177.380382] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 177.385734] ? trace_hardirqs_off_caller+0x310/0x310 [ 177.390830] __x64_sys_sendmmsg+0x9d/0x100 [ 177.395057] do_syscall_64+0x1b9/0x820 [ 177.398932] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 177.404304] ? syscall_return_slowpath+0x5e0/0x5e0 [ 177.409230] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 177.414058] ? trace_hardirqs_on_caller+0x310/0x310 [ 177.419058] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 177.424058] ? prepare_exit_to_usermode+0x291/0x3b0 [ 177.429060] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 177.433893] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 177.439069] RIP: 0033:0x457669 [ 177.442247] Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 177.461134] RSP: 002b:00007fec9d4c9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 [ 177.468827] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457669 [ 177.476080] RDX: 0000000000000142 RSI: 0000000020000000 RDI: 0000000000000004 [ 177.483333] RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 [ 177.490605] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fec9d4ca6d4 [ 177.497859] R13: 00000000004c3e14 R14: 00000000004d6c38 R15: 00000000ffffffff [ 177.506119] Kernel Offset: disabled [ 177.509749] Rebooting in 86400 seconds..