[ 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. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.13' (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 syzkaller login: [ 63.510079][ T7030] ================================================================== [ 63.518609][ T7030] BUG: KASAN: use-after-free in tipc_udp_nl_dump_remoteip+0xb92/0xba0 [ 63.527237][ T7030] Read of size 2 at addr ffff8880a7da0c14 by task syz-executor132/7030 [ 63.535609][ T7030] [ 63.537932][ T7030] CPU: 0 PID: 7030 Comm: syz-executor132 Not tainted 5.8.0-rc1-syzkaller #0 [ 63.546589][ T7030] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 63.556752][ T7030] Call Trace: [ 63.560282][ T7030] dump_stack+0x18f/0x20d [ 63.564630][ T7030] ? tipc_udp_nl_dump_remoteip+0xb92/0xba0 [ 63.570562][ T7030] ? tipc_udp_nl_dump_remoteip+0xb92/0xba0 [ 63.576371][ T7030] print_address_description.constprop.0.cold+0xd3/0x413 [ 63.583496][ T7030] ? vprintk_func+0x97/0x1a6 [ 63.588091][ T7030] ? tipc_udp_nl_dump_remoteip+0xb92/0xba0 [ 63.593898][ T7030] kasan_report.cold+0x1f/0x37 [ 63.598811][ T7030] ? __netlink_clear_multicast_users+0xe0/0xf3 [ 63.605063][ T7030] ? tipc_udp_nl_dump_remoteip+0xb92/0xba0 [ 63.610903][ T7030] tipc_udp_nl_dump_remoteip+0xb92/0xba0 [ 63.616534][ T7030] ? __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 63.622487][ T7030] ? tipc_udp_enable+0x1320/0x1320 [ 63.627612][ T7030] ? memset+0x20/0x40 [ 63.631588][ T7030] ? __alloc_skb+0x3a7/0x5a0 [ 63.636190][ T7030] ? __kmalloc_reserve.isra.0+0xe0/0xe0 [ 63.641735][ T7030] genl_lock_dumpit+0x7f/0xb0 [ 63.646526][ T7030] netlink_dump+0x50b/0xe70 [ 63.651037][ T7030] ? __netlink_sendskb+0xb0/0xb0 [ 63.655982][ T7030] ? __mutex_unlock_slowpath+0xe2/0x660 [ 63.661523][ T7030] ? genl_family_rcv_msg_attrs_parse.isra.0+0x1b9/0x310 [ 63.668505][ T7030] ? genl_start+0x459/0x6e0 [ 63.673013][ T7030] __netlink_dump_start+0x63f/0x910 [ 63.678215][ T7030] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 63.685222][ T7030] ? tipc_udp_enable+0x1320/0x1320 [ 63.690335][ T7030] genl_family_rcv_msg_dumpit.isra.0+0x296/0x300 [ 63.696720][ T7030] ? genl_notify+0x220/0x220 [ 63.701436][ T7030] ? __lock_acquire+0x2224/0x48b0 [ 63.706490][ T7030] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 63.713440][ T7030] ? genl_unlock+0x20/0x20 [ 63.718027][ T7030] ? genl_parallel_done+0x170/0x170 [ 63.723237][ T7030] ? __radix_tree_lookup+0x1dc/0x270 [ 63.728679][ T7030] genl_rcv_msg+0x781/0x9c0 [ 63.733383][ T7030] ? genl_start+0x6e0/0x6e0 [ 63.737980][ T7030] ? lock_acquire+0x1f2/0x8f0 [ 63.744152][ T7030] ? genl_rcv+0x15/0x40 [ 63.748949][ T7030] ? lock_acquire+0x1f2/0x8f0 [ 63.753650][ T7030] ? lock_release+0x800/0x800 [ 63.758716][ T7030] netlink_rcv_skb+0x15a/0x430 [ 63.763659][ T7030] ? genl_start+0x6e0/0x6e0 [ 63.768287][ T7030] ? netlink_ack+0xa60/0xa60 [ 63.773230][ T7030] genl_rcv+0x24/0x40 [ 63.777301][ T7030] netlink_unicast+0x537/0x740 [ 63.782431][ T7030] ? netlink_attachskb+0x810/0x810 [ 63.787657][ T7030] ? _copy_from_iter_full+0x25c/0x870 [ 63.793313][ T7030] ? __phys_addr_symbol+0x2c/0x70 [ 63.798929][ T7030] ? __check_object_size+0x171/0x437 [ 63.804526][ T7030] netlink_sendmsg+0x882/0xe10 [ 63.809667][ T7030] ? aa_af_perm+0x260/0x260 [ 63.814347][ T7030] ? netlink_unicast+0x740/0x740 [ 63.819748][ T7030] ? netlink_unicast+0x740/0x740 [ 63.825152][ T7030] sock_sendmsg+0xcf/0x120 [ 63.829887][ T7030] ____sys_sendmsg+0x6e6/0x810 [ 63.835318][ T7030] ? kernel_sendmsg+0x50/0x50 [ 63.841198][ T7030] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 63.847650][ T7030] ? lock_downgrade+0x840/0x840 [ 63.853138][ T7030] ___sys_sendmsg+0x100/0x170 [ 63.857935][ T7030] ? sendmsg_copy_msghdr+0x70/0x70 [ 63.863066][ T7030] ? debug_object_active_state+0x294/0x360 [ 63.869504][ T7030] ? lock_downgrade+0x840/0x840 [ 63.875120][ T7030] ? _raw_spin_unlock_irqrestore+0x62/0xe0 [ 63.881278][ T7030] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 63.887423][ T7030] ? _raw_spin_unlock_irqrestore+0x9b/0xe0 [ 63.893257][ T7030] ? debug_object_active_state+0x294/0x360 [ 63.899739][ T7030] ? check_preemption_disabled+0x38/0x220 [ 63.905635][ T7030] ? __fget_light+0x1a3/0x280 [ 63.910997][ T7030] ? sockfd_lookup_light+0xc6/0x170 [ 63.922390][ T7030] __sys_sendmsg+0xe5/0x1b0 [ 63.927007][ T7030] ? __sys_sendmsg_sock+0xb0/0xb0 [ 63.932176][ T7030] ? check_preemption_disabled+0x38/0x220 [ 63.938778][ T7030] ? do_syscall_64+0x1c/0xe0 [ 63.943893][ T7030] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 63.950942][ T7030] do_syscall_64+0x60/0xe0 [ 63.955579][ T7030] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 63.961835][ T7030] RIP: 0033:0x4452c9 [ 63.965892][ T7030] Code: Bad RIP value. [ 63.970850][ T7030] RSP: 002b:00007ffd2abff858 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 63.980020][ T7030] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004452c9 [ 63.988226][ T7030] RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 [ 63.997930][ T7030] RBP: 000000000000f7f6 R08: 0000000000000000 R09: 00000000004002e0 [ 64.011673][ T7030] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402460 [ 64.020270][ T7030] R13: 00000000004024f0 R14: 0000000000000000 R15: 0000000000000000 [ 64.028380][ T7030] [ 64.033987][ T7030] Allocated by task 7032: [ 64.038408][ T7030] save_stack+0x1b/0x40 [ 64.043721][ T7030] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 64.050506][ T7030] __kmalloc_reserve.isra.0+0x39/0xe0 [ 64.061267][ T7030] __alloc_skb+0xef/0x5a0 [ 64.069499][ T7030] netlink_sendmsg+0x97b/0xe10 [ 64.074895][ T7030] sock_sendmsg+0xcf/0x120 [ 64.079308][ T7030] ____sys_sendmsg+0x6e6/0x810 [ 64.084266][ T7030] ___sys_sendmsg+0x100/0x170 [ 64.089038][ T7030] __sys_sendmsg+0xe5/0x1b0 [ 64.093558][ T7030] do_syscall_64+0x60/0xe0 [ 64.098068][ T7030] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 64.104126][ T7030] [ 64.106565][ T7030] Freed by task 7032: [ 64.110652][ T7030] save_stack+0x1b/0x40 [ 64.115071][ T7030] __kasan_slab_free+0xf7/0x140 [ 64.120012][ T7030] kfree+0x109/0x2b0 [ 64.124547][ T7030] skb_free_head+0x8b/0xa0 [ 64.129140][ T7030] skb_release_data+0x617/0x8a0 [ 64.134060][ T7030] skb_release_all+0x46/0x60 [ 64.138683][ T7030] consume_skb+0xf3/0x3f0 [ 64.143135][ T7030] netlink_unicast+0x53f/0x740 [ 64.148082][ T7030] netlink_sendmsg+0x882/0xe10 [ 64.153031][ T7030] sock_sendmsg+0xcf/0x120 [ 64.157478][ T7030] ____sys_sendmsg+0x6e6/0x810 [ 64.162415][ T7030] ___sys_sendmsg+0x100/0x170 [ 64.167087][ T7030] __sys_sendmsg+0xe5/0x1b0 [ 64.171677][ T7030] do_syscall_64+0x60/0xe0 [ 64.176096][ T7030] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 64.181992][ T7030] [ 64.184367][ T7030] The buggy address belongs to the object at ffff8880a7da0c00 [ 64.184367][ T7030] which belongs to the cache kmalloc-512 of size 512 [ 64.198413][ T7030] The buggy address is located 20 bytes inside of [ 64.198413][ T7030] 512-byte region [ffff8880a7da0c00, ffff8880a7da0e00) [ 64.211590][ T7030] The buggy address belongs to the page: [ 64.217239][ T7030] page:ffffea00029f6800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 64.226482][ T7030] flags: 0xfffe0000000200(slab) [ 64.231346][ T7030] raw: 00fffe0000000200 ffffea000261b188 ffffea0002884808 ffff8880aa000a80 [ 64.240219][ T7030] raw: 0000000000000000 ffff8880a7da0000 0000000100000004 0000000000000000 [ 64.248796][ T7030] page dumped because: kasan: bad access detected [ 64.255201][ T7030] [ 64.257519][ T7030] Memory state around the buggy address: [ 64.263242][ T7030] ffff8880a7da0b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.271296][ T7030] ffff8880a7da0b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.279352][ T7030] >ffff8880a7da0c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.287444][ T7030] ^ [ 64.292034][ T7030] ffff8880a7da0c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.300184][ T7030] ffff8880a7da0d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.308440][ T7030] ================================================================== [ 64.316685][ T7030] Disabling lock debugging due to kernel taint [ 64.338645][ T7030] Kernel panic - not syncing: panic_on_warn set ... [ 64.345267][ T7030] CPU: 0 PID: 7030 Comm: syz-executor132 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 64.355316][ T7030] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.365517][ T7030] Call Trace: [ 64.368903][ T7030] dump_stack+0x18f/0x20d [ 64.373262][ T7030] ? tipc_udp_nl_dump_remoteip+0xb70/0xba0 [ 64.379074][ T7030] panic+0x2e3/0x75c [ 64.382981][ T7030] ? __warn_printk+0xf3/0xf3 [ 64.387682][ T7030] ? preempt_schedule_common+0x5e/0xc0 [ 64.393141][ T7030] ? tipc_udp_nl_dump_remoteip+0xb92/0xba0 [ 64.398946][ T7030] ? tipc_udp_nl_dump_remoteip+0xb92/0xba0 [ 64.406781][ T7030] ? preempt_schedule_thunk+0x16/0x18 [ 64.412157][ T7030] ? trace_hardirqs_on+0x55/0x220 [ 64.417188][ T7030] ? tipc_udp_nl_dump_remoteip+0xb92/0xba0 [ 64.423123][ T7030] ? tipc_udp_nl_dump_remoteip+0xb92/0xba0 [ 64.429048][ T7030] end_report+0x4d/0x53 [ 64.433213][ T7030] kasan_report.cold+0xd/0x37 [ 64.437890][ T7030] ? __netlink_clear_multicast_users+0xe0/0xf3 [ 64.444495][ T7030] ? tipc_udp_nl_dump_remoteip+0xb92/0xba0 [ 64.450367][ T7030] tipc_udp_nl_dump_remoteip+0xb92/0xba0 [ 64.456286][ T7030] ? __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 64.462216][ T7030] ? tipc_udp_enable+0x1320/0x1320 [ 64.467323][ T7030] ? memset+0x20/0x40 [ 64.471658][ T7030] ? __alloc_skb+0x3a7/0x5a0 [ 64.476629][ T7030] ? __kmalloc_reserve.isra.0+0xe0/0xe0 [ 64.482314][ T7030] genl_lock_dumpit+0x7f/0xb0 [ 64.486990][ T7030] netlink_dump+0x50b/0xe70 [ 64.491548][ T7030] ? __netlink_sendskb+0xb0/0xb0 [ 64.496893][ T7030] ? __mutex_unlock_slowpath+0xe2/0x660 [ 64.502496][ T7030] ? genl_family_rcv_msg_attrs_parse.isra.0+0x1b9/0x310 [ 64.509617][ T7030] ? genl_start+0x459/0x6e0 [ 64.514421][ T7030] __netlink_dump_start+0x63f/0x910 [ 64.519765][ T7030] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 64.526873][ T7030] ? tipc_udp_enable+0x1320/0x1320 [ 64.532075][ T7030] genl_family_rcv_msg_dumpit.isra.0+0x296/0x300 [ 64.538515][ T7030] ? genl_notify+0x220/0x220 [ 64.543439][ T7030] ? __lock_acquire+0x2224/0x48b0 [ 64.548580][ T7030] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 64.555517][ T7030] ? genl_unlock+0x20/0x20 [ 64.559994][ T7030] ? genl_parallel_done+0x170/0x170 [ 64.565234][ T7030] ? __radix_tree_lookup+0x1dc/0x270 [ 64.570623][ T7030] genl_rcv_msg+0x781/0x9c0 [ 64.575367][ T7030] ? genl_start+0x6e0/0x6e0 [ 64.580064][ T7030] ? lock_acquire+0x1f2/0x8f0 [ 64.584861][ T7030] ? genl_rcv+0x15/0x40 [ 64.589016][ T7030] ? lock_acquire+0x1f2/0x8f0 [ 64.593888][ T7030] ? lock_release+0x800/0x800 [ 64.598963][ T7030] netlink_rcv_skb+0x15a/0x430 [ 64.603817][ T7030] ? genl_start+0x6e0/0x6e0 [ 64.608481][ T7030] ? netlink_ack+0xa60/0xa60 [ 64.613390][ T7030] genl_rcv+0x24/0x40 [ 64.617367][ T7030] netlink_unicast+0x537/0x740 [ 64.622394][ T7030] ? netlink_attachskb+0x810/0x810 [ 64.627496][ T7030] ? _copy_from_iter_full+0x25c/0x870 [ 64.632887][ T7030] ? __phys_addr_symbol+0x2c/0x70 [ 64.638027][ T7030] ? __check_object_size+0x171/0x437 [ 64.643412][ T7030] netlink_sendmsg+0x882/0xe10 [ 64.648190][ T7030] ? aa_af_perm+0x260/0x260 [ 64.652703][ T7030] ? netlink_unicast+0x740/0x740 [ 64.657638][ T7030] ? netlink_unicast+0x740/0x740 [ 64.662652][ T7030] sock_sendmsg+0xcf/0x120 [ 64.667730][ T7030] ____sys_sendmsg+0x6e6/0x810 [ 64.672581][ T7030] ? kernel_sendmsg+0x50/0x50 [ 64.677289][ T7030] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 64.683392][ T7030] ? lock_downgrade+0x840/0x840 [ 64.688391][ T7030] ___sys_sendmsg+0x100/0x170 [ 64.693108][ T7030] ? sendmsg_copy_msghdr+0x70/0x70 [ 64.698361][ T7030] ? debug_object_active_state+0x294/0x360 [ 64.704168][ T7030] ? lock_downgrade+0x840/0x840 [ 64.709013][ T7030] ? _raw_spin_unlock_irqrestore+0x62/0xe0 [ 64.714889][ T7030] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 64.720876][ T7030] ? _raw_spin_unlock_irqrestore+0x9b/0xe0 [ 64.726792][ T7030] ? debug_object_active_state+0x294/0x360 [ 64.732597][ T7030] ? check_preemption_disabled+0x38/0x220 [ 64.738665][ T7030] ? __fget_light+0x1a3/0x280 [ 64.743612][ T7030] ? sockfd_lookup_light+0xc6/0x170 [ 64.749011][ T7030] __sys_sendmsg+0xe5/0x1b0 [ 64.753714][ T7030] ? __sys_sendmsg_sock+0xb0/0xb0 [ 64.758870][ T7030] ? check_preemption_disabled+0x38/0x220 [ 64.764703][ T7030] ? do_syscall_64+0x1c/0xe0 [ 64.769293][ T7030] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 64.775401][ T7030] do_syscall_64+0x60/0xe0 [ 64.779816][ T7030] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 64.785707][ T7030] RIP: 0033:0x4452c9 [ 64.789736][ T7030] Code: Bad RIP value. [ 64.794265][ T7030] RSP: 002b:00007ffd2abff858 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 64.802876][ T7030] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004452c9 [ 64.811012][ T7030] RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 [ 64.819113][ T7030] RBP: 000000000000f7f6 R08: 0000000000000000 R09: 00000000004002e0 [ 64.827203][ T7030] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402460 [ 64.835219][ T7030] R13: 00000000004024f0 R14: 0000000000000000 R15: 0000000000000000 [ 64.844684][ T7030] Kernel Offset: disabled [ 64.849076][ T7030] Rebooting in 86400 seconds..