[ OK ] Started Getty on tty4. [ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Getty on tty1. [ 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. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.37' (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 syzkaller login: [ 57.702430][ T6933] ================================================================== [ 57.710821][ T6933] BUG: KASAN: use-after-free in tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 57.719407][ T6933] Read of size 2 at addr ffff8880974ac414 by task syz-executor717/6933 [ 57.727624][ T6933] [ 57.729947][ T6933] CPU: 0 PID: 6933 Comm: syz-executor717 Not tainted 5.8.0-rc4-syzkaller #0 [ 57.739045][ T6933] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.749180][ T6933] Call Trace: [ 57.752462][ T6933] dump_stack+0x18f/0x20d [ 57.756794][ T6933] ? tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 57.763029][ T6933] ? tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 57.769273][ T6933] print_address_description.constprop.0.cold+0xae/0x436 [ 57.776335][ T6933] ? ____sys_sendmsg+0x6e8/0x810 [ 57.781264][ T6933] ? ___sys_sendmsg+0xf3/0x170 [ 57.786020][ T6933] ? __sys_sendmsg+0xe5/0x1b0 [ 57.790693][ T6933] ? lockdep_hardirqs_off+0x66/0xa0 [ 57.795874][ T6933] ? vprintk_func+0x97/0x1a6 [ 57.800460][ T6933] ? tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 57.806788][ T6933] kasan_report.cold+0x1f/0x37 [ 57.811540][ T6933] ? tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 57.817764][ T6933] tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 57.823827][ T6933] ? tipc_nl_node_dump_monitor+0x300/0x300 [ 57.829623][ T6933] ? lock_is_held_type+0xb0/0xe0 [ 57.834550][ T6933] ? rcu_read_lock_sched_held+0x3a/0xb0 [ 57.840082][ T6933] ? kmem_cache_alloc_node_trace+0x3b0/0x400 [ 57.846060][ T6933] ? __kmalloc_node_track_caller+0x38/0x60 [ 57.851852][ T6933] ? kasan_unpoison_shadow+0x33/0x40 [ 57.857128][ T6933] ? __phys_addr+0x9a/0x110 [ 57.861614][ T6933] ? memset+0x20/0x40 [ 57.865578][ T6933] genl_lock_dumpit+0x7f/0xb0 [ 57.870284][ T6933] netlink_dump+0x4cd/0xf60 [ 57.874776][ T6933] ? netlink_insert+0x1670/0x1670 [ 57.879788][ T6933] ? __mutex_unlock_slowpath+0xe2/0x610 [ 57.885347][ T6933] ? genl_start+0x2cd/0x6e0 [ 57.889857][ T6933] ? genl_start+0x45a/0x6e0 [ 57.894379][ T6933] __netlink_dump_start+0x643/0x900 [ 57.899611][ T6933] ? genl_rcv_msg+0x9e0/0x9e0 [ 57.904277][ T6933] ? tipc_nl_node_dump_monitor+0x300/0x300 [ 57.910068][ T6933] genl_family_rcv_msg_dumpit+0x2ac/0x310 [ 57.915770][ T6933] ? genl_rcv+0x40/0x40 [ 57.919908][ T6933] ? mutex_lock_io_nested+0xf60/0xf60 [ 57.925353][ T6933] ? mark_lock+0xbc/0x1710 [ 57.929753][ T6933] ? genl_rcv_msg+0x9e0/0x9e0 [ 57.934408][ T6933] ? genl_unlock+0x20/0x20 [ 57.938805][ T6933] ? genl_parallel_done+0x170/0x170 [ 57.943985][ T6933] ? __radix_tree_lookup+0x1f3/0x290 [ 57.949253][ T6933] genl_rcv_msg+0x797/0x9e0 [ 57.953747][ T6933] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 57.960666][ T6933] ? lock_acquire+0x1f1/0xad0 [ 57.965337][ T6933] ? genl_rcv+0x15/0x40 [ 57.969579][ T6933] ? lock_release+0x8d0/0x8d0 [ 57.974250][ T6933] netlink_rcv_skb+0x15a/0x430 [ 57.979002][ T6933] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 57.985927][ T6933] ? netlink_ack+0xa10/0xa10 [ 57.990621][ T6933] genl_rcv+0x24/0x40 [ 57.994583][ T6933] netlink_unicast+0x533/0x7d0 [ 57.999333][ T6933] ? netlink_attachskb+0x810/0x810 [ 58.004425][ T6933] ? _copy_from_iter_full+0x247/0x890 [ 58.009781][ T6933] ? __phys_addr+0x9a/0x110 [ 58.014265][ T6933] ? __phys_addr_symbol+0x2c/0x70 [ 58.019277][ T6933] ? __check_object_size+0x171/0x3e4 [ 58.024553][ T6933] netlink_sendmsg+0x856/0xd90 [ 58.029306][ T6933] ? netlink_unicast+0x7d0/0x7d0 [ 58.034231][ T6933] ? netlink_unicast+0x7d0/0x7d0 [ 58.039149][ T6933] sock_sendmsg+0xcf/0x120 [ 58.043550][ T6933] ____sys_sendmsg+0x6e8/0x810 [ 58.048295][ T6933] ? kernel_sendmsg+0x50/0x50 [ 58.052946][ T6933] ? do_recvmmsg+0x6d0/0x6d0 [ 58.057514][ T6933] ? find_held_lock+0x2d/0x110 [ 58.062257][ T6933] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 58.068222][ T6933] ? lock_downgrade+0x820/0x820 [ 58.073053][ T6933] ___sys_sendmsg+0xf3/0x170 [ 58.077620][ T6933] ? sendmsg_copy_msghdr+0x160/0x160 [ 58.082894][ T6933] ? debug_object_active_state+0x260/0x350 [ 58.088684][ T6933] ? lock_downgrade+0x820/0x820 [ 58.093518][ T6933] ? _raw_spin_unlock_irqrestore+0x62/0xe0 [ 58.099305][ T6933] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 58.105265][ T6933] ? trace_hardirqs_on+0x5f/0x220 [ 58.110268][ T6933] ? lockdep_hardirqs_on+0x6a/0xe0 [ 58.115391][ T6933] ? _raw_spin_unlock_irqrestore+0x9b/0xe0 [ 58.121196][ T6933] ? debug_object_active_state+0x260/0x350 [ 58.126993][ T6933] ? check_preemption_disabled+0x50/0x130 [ 58.132695][ T6933] ? __fget_light+0x215/0x280 [ 58.137356][ T6933] __sys_sendmsg+0xe5/0x1b0 [ 58.141838][ T6933] ? __sys_sendmsg_sock+0xb0/0xb0 [ 58.146846][ T6933] ? lock_is_held_type+0xb0/0xe0 [ 58.151771][ T6933] ? do_syscall_64+0x1c/0xe0 [ 58.156341][ T6933] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 58.162301][ T6933] do_syscall_64+0x60/0xe0 [ 58.166699][ T6933] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 58.172575][ T6933] RIP: 0033:0x4452b9 [ 58.176441][ T6933] Code: Bad RIP value. [ 58.180481][ T6933] RSP: 002b:00007ffc8b368718 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 58.188866][ T6933] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004452b9 [ 58.196813][ T6933] RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000003 [ 58.205369][ T6933] RBP: 000000000000e149 R08: 0000000000000000 R09: 00000000004002e0 [ 58.213317][ T6933] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004023d0 [ 58.221272][ T6933] R13: 0000000000402460 R14: 0000000000000000 R15: 0000000000000000 [ 58.229226][ T6933] [ 58.231540][ T6933] Allocated by task 6934: [ 58.235871][ T6933] save_stack+0x1b/0x40 [ 58.240027][ T6933] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 58.245636][ T6933] __alloc_skb+0xae/0x550 [ 58.249939][ T6933] netlink_sendmsg+0x94f/0xd90 [ 58.254680][ T6933] sock_sendmsg+0xcf/0x120 [ 58.259072][ T6933] ____sys_sendmsg+0x6e8/0x810 [ 58.263816][ T6933] ___sys_sendmsg+0xf3/0x170 [ 58.268408][ T6933] __sys_sendmsg+0xe5/0x1b0 [ 58.272889][ T6933] do_syscall_64+0x60/0xe0 [ 58.277281][ T6933] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 58.283141][ T6933] [ 58.285443][ T6933] Freed by task 6934: [ 58.289409][ T6933] save_stack+0x1b/0x40 [ 58.293542][ T6933] __kasan_slab_free+0xf5/0x140 [ 58.298367][ T6933] kfree+0x103/0x2c0 [ 58.302238][ T6933] skb_release_data+0x6d9/0x910 [ 58.307066][ T6933] consume_skb+0xc2/0x160 [ 58.311386][ T6933] netlink_unicast+0x53b/0x7d0 [ 58.316126][ T6933] netlink_sendmsg+0x856/0xd90 [ 58.320865][ T6933] sock_sendmsg+0xcf/0x120 [ 58.325256][ T6933] ____sys_sendmsg+0x6e8/0x810 [ 58.329994][ T6933] ___sys_sendmsg+0xf3/0x170 [ 58.334557][ T6933] __sys_sendmsg+0xe5/0x1b0 [ 58.339042][ T6933] do_syscall_64+0x60/0xe0 [ 58.343435][ T6933] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 58.349301][ T6933] [ 58.351619][ T6933] The buggy address belongs to the object at ffff8880974ac400 [ 58.351619][ T6933] which belongs to the cache kmalloc-512 of size 512 [ 58.365665][ T6933] The buggy address is located 20 bytes inside of [ 58.365665][ T6933] 512-byte region [ffff8880974ac400, ffff8880974ac600) [ 58.378839][ T6933] The buggy address belongs to the page: [ 58.384471][ T6933] page:ffffea00025d2b00 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff8880974ac000 [ 58.394864][ T6933] flags: 0xfffe0000000200(slab) [ 58.399705][ T6933] raw: 00fffe0000000200 ffffea0002a35648 ffffea0002777bc8 ffff8880aa000a80 [ 58.408274][ T6933] raw: ffff8880974ac000 ffff8880974ac000 0000000100000001 0000000000000000 [ 58.416831][ T6933] page dumped because: kasan: bad access detected [ 58.423215][ T6933] [ 58.425518][ T6933] Memory state around the buggy address: [ 58.431126][ T6933] ffff8880974ac300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 58.439164][ T6933] ffff8880974ac380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 58.447222][ T6933] >ffff8880974ac400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.455258][ T6933] ^ [ 58.459823][ T6933] ffff8880974ac480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.467860][ T6933] ffff8880974ac500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.475896][ T6933] ================================================================== [ 58.483944][ T6933] Disabling lock debugging due to kernel taint [ 58.501398][ T6933] Kernel panic - not syncing: panic_on_warn set ... [ 58.508024][ T6933] CPU: 0 PID: 6933 Comm: syz-executor717 Tainted: G B 5.8.0-rc4-syzkaller #0 [ 58.518079][ T6933] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.528129][ T6933] Call Trace: [ 58.531424][ T6933] dump_stack+0x18f/0x20d [ 58.535771][ T6933] ? tipc_nl_node_dump_monitor_peer+0x3f0/0x590 [ 58.542021][ T6933] panic+0x2e3/0x75c [ 58.545923][ T6933] ? __warn_printk+0xf3/0xf3 [ 58.550514][ T6933] ? preempt_schedule_common+0x59/0xc0 [ 58.555975][ T6933] ? tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 58.562218][ T6933] ? preempt_schedule_thunk+0x16/0x18 [ 58.567592][ T6933] ? trace_hardirqs_on+0x55/0x220 [ 58.572626][ T6933] ? tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 58.578870][ T6933] ? tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 58.585106][ T6933] end_report+0x4d/0x53 [ 58.589264][ T6933] kasan_report.cold+0xd/0x37 [ 58.593948][ T6933] ? tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 58.600192][ T6933] tipc_nl_node_dump_monitor_peer+0x4da/0x590 [ 58.606249][ T6933] ? tipc_nl_node_dump_monitor+0x300/0x300 [ 58.612053][ T6933] ? lock_is_held_type+0xb0/0xe0 [ 58.616971][ T6933] ? rcu_read_lock_sched_held+0x3a/0xb0 [ 58.622577][ T6933] ? kmem_cache_alloc_node_trace+0x3b0/0x400 [ 58.628526][ T6933] ? __kmalloc_node_track_caller+0x38/0x60 [ 58.634309][ T6933] ? kasan_unpoison_shadow+0x33/0x40 [ 58.639663][ T6933] ? __phys_addr+0x9a/0x110 [ 58.644145][ T6933] ? memset+0x20/0x40 [ 58.648115][ T6933] genl_lock_dumpit+0x7f/0xb0 [ 58.652765][ T6933] netlink_dump+0x4cd/0xf60 [ 58.657246][ T6933] ? netlink_insert+0x1670/0x1670 [ 58.662249][ T6933] ? __mutex_unlock_slowpath+0xe2/0x610 [ 58.667771][ T6933] ? genl_start+0x2cd/0x6e0 [ 58.672253][ T6933] ? genl_start+0x45a/0x6e0 [ 58.676733][ T6933] __netlink_dump_start+0x643/0x900 [ 58.681906][ T6933] ? genl_rcv_msg+0x9e0/0x9e0 [ 58.686567][ T6933] ? tipc_nl_node_dump_monitor+0x300/0x300 [ 58.692345][ T6933] genl_family_rcv_msg_dumpit+0x2ac/0x310 [ 58.698041][ T6933] ? genl_rcv+0x40/0x40 [ 58.702173][ T6933] ? mutex_lock_io_nested+0xf60/0xf60 [ 58.707518][ T6933] ? mark_lock+0xbc/0x1710 [ 58.711914][ T6933] ? genl_rcv_msg+0x9e0/0x9e0 [ 58.716568][ T6933] ? genl_unlock+0x20/0x20 [ 58.720975][ T6933] ? genl_parallel_done+0x170/0x170 [ 58.726150][ T6933] ? __radix_tree_lookup+0x1f3/0x290 [ 58.731421][ T6933] genl_rcv_msg+0x797/0x9e0 [ 58.735902][ T6933] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 58.742818][ T6933] ? lock_acquire+0x1f1/0xad0 [ 58.747481][ T6933] ? genl_rcv+0x15/0x40 [ 58.751625][ T6933] ? lock_release+0x8d0/0x8d0 [ 58.756281][ T6933] netlink_rcv_skb+0x15a/0x430 [ 58.761036][ T6933] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 58.767963][ T6933] ? netlink_ack+0xa10/0xa10 [ 58.772533][ T6933] genl_rcv+0x24/0x40 [ 58.776491][ T6933] netlink_unicast+0x533/0x7d0 [ 58.781241][ T6933] ? netlink_attachskb+0x810/0x810 [ 58.786351][ T6933] ? _copy_from_iter_full+0x247/0x890 [ 58.791718][ T6933] ? __phys_addr+0x9a/0x110 [ 58.796198][ T6933] ? __phys_addr_symbol+0x2c/0x70 [ 58.801200][ T6933] ? __check_object_size+0x171/0x3e4 [ 58.806521][ T6933] netlink_sendmsg+0x856/0xd90 [ 58.811283][ T6933] ? netlink_unicast+0x7d0/0x7d0 [ 58.816220][ T6933] ? netlink_unicast+0x7d0/0x7d0 [ 58.821246][ T6933] sock_sendmsg+0xcf/0x120 [ 58.825641][ T6933] ____sys_sendmsg+0x6e8/0x810 [ 58.830382][ T6933] ? kernel_sendmsg+0x50/0x50 [ 58.835035][ T6933] ? do_recvmmsg+0x6d0/0x6d0 [ 58.839613][ T6933] ? find_held_lock+0x2d/0x110 [ 58.844357][ T6933] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 58.850321][ T6933] ? lock_downgrade+0x820/0x820 [ 58.855154][ T6933] ___sys_sendmsg+0xf3/0x170 [ 58.859717][ T6933] ? sendmsg_copy_msghdr+0x160/0x160 [ 58.864994][ T6933] ? debug_object_active_state+0x260/0x350 [ 58.870786][ T6933] ? lock_downgrade+0x820/0x820 [ 58.875612][ T6933] ? _raw_spin_unlock_irqrestore+0x62/0xe0 [ 58.881393][ T6933] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 58.887352][ T6933] ? trace_hardirqs_on+0x5f/0x220 [ 58.892402][ T6933] ? lockdep_hardirqs_on+0x6a/0xe0 [ 58.897488][ T6933] ? _raw_spin_unlock_irqrestore+0x9b/0xe0 [ 58.903274][ T6933] ? debug_object_active_state+0x260/0x350 [ 58.909059][ T6933] ? check_preemption_disabled+0x50/0x130 [ 58.914765][ T6933] ? __fget_light+0x215/0x280 [ 58.919430][ T6933] __sys_sendmsg+0xe5/0x1b0 [ 58.923919][ T6933] ? __sys_sendmsg_sock+0xb0/0xb0 [ 58.928931][ T6933] ? lock_is_held_type+0xb0/0xe0 [ 58.933852][ T6933] ? do_syscall_64+0x1c/0xe0 [ 58.938425][ T6933] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 58.944383][ T6933] do_syscall_64+0x60/0xe0 [ 58.948825][ T6933] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 58.954790][ T6933] RIP: 0033:0x4452b9 [ 58.958654][ T6933] Code: Bad RIP value. [ 58.962692][ T6933] RSP: 002b:00007ffc8b368718 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 58.971101][ T6933] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004452b9 [ 58.979068][ T6933] RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000003 [ 58.987165][ T6933] RBP: 000000000000e149 R08: 0000000000000000 R09: 00000000004002e0 [ 58.995119][ T6933] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004023d0 [ 59.003079][ T6933] R13: 0000000000402460 R14: 0000000000000000 R15: 0000000000000000 [ 59.012089][ T6933] Kernel Offset: disabled [ 59.016491][ T6933] Rebooting in 86400 seconds..