[ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.6' (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 syzkaller login: [ 54.337683][ T6822] ================================================================== [ 54.352942][ T6822] BUG: KASAN: use-after-free in tipc_nl_node_dump_monitor_peer+0x4da/0x590 executing program executing program [ 54.377830][ T6822] Read of size 2 at addr ffff888090607414 by task syz-executor153/6822 [ 54.395595][ T6822] [ 54.400369][ T6822] CPU: 0 PID: 6822 Comm: syz-executor153 Not tainted 5.8.0-rc4-syzkaller #0 [ 54.418894][ T6822] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 54.441788][ T6822] Call Trace: [ 54.452837][ T6822] dump_stack+0x18f/0x20d [ 54.461073][ T6822] ? tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 54.474343][ T6822] ? tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 54.485490][ T6822] print_address_description.constprop.0.cold+0xae/0x436 [ 54.504120][ T6822] ? ____sys_sendmsg+0x6e8/0x810 [ 54.516911][ T6822] ? ___sys_sendmsg+0xf3/0x170 [ 54.527119][ T6822] ? __sys_sendmsg+0xe5/0x1b0 [ 54.541490][ T6822] ? lockdep_hardirqs_off+0x66/0xa0 [ 54.555057][ T6822] ? vprintk_func+0x97/0x1a6 [ 54.564556][ T6822] ? tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 54.581443][ T6822] kasan_report.cold+0x1f/0x37 [ 54.589360][ T6822] ? tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 54.602848][ T6822] tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 54.618105][ T6822] ? tipc_nl_node_dump_monitor+0x300/0x300 [ 54.628976][ T6822] ? lock_is_held_type+0xb0/0xe0 [ 54.638917][ T6822] ? rcu_read_lock_sched_held+0x3a/0xb0 [ 54.653845][ T6822] ? kmem_cache_alloc_node_trace+0x3b0/0x400 [ 54.666238][ T6822] ? __kmalloc_node_track_caller+0x38/0x60 [ 54.683159][ T6822] ? kasan_unpoison_shadow+0x33/0x40 [ 54.699738][ T6822] ? __phys_addr+0x9a/0x110 [ 54.717106][ T6822] ? memset+0x20/0x40 [ 54.723725][ T6822] genl_lock_dumpit+0x7f/0xb0 [ 54.731360][ T6822] netlink_dump+0x4cd/0xf60 [ 54.740430][ T6822] ? netlink_insert+0x1670/0x1670 [ 54.747366][ T6822] ? __mutex_unlock_slowpath+0xe2/0x610 [ 54.759594][ T6822] ? genl_start+0x45a/0x6e0 [ 54.767586][ T6822] __netlink_dump_start+0x643/0x900 [ 54.777897][ T6822] ? genl_rcv_msg+0x9e0/0x9e0 [ 54.787716][ T6822] ? tipc_nl_node_dump_monitor+0x300/0x300 [ 54.797049][ T6822] genl_family_rcv_msg_dumpit+0x2ac/0x310 [ 54.807603][ T6822] ? genl_rcv+0x40/0x40 [ 54.815106][ T6822] ? mutex_lock_io_nested+0xf60/0xf60 [ 54.824228][ T6822] ? mark_lock+0xbc/0x1710 [ 54.830944][ T6822] ? genl_rcv_msg+0x9e0/0x9e0 [ 54.839890][ T6822] ? genl_unlock+0x20/0x20 [ 54.849232][ T6822] ? genl_parallel_done+0x170/0x170 [ 54.860888][ T6822] ? __radix_tree_lookup+0x1f3/0x290 [ 54.872214][ T6822] genl_rcv_msg+0x797/0x9e0 [ 54.886740][ T6822] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 54.896005][ T6822] ? lock_acquire+0x1f1/0xad0 [ 54.901878][ T6822] ? genl_rcv+0x15/0x40 [ 54.906362][ T6822] ? lock_release+0x8d0/0x8d0 [ 54.915650][ T6822] netlink_rcv_skb+0x15a/0x430 [ 54.921447][ T6822] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 54.934397][ T6822] ? netlink_ack+0xa10/0xa10 [ 54.941094][ T6822] genl_rcv+0x24/0x40 [ 54.948434][ T6822] netlink_unicast+0x533/0x7d0 [ 54.957193][ T6822] ? netlink_attachskb+0x810/0x810 [ 54.965616][ T6822] ? _copy_from_iter_full+0x247/0x890 [ 54.973683][ T6822] ? __phys_addr+0x9a/0x110 [ 54.983144][ T6822] ? __phys_addr_symbol+0x2c/0x70 [ 54.993024][ T6822] ? __check_object_size+0x171/0x3e4 [ 55.001462][ T6822] netlink_sendmsg+0x856/0xd90 [ 55.011533][ T6822] ? netlink_unicast+0x7d0/0x7d0 [ 55.023128][ T6822] ? netlink_unicast+0x7d0/0x7d0 [ 55.038903][ T6822] sock_sendmsg+0xcf/0x120 [ 55.050506][ T6822] ____sys_sendmsg+0x6e8/0x810 [ 55.064644][ T6822] ? kernel_sendmsg+0x50/0x50 [ 55.076186][ T6822] ? do_recvmmsg+0x6d0/0x6d0 [ 55.092511][ T6822] ? find_held_lock+0x2d/0x110 [ 55.111000][ T6822] ? debug_object_activate+0x287/0x3e0 [ 55.123640][ T6822] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 55.134711][ T6822] ? lock_downgrade+0x820/0x820 [ 55.140331][ T6822] ___sys_sendmsg+0xf3/0x170 [ 55.145034][ T6822] ? sendmsg_copy_msghdr+0x160/0x160 [ 55.151064][ T6822] ? lock_downgrade+0x820/0x820 [ 55.156756][ T6822] ? _raw_spin_unlock_irqrestore+0x62/0xe0 [ 55.166406][ T6822] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 55.181413][ T6822] ? trace_hardirqs_on+0x5f/0x220 [ 55.198198][ T6822] ? lockdep_hardirqs_on+0x6a/0xe0 [ 55.210120][ T6822] ? _raw_spin_unlock_irqrestore+0x9b/0xe0 [ 55.220275][ T6822] ? debug_object_active_state+0x260/0x350 [ 55.227599][ T6822] ? __fget_light+0x215/0x280 [ 55.232580][ T6822] __sys_sendmsg+0xe5/0x1b0 [ 55.238826][ T6822] ? __sys_sendmsg_sock+0xb0/0xb0 [ 55.244339][ T6822] ? lock_is_held_type+0xb0/0xe0 [ 55.253033][ T6822] ? lock_is_held_type+0xb0/0xe0 [ 55.259317][ T6822] ? do_fast_syscall_32+0x40/0x120 [ 55.266281][ T6822] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 55.275629][ T6822] do_syscall_32_irqs_on+0x3f/0x60 [ 55.284520][ T6822] do_fast_syscall_32+0x7f/0x120 [ 55.292073][ T6822] entry_SYSENTER_compat_after_hwframe+0x4d/0x5c [ 55.300360][ T6822] RIP: 0023:0xf7fb2569 [ 55.305147][ T6822] Code: Bad RIP value. [ 55.309650][ T6822] RSP: 002b:00000000ffe89c6c EFLAGS: 00000246 ORIG_RAX: 0000000000000172 [ 55.329796][ T6822] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000200000c0 [ 55.344834][ T6822] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00000000ffe89d84 [ 55.358292][ T6822] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 55.370356][ T6822] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 55.382374][ T6822] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 55.394549][ T6822] [ 55.399687][ T6822] Allocated by task 6821: [ 55.405264][ T6822] save_stack+0x1b/0x40 [ 55.409649][ T6822] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 55.417482][ T6822] __alloc_skb+0xae/0x550 [ 55.423203][ T6822] netlink_sendmsg+0x94f/0xd90 [ 55.434034][ T6822] sock_sendmsg+0xcf/0x120 [ 55.442747][ T6822] ____sys_sendmsg+0x6e8/0x810 [ 55.452160][ T6822] ___sys_sendmsg+0xf3/0x170 [ 55.457222][ T6822] __sys_sendmsg+0xe5/0x1b0 [ 55.462391][ T6822] do_syscall_32_irqs_on+0x3f/0x60 [ 55.467973][ T6822] do_fast_syscall_32+0x7f/0x120 [ 55.474714][ T6822] entry_SYSENTER_compat_after_hwframe+0x4d/0x5c [ 55.484306][ T6822] [ 55.488848][ T6822] Freed by task 6821: [ 55.493696][ T6822] save_stack+0x1b/0x40 [ 55.498807][ T6822] __kasan_slab_free+0xf5/0x140 [ 55.506903][ T6822] kfree+0x103/0x2c0 [ 55.514679][ T6822] skb_release_data+0x6d9/0x910 [ 55.525134][ T6822] consume_skb+0xc2/0x160 [ 55.533324][ T6822] netlink_unicast+0x53b/0x7d0 [ 55.544631][ T6822] netlink_sendmsg+0x856/0xd90 [ 55.556457][ T6822] sock_sendmsg+0xcf/0x120 [ 55.563420][ T6822] ____sys_sendmsg+0x6e8/0x810 [ 55.570001][ T6822] ___sys_sendmsg+0xf3/0x170 [ 55.578604][ T6822] __sys_sendmsg+0xe5/0x1b0 [ 55.584213][ T6822] do_syscall_32_irqs_on+0x3f/0x60 [ 55.591343][ T6822] do_fast_syscall_32+0x7f/0x120 [ 55.596662][ T6822] entry_SYSENTER_compat_after_hwframe+0x4d/0x5c [ 55.604650][ T6822] [ 55.608594][ T6822] The buggy address belongs to the object at ffff888090607400 [ 55.608594][ T6822] which belongs to the cache kmalloc-512 of size 512 [ 55.627590][ T6822] The buggy address is located 20 bytes inside of [ 55.627590][ T6822] 512-byte region [ffff888090607400, ffff888090607600) [ 55.644776][ T6822] The buggy address belongs to the page: [ 55.653017][ T6822] page:ffffea00024181c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888090607800 [ 55.673126][ T6822] flags: 0xfffe0000000200(slab) [ 55.687512][ T6822] raw: 00fffe0000000200 ffffea00027baf88 ffffea0002418108 ffff8880aa000a80 [ 55.713859][ T6822] raw: ffff888090607800 ffff888090607000 0000000100000003 0000000000000000 [ 55.728815][ T6822] page dumped because: kasan: bad access detected [ 55.737363][ T6822] [ 55.740419][ T6822] Memory state around the buggy address: [ 55.747764][ T6822] ffff888090607300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 55.759163][ T6822] ffff888090607380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 55.774111][ T6822] >ffff888090607400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 55.791414][ T6822] ^ [ 55.804805][ T6822] ffff888090607480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 55.819533][ T6822] ffff888090607500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 55.831729][ T6822] ================================================================== [ 55.840907][ T6822] Disabling lock debugging due to kernel taint [ 55.851865][ T6822] Kernel panic - not syncing: panic_on_warn set ... [ 55.858983][ T6822] CPU: 0 PID: 6822 Comm: syz-executor153 Tainted: G B 5.8.0-rc4-syzkaller #0 [ 55.869395][ T6822] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 55.882387][ T6822] Call Trace: [ 55.887093][ T6822] dump_stack+0x18f/0x20d [ 55.892790][ T6822] ? tipc_nl_node_dump_monitor_peer+0x3f0/0x590 [ 55.903951][ T6822] panic+0x2e3/0x75c [ 55.908131][ T6822] ? __warn_printk+0xf3/0xf3 [ 55.914006][ T6822] ? preempt_schedule_common+0x59/0xc0 [ 55.920153][ T6822] ? tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 55.926527][ T6822] ? preempt_schedule_thunk+0x16/0x18 [ 55.932008][ T6822] ? trace_hardirqs_on+0x55/0x220 [ 55.937631][ T6822] ? tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 55.943889][ T6822] ? tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 55.950144][ T6822] end_report+0x4d/0x53 [ 55.954290][ T6822] kasan_report.cold+0xd/0x37 [ 55.958962][ T6822] ? tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 55.965294][ T6822] tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 55.971344][ T6822] ? tipc_nl_node_dump_monitor+0x300/0x300 [ 55.977160][ T6822] ? lock_is_held_type+0xb0/0xe0 [ 55.982292][ T6822] ? rcu_read_lock_sched_held+0x3a/0xb0 [ 55.987847][ T6822] ? kmem_cache_alloc_node_trace+0x3b0/0x400 [ 55.993856][ T6822] ? __kmalloc_node_track_caller+0x38/0x60 [ 55.999657][ T6822] ? kasan_unpoison_shadow+0x33/0x40 [ 56.004936][ T6822] ? __phys_addr+0x9a/0x110 [ 56.009696][ T6822] ? memset+0x20/0x40 [ 56.014365][ T6822] genl_lock_dumpit+0x7f/0xb0 [ 56.019286][ T6822] netlink_dump+0x4cd/0xf60 [ 56.023775][ T6822] ? netlink_insert+0x1670/0x1670 [ 56.028783][ T6822] ? __mutex_unlock_slowpath+0xe2/0x610 [ 56.037993][ T6822] ? genl_start+0x45a/0x6e0 [ 56.042568][ T6822] __netlink_dump_start+0x643/0x900 [ 56.047753][ T6822] ? genl_rcv_msg+0x9e0/0x9e0 [ 56.052446][ T6822] ? tipc_nl_node_dump_monitor+0x300/0x300 [ 56.058268][ T6822] genl_family_rcv_msg_dumpit+0x2ac/0x310 [ 56.064317][ T6822] ? genl_rcv+0x40/0x40 [ 56.068484][ T6822] ? mutex_lock_io_nested+0xf60/0xf60 [ 56.074215][ T6822] ? mark_lock+0xbc/0x1710 [ 56.078809][ T6822] ? genl_rcv_msg+0x9e0/0x9e0 [ 56.083475][ T6822] ? genl_unlock+0x20/0x20 [ 56.087900][ T6822] ? genl_parallel_done+0x170/0x170 [ 56.093079][ T6822] ? __radix_tree_lookup+0x1f3/0x290 [ 56.098352][ T6822] genl_rcv_msg+0x797/0x9e0 [ 56.102886][ T6822] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 56.109831][ T6822] ? lock_acquire+0x1f1/0xad0 [ 56.114502][ T6822] ? genl_rcv+0x15/0x40 [ 56.118666][ T6822] ? lock_release+0x8d0/0x8d0 [ 56.123349][ T6822] netlink_rcv_skb+0x15a/0x430 [ 56.128090][ T6822] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 56.135000][ T6822] ? netlink_ack+0xa10/0xa10 [ 56.139664][ T6822] genl_rcv+0x24/0x40 [ 56.147034][ T6822] netlink_unicast+0x533/0x7d0 [ 56.151904][ T6822] ? netlink_attachskb+0x810/0x810 [ 56.157010][ T6822] ? _copy_from_iter_full+0x247/0x890 [ 56.162373][ T6822] ? __phys_addr+0x9a/0x110 [ 56.166879][ T6822] ? __phys_addr_symbol+0x2c/0x70 [ 56.171893][ T6822] ? __check_object_size+0x171/0x3e4 [ 56.177155][ T6822] netlink_sendmsg+0x856/0xd90 [ 56.181991][ T6822] ? netlink_unicast+0x7d0/0x7d0 [ 56.187002][ T6822] ? netlink_unicast+0x7d0/0x7d0 [ 56.193122][ T6822] sock_sendmsg+0xcf/0x120 [ 56.197530][ T6822] ____sys_sendmsg+0x6e8/0x810 [ 56.202634][ T6822] ? kernel_sendmsg+0x50/0x50 [ 56.208183][ T6822] ? do_recvmmsg+0x6d0/0x6d0 [ 56.212828][ T6822] ? find_held_lock+0x2d/0x110 [ 56.217858][ T6822] ? debug_object_activate+0x287/0x3e0 [ 56.225398][ T6822] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 56.231900][ T6822] ? lock_downgrade+0x820/0x820 [ 56.236835][ T6822] ___sys_sendmsg+0xf3/0x170 [ 56.241414][ T6822] ? sendmsg_copy_msghdr+0x160/0x160 [ 56.246704][ T6822] ? lock_downgrade+0x820/0x820 [ 56.251725][ T6822] ? _raw_spin_unlock_irqrestore+0x62/0xe0 [ 56.257522][ T6822] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 56.263498][ T6822] ? trace_hardirqs_on+0x5f/0x220 [ 56.268507][ T6822] ? lockdep_hardirqs_on+0x6a/0xe0 [ 56.273880][ T6822] ? _raw_spin_unlock_irqrestore+0x9b/0xe0 [ 56.279666][ T6822] ? debug_object_active_state+0x260/0x350 [ 56.286076][ T6822] ? __fget_light+0x215/0x280 [ 56.291018][ T6822] __sys_sendmsg+0xe5/0x1b0 [ 56.295523][ T6822] ? __sys_sendmsg_sock+0xb0/0xb0 [ 56.300525][ T6822] ? lock_is_held_type+0xb0/0xe0 [ 56.305440][ T6822] ? lock_is_held_type+0xb0/0xe0 [ 56.311151][ T6822] ? do_fast_syscall_32+0x40/0x120 [ 56.316291][ T6822] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 56.322260][ T6822] do_syscall_32_irqs_on+0x3f/0x60 [ 56.327361][ T6822] do_fast_syscall_32+0x7f/0x120 [ 56.332274][ T6822] entry_SYSENTER_compat_after_hwframe+0x4d/0x5c [ 56.338580][ T6822] RIP: 0023:0xf7fb2569 [ 56.342626][ T6822] Code: Bad RIP value. [ 56.346661][ T6822] RSP: 002b:00000000ffe89c6c EFLAGS: 00000246 ORIG_RAX: 0000000000000172 [ 56.355044][ T6822] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000200000c0 [ 56.362992][ T6822] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00000000ffe89d84 [ 56.370951][ T6822] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 56.378902][ T6822] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 56.386858][ T6822] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 56.395767][ T6822] Kernel Offset: disabled [ 56.400076][ T6822] Rebooting in 86400 seconds..