[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 54.970906][ T26] audit: type=1800 audit(1570588477.907:25): pid=8599 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 55.017402][ T26] audit: type=1800 audit(1570588477.907:26): pid=8599 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 55.051946][ T26] audit: type=1800 audit(1570588477.917:27): pid=8599 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 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.1.9' (ECDSA) to the list of known hosts. 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 syzkaller login: [ 84.018758][ T9106] ================================================================== [ 84.027055][ T9106] BUG: KASAN: use-after-free in tipc_nl_node_dump_monitor_peer+0x508/0x5c0 [ 84.035758][ T9106] Read of size 2 at addr ffff888095cf8814 by task syz-executor864/9106 [ 84.043982][ T9106] [ 84.046315][ T9106] CPU: 0 PID: 9106 Comm: syz-executor864 Not tainted 5.4.0-rc2-next-20191008 #0 [ 84.055815][ T9106] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 84.065881][ T9106] Call Trace: [ 84.069195][ T9106] dump_stack+0x172/0x1f0 [ 84.073533][ T9106] ? tipc_nl_node_dump_monitor_peer+0x508/0x5c0 [ 84.082120][ T9106] print_address_description.constprop.0.cold+0xd4/0x30b [ 84.089145][ T9106] ? tipc_nl_node_dump_monitor_peer+0x508/0x5c0 [ 84.095464][ T9106] ? tipc_nl_node_dump_monitor_peer+0x508/0x5c0 [ 84.102402][ T9106] __kasan_report.cold+0x1b/0x41 [ 84.107411][ T9106] ? tipc_nl_node_dump_monitor_peer+0x508/0x5c0 [ 84.113640][ T9106] kasan_report+0x12/0x20 [ 84.117990][ T9106] __asan_report_load2_noabort+0x14/0x20 [ 84.123611][ T9106] tipc_nl_node_dump_monitor_peer+0x508/0x5c0 [ 84.130009][ T9106] ? tipc_nl_node_dump_monitor+0x340/0x340 [ 84.135920][ T9106] ? __kmalloc_node_track_caller+0x4e/0x70 [ 84.142671][ T9106] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 84.148988][ T9106] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 84.155210][ T9106] ? __alloc_skb+0x3d0/0x5e0 [ 84.159790][ T9106] genl_lock_dumpit+0x86/0xc0 [ 84.164470][ T9106] netlink_dump+0x558/0xfb0 [ 84.168980][ T9106] ? netlink_broadcast+0x50/0x50 [ 84.174465][ T9106] __netlink_dump_start+0x5b1/0x7d0 [ 84.180015][ T9106] ? genl_lock_dumpit+0xc0/0xc0 [ 84.184867][ T9106] genl_rcv_msg+0xc9b/0x1000 [ 84.189449][ T9106] ? genl_family_rcv_msg_attrs_parse.isra.0+0x3a0/0x3a0 [ 84.196368][ T9106] ? genl_lock_dumpit+0xc0/0xc0 [ 84.201205][ T9106] ? genl_unlock+0x20/0x20 [ 84.205970][ T9106] ? genl_parallel_done+0x1c0/0x1c0 [ 84.211171][ T9106] ? mark_held_locks+0xf0/0xf0 [ 84.215921][ T9106] ? find_held_lock+0x35/0x130 [ 84.220674][ T9106] netlink_rcv_skb+0x177/0x450 [ 84.225444][ T9106] ? genl_family_rcv_msg_attrs_parse.isra.0+0x3a0/0x3a0 [ 84.232370][ T9106] ? netlink_ack+0xb50/0xb50 [ 84.236942][ T9106] ? __kasan_check_write+0x14/0x20 [ 84.242140][ T9106] ? netlink_deliver_tap+0x254/0xbf0 [ 84.247410][ T9106] genl_rcv+0x29/0x40 [ 84.252081][ T9106] netlink_unicast+0x531/0x710 [ 84.256834][ T9106] ? netlink_attachskb+0x7c0/0x7c0 [ 84.262020][ T9106] ? _copy_from_iter_full+0x25d/0x8c0 [ 84.267374][ T9106] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 84.273285][ T9106] ? __check_object_size+0x3d/0x437 [ 84.278484][ T9106] netlink_sendmsg+0x8cf/0xd90 [ 84.283255][ T9106] ? netlink_unicast+0x710/0x710 [ 84.288181][ T9106] ? aa_sock_msg_perm.isra.0+0xba/0x170 [ 84.293711][ T9106] ? apparmor_socket_sendmsg+0x2a/0x30 [ 84.299171][ T9106] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 84.305398][ T9106] ? security_socket_sendmsg+0x8d/0xc0 [ 84.310929][ T9106] ? netlink_unicast+0x710/0x710 [ 84.315854][ T9106] sock_sendmsg+0xd7/0x130 [ 84.320259][ T9106] ___sys_sendmsg+0x803/0x920 [ 84.325880][ T9106] ? copy_msghdr_from_user+0x440/0x440 [ 84.331945][ T9106] ? lock_downgrade+0x920/0x920 [ 84.336981][ T9106] ? _raw_spin_unlock_irqrestore+0x6b/0xe0 [ 84.343211][ T9106] ? lockdep_hardirqs_on+0x421/0x5e0 [ 84.348519][ T9106] ? __kasan_check_read+0x11/0x20 [ 84.353546][ T9106] ? mark_lock+0xc2/0x1220 [ 84.357957][ T9106] ? _raw_spin_unlock_irqrestore+0xa4/0xe0 [ 84.363775][ T9106] ? __kasan_check_read+0x11/0x20 [ 84.368797][ T9106] ? __lock_acquire+0x16f2/0x4a00 [ 84.373817][ T9106] ? debug_object_deactivate+0x320/0x320 [ 84.379455][ T9106] ? rcu_lockdep_current_cpu_online+0xe3/0x130 [ 84.385655][ T9106] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 84.391907][ T9106] ? __fget_light+0x1a9/0x230 [ 84.396593][ T9106] ? __fdget+0x1b/0x20 [ 84.400674][ T9106] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 84.406944][ T9106] __sys_sendmsg+0x105/0x1d0 [ 84.411625][ T9106] ? __sys_sendmsg_sock+0xd0/0xd0 [ 84.416657][ T9106] ? lockdep_hardirqs_on+0x421/0x5e0 [ 84.421964][ T9106] ? trace_hardirqs_on_thunk+0x1a/0x20 [ 84.427545][ T9106] ? do_syscall_64+0x26/0x760 [ 84.432355][ T9106] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 84.438419][ T9106] ? do_syscall_64+0x26/0x760 [ 84.443251][ T9106] __x64_sys_sendmsg+0x78/0xb0 [ 84.448026][ T9106] do_syscall_64+0xfa/0x760 [ 84.452534][ T9106] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 84.458414][ T9106] RIP: 0033:0x445239 [ 84.462294][ T9106] Code: e8 ac e8 ff ff 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 0b cd fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 84.482073][ T9106] RSP: 002b:00007fffd4056888 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 84.490742][ T9106] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000445239 [ 84.498700][ T9106] RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000003 [ 84.506662][ T9106] RBP: 00000000000147f9 R08: 0000000000000000 R09: 00000000004002e0 [ 84.514618][ T9106] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004023d0 [ 84.522613][ T9106] R13: 0000000000402460 R14: 0000000000000000 R15: 0000000000000000 [ 84.530596][ T9106] [ 84.532911][ T9106] Allocated by task 9107: [ 84.537232][ T9106] save_stack+0x23/0x90 [ 84.541370][ T9106] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 84.546984][ T9106] kasan_kmalloc+0x9/0x10 [ 84.551307][ T9106] __kmalloc_node_track_caller+0x4e/0x70 [ 84.556984][ T9106] __kmalloc_reserve.isra.0+0x40/0xf0 [ 84.562406][ T9106] __alloc_skb+0x10b/0x5e0 [ 84.566857][ T9106] netlink_sendmsg+0x99c/0xd90 [ 84.572064][ T9106] sock_sendmsg+0xd7/0x130 [ 84.576458][ T9106] ___sys_sendmsg+0x803/0x920 [ 84.581113][ T9106] __sys_sendmsg+0x105/0x1d0 [ 84.585691][ T9106] __x64_sys_sendmsg+0x78/0xb0 [ 84.590443][ T9106] do_syscall_64+0xfa/0x760 [ 84.594943][ T9106] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 84.600839][ T9106] [ 84.603175][ T9106] Freed by task 9107: [ 84.607138][ T9106] save_stack+0x23/0x90 [ 84.611358][ T9106] __kasan_slab_free+0x102/0x150 [ 84.616280][ T9106] kasan_slab_free+0xe/0x10 [ 84.620772][ T9106] kfree+0x10a/0x2c0 [ 84.624651][ T9106] skb_free_head+0x93/0xb0 [ 84.629048][ T9106] skb_release_data+0x42d/0x7c0 [ 84.633874][ T9106] skb_release_all+0x4d/0x60 [ 84.638448][ T9106] consume_skb+0xfb/0x3b0 [ 84.642759][ T9106] netlink_unicast+0x539/0x710 [ 84.647522][ T9106] netlink_sendmsg+0x8cf/0xd90 [ 84.652294][ T9106] sock_sendmsg+0xd7/0x130 [ 84.656690][ T9106] ___sys_sendmsg+0x803/0x920 [ 84.661345][ T9106] __sys_sendmsg+0x105/0x1d0 [ 84.665912][ T9106] __x64_sys_sendmsg+0x78/0xb0 [ 84.670674][ T9106] do_syscall_64+0xfa/0x760 [ 84.675158][ T9106] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 84.681027][ T9106] [ 84.683350][ T9106] The buggy address belongs to the object at ffff888095cf8800 [ 84.683350][ T9106] which belongs to the cache kmalloc-512 of size 512 [ 84.697468][ T9106] The buggy address is located 20 bytes inside of [ 84.697468][ T9106] 512-byte region [ffff888095cf8800, ffff888095cf8a00) [ 84.710650][ T9106] The buggy address belongs to the page: [ 84.716282][ T9106] page:ffffea0002573e00 refcount:1 mapcount:0 mapping:ffff8880aa400a80 index:0x0 [ 84.725384][ T9106] flags: 0x1fffc0000000200(slab) [ 84.730306][ T9106] raw: 01fffc0000000200 ffffea00028265c8 ffffea0002a460c8 ffff8880aa400a80 [ 84.738871][ T9106] raw: 0000000000000000 ffff888095cf8000 0000000100000004 0000000000000000 [ 84.747428][ T9106] page dumped because: kasan: bad access detected [ 84.753815][ T9106] [ 84.756126][ T9106] Memory state around the buggy address: [ 84.761751][ T9106] ffff888095cf8700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 84.769794][ T9106] ffff888095cf8780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 84.777837][ T9106] >ffff888095cf8800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 84.785881][ T9106] ^ [ 84.790478][ T9106] ffff888095cf8880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 84.798521][ T9106] ffff888095cf8900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 84.806564][ T9106] ================================================================== [ 84.814607][ T9106] Disabling lock debugging due to kernel taint [ 84.822936][ T9106] Kernel panic - not syncing: panic_on_warn set ... [ 84.829550][ T9106] CPU: 0 PID: 9106 Comm: syz-executor864 Tainted: G B 5.4.0-rc2-next-20191008 #0 [ 84.839945][ T9106] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 84.850104][ T9106] Call Trace: [ 84.853391][ T9106] dump_stack+0x172/0x1f0 [ 84.857706][ T9106] panic+0x2e3/0x75c [ 84.861583][ T9106] ? add_taint.cold+0x16/0x16 [ 84.866241][ T9106] ? tipc_nl_node_dump_monitor_peer+0x508/0x5c0 [ 84.872484][ T9106] ? preempt_schedule+0x4b/0x60 [ 84.877333][ T9106] ? ___preempt_schedule+0x16/0x20 [ 84.882449][ T9106] ? trace_hardirqs_on+0x5e/0x240 [ 84.887465][ T9106] ? tipc_nl_node_dump_monitor_peer+0x508/0x5c0 [ 84.893796][ T9106] end_report+0x47/0x4f [ 84.898110][ T9106] ? tipc_nl_node_dump_monitor_peer+0x508/0x5c0 [ 84.904346][ T9106] __kasan_report.cold+0xe/0x41 [ 84.909179][ T9106] ? tipc_nl_node_dump_monitor_peer+0x508/0x5c0 [ 84.916022][ T9106] kasan_report+0x12/0x20 [ 84.920356][ T9106] __asan_report_load2_noabort+0x14/0x20 [ 84.926678][ T9106] tipc_nl_node_dump_monitor_peer+0x508/0x5c0 [ 84.932727][ T9106] ? tipc_nl_node_dump_monitor+0x340/0x340 [ 84.938516][ T9106] ? __kmalloc_node_track_caller+0x4e/0x70 [ 84.944306][ T9106] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 84.950531][ T9106] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 84.956764][ T9106] ? __alloc_skb+0x3d0/0x5e0 [ 84.961366][ T9106] genl_lock_dumpit+0x86/0xc0 [ 84.966097][ T9106] netlink_dump+0x558/0xfb0 [ 84.970608][ T9106] ? netlink_broadcast+0x50/0x50 [ 84.975536][ T9106] __netlink_dump_start+0x5b1/0x7d0 [ 84.980715][ T9106] ? genl_lock_dumpit+0xc0/0xc0 [ 84.985562][ T9106] genl_rcv_msg+0xc9b/0x1000 [ 84.990161][ T9106] ? genl_family_rcv_msg_attrs_parse.isra.0+0x3a0/0x3a0 [ 84.997090][ T9106] ? genl_lock_dumpit+0xc0/0xc0 [ 85.001928][ T9106] ? genl_unlock+0x20/0x20 [ 85.006333][ T9106] ? genl_parallel_done+0x1c0/0x1c0 [ 85.011557][ T9106] ? mark_held_locks+0xf0/0xf0 [ 85.016306][ T9106] ? find_held_lock+0x35/0x130 [ 85.021062][ T9106] netlink_rcv_skb+0x177/0x450 [ 85.025817][ T9106] ? genl_family_rcv_msg_attrs_parse.isra.0+0x3a0/0x3a0 [ 85.032744][ T9106] ? netlink_ack+0xb50/0xb50 [ 85.037331][ T9106] ? __kasan_check_write+0x14/0x20 [ 85.042421][ T9106] ? netlink_deliver_tap+0x254/0xbf0 [ 85.047700][ T9106] genl_rcv+0x29/0x40 [ 85.051662][ T9106] netlink_unicast+0x531/0x710 [ 85.056413][ T9106] ? netlink_attachskb+0x7c0/0x7c0 [ 85.061502][ T9106] ? _copy_from_iter_full+0x25d/0x8c0 [ 85.066855][ T9106] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 85.072566][ T9106] ? __check_object_size+0x3d/0x437 [ 85.077746][ T9106] netlink_sendmsg+0x8cf/0xd90 [ 85.082491][ T9106] ? netlink_unicast+0x710/0x710 [ 85.087466][ T9106] ? aa_sock_msg_perm.isra.0+0xba/0x170 [ 85.092991][ T9106] ? apparmor_socket_sendmsg+0x2a/0x30 [ 85.098448][ T9106] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 85.104686][ T9106] ? security_socket_sendmsg+0x8d/0xc0 [ 85.110133][ T9106] ? netlink_unicast+0x710/0x710 [ 85.115166][ T9106] sock_sendmsg+0xd7/0x130 [ 85.119565][ T9106] ___sys_sendmsg+0x803/0x920 [ 85.124229][ T9106] ? copy_msghdr_from_user+0x440/0x440 [ 85.129676][ T9106] ? lock_downgrade+0x920/0x920 [ 85.134518][ T9106] ? _raw_spin_unlock_irqrestore+0x6b/0xe0 [ 85.140331][ T9106] ? lockdep_hardirqs_on+0x421/0x5e0 [ 85.145611][ T9106] ? __kasan_check_read+0x11/0x20 [ 85.150614][ T9106] ? mark_lock+0xc2/0x1220 [ 85.155007][ T9106] ? _raw_spin_unlock_irqrestore+0xa4/0xe0 [ 85.160791][ T9106] ? __kasan_check_read+0x11/0x20 [ 85.165811][ T9106] ? __lock_acquire+0x16f2/0x4a00 [ 85.171429][ T9106] ? debug_object_deactivate+0x320/0x320 [ 85.177390][ T9106] ? rcu_lockdep_current_cpu_online+0xe3/0x130 [ 85.183686][ T9106] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 85.189923][ T9106] ? __fget_light+0x1a9/0x230 [ 85.194595][ T9106] ? __fdget+0x1b/0x20 [ 85.198669][ T9106] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 85.204917][ T9106] __sys_sendmsg+0x105/0x1d0 [ 85.209501][ T9106] ? __sys_sendmsg_sock+0xd0/0xd0 [ 85.214512][ T9106] ? lockdep_hardirqs_on+0x421/0x5e0 [ 85.219798][ T9106] ? trace_hardirqs_on_thunk+0x1a/0x20 [ 85.225238][ T9106] ? do_syscall_64+0x26/0x760 [ 85.229931][ T9106] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 85.236065][ T9106] ? do_syscall_64+0x26/0x760 [ 85.240738][ T9106] __x64_sys_sendmsg+0x78/0xb0 [ 85.245509][ T9106] do_syscall_64+0xfa/0x760 [ 85.250015][ T9106] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 85.255896][ T9106] RIP: 0033:0x445239 [ 85.259773][ T9106] Code: e8 ac e8 ff ff 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 0b cd fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 85.279360][ T9106] RSP: 002b:00007fffd4056888 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 85.287765][ T9106] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000445239 [ 85.295736][ T9106] RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000003 [ 85.304926][ T9106] RBP: 00000000000147f9 R08: 0000000000000000 R09: 00000000004002e0 [ 85.312880][ T9106] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004023d0 [ 85.320837][ T9106] R13: 0000000000402460 R14: 0000000000000000 R15: 0000000000000000 [ 85.330250][ T9106] Kernel Offset: disabled [ 85.334584][ T9106] Rebooting in 86400 seconds..