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 syzkaller login: [ 56.568336][ T6892] ================================================================== [ 56.576632][ T6892] BUG: KASAN: use-after-free in strnlen+0x64/0x70 [ 56.583056][ T6892] Read of size 1 at addr ffff888093bedc18 by task syz-executor980/6892 [ 56.591310][ T6892] [ 56.593636][ T6892] CPU: 0 PID: 6892 Comm: syz-executor980 Not tainted 5.8.0-rc3-syzkaller #0 [ 56.602323][ T6892] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 56.612366][ T6892] Call Trace: [ 56.615659][ T6892] dump_stack+0x18f/0x20d [ 56.619989][ T6892] ? strnlen+0x64/0x70 [ 56.624044][ T6892] ? strnlen+0x64/0x70 [ 56.628110][ T6892] print_address_description.constprop.0.cold+0xae/0x436 [ 56.635124][ T6892] ? lockdep_hardirqs_off+0x66/0xa0 [ 56.640328][ T6892] ? vprintk_func+0x97/0x1a6 [ 56.644902][ T6892] ? strnlen+0x64/0x70 [ 56.649140][ T6892] kasan_report.cold+0x1f/0x37 [ 56.653885][ T6892] ? strnlen+0x64/0x70 [ 56.657934][ T6892] strnlen+0x64/0x70 [ 56.661829][ T6892] netdev_name_node_lookup_rcu+0x22/0x150 [ 56.667807][ T6892] dev_get_by_name+0x7b/0x1e0 [ 56.672491][ T6892] wg_get_device_start+0x2e4/0x3f0 [ 56.677604][ T6892] ? wg_set_device+0x1520/0x1520 [ 56.682632][ T6892] genl_start+0x342/0x6e0 [ 56.686967][ T6892] __netlink_dump_start+0x585/0x900 [ 56.692161][ T6892] ? genl_rcv_msg+0x9e0/0x9e0 [ 56.696819][ T6892] ? wg_get_device_start+0x3f0/0x3f0 [ 56.702102][ T6892] genl_family_rcv_msg_dumpit+0x2ac/0x310 [ 56.707822][ T6892] ? genl_rcv+0x40/0x40 [ 56.711966][ T6892] ? mutex_lock_io_nested+0xf60/0xf60 [ 56.717321][ T6892] ? apparmor_capable+0x1d8/0x460 [ 56.722345][ T6892] ? genl_rcv_msg+0x9e0/0x9e0 [ 56.727006][ T6892] ? genl_unlock+0x20/0x20 [ 56.731419][ T6892] ? genl_parallel_done+0x170/0x170 [ 56.736609][ T6892] ? ns_capable+0xde/0x100 [ 56.741012][ T6892] genl_rcv_msg+0x797/0x9e0 [ 56.745505][ T6892] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 56.752441][ T6892] ? lock_acquire+0x1f1/0xad0 [ 56.757113][ T6892] ? genl_rcv+0x15/0x40 [ 56.761255][ T6892] ? lock_release+0x8d0/0x8d0 [ 56.765921][ T6892] netlink_rcv_skb+0x15a/0x430 [ 56.770675][ T6892] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 56.777599][ T6892] ? netlink_ack+0xa10/0xa10 [ 56.782192][ T6892] genl_rcv+0x24/0x40 [ 56.787231][ T6892] netlink_unicast+0x533/0x7d0 [ 56.791993][ T6892] ? netlink_attachskb+0x810/0x810 [ 56.797107][ T6892] ? _copy_from_iter_full+0x247/0x890 [ 56.802476][ T6892] ? __phys_addr+0x9a/0x110 [ 56.806998][ T6892] ? __phys_addr_symbol+0x2c/0x70 [ 56.812014][ T6892] ? __check_object_size+0x171/0x3e4 [ 56.817301][ T6892] netlink_sendmsg+0x856/0xd90 [ 56.822069][ T6892] ? netlink_unicast+0x7d0/0x7d0 [ 56.827007][ T6892] ? netlink_unicast+0x7d0/0x7d0 [ 56.831929][ T6892] sock_sendmsg+0xcf/0x120 [ 56.836328][ T6892] ____sys_sendmsg+0x6e8/0x810 [ 56.841090][ T6892] ? kernel_sendmsg+0x50/0x50 [ 56.845757][ T6892] ? do_recvmmsg+0x6d0/0x6d0 [ 56.850348][ T6892] ? find_held_lock+0x2d/0x110 [ 56.855369][ T6892] ? debug_object_activate+0x287/0x3e0 [ 56.860821][ T6892] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 56.867851][ T6892] ? lock_downgrade+0x820/0x820 [ 56.872730][ T6892] ___sys_sendmsg+0xf3/0x170 [ 56.877318][ T6892] ? sendmsg_copy_msghdr+0x160/0x160 [ 56.882613][ T6892] ? lock_downgrade+0x820/0x820 [ 56.887445][ T6892] ? _raw_spin_unlock_irqrestore+0x62/0xe0 [ 56.893243][ T6892] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 56.899227][ T6892] ? trace_hardirqs_on+0x5f/0x220 [ 56.904248][ T6892] ? lockdep_hardirqs_on+0x6a/0xe0 [ 56.909360][ T6892] ? _raw_spin_unlock_irqrestore+0x9b/0xe0 [ 56.915168][ T6892] ? debug_object_active_state+0x260/0x350 [ 56.920987][ T6892] ? __fget_light+0x215/0x280 [ 56.925649][ T6892] __sys_sendmsg+0xe5/0x1b0 [ 56.930134][ T6892] ? __sys_sendmsg_sock+0xb0/0xb0 [ 56.935142][ T6892] ? lock_is_held_type+0xb0/0xe0 [ 56.940064][ T6892] ? lock_is_held_type+0xb0/0xe0 [ 56.945014][ T6892] ? do_fast_syscall_32+0x40/0x120 [ 56.950142][ T6892] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 56.956118][ T6892] do_syscall_32_irqs_on+0x3f/0x60 [ 56.961230][ T6892] do_fast_syscall_32+0x7f/0x120 [ 56.966164][ T6892] entry_SYSENTER_compat+0x6d/0x7c [ 56.971257][ T6892] RIP: 0023:0xf7f59569 [ 56.975303][ T6892] Code: Bad RIP value. [ 56.979358][ T6892] RSP: 002b:00000000ff88ea5c EFLAGS: 00000246 ORIG_RAX: 0000000000000172 [ 56.987753][ T6892] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000200 [ 56.995712][ T6892] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00000000ff88eb74 [ 57.003681][ T6892] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 57.011639][ T6892] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 57.020971][ T6892] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 57.029417][ T6892] [ 57.031729][ T6892] Allocated by task 6895: [ 57.036053][ T6892] save_stack+0x1b/0x40 [ 57.040201][ T6892] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 57.045916][ T6892] __alloc_skb+0xae/0x550 [ 57.050238][ T6892] netlink_sendmsg+0x94f/0xd90 [ 57.055000][ T6892] sock_sendmsg+0xcf/0x120 [ 57.059410][ T6892] ____sys_sendmsg+0x6e8/0x810 [ 57.066451][ T6892] ___sys_sendmsg+0xf3/0x170 [ 57.071056][ T6892] __sys_sendmsg+0xe5/0x1b0 [ 57.075568][ T6892] do_syscall_32_irqs_on+0x3f/0x60 [ 57.080788][ T6892] do_fast_syscall_32+0x7f/0x120 [ 57.085774][ T6892] entry_SYSENTER_compat+0x6d/0x7c [ 57.090888][ T6892] [ 57.093201][ T6892] Freed by task 6895: [ 57.097187][ T6892] save_stack+0x1b/0x40 [ 57.101339][ T6892] __kasan_slab_free+0xf5/0x140 [ 57.106175][ T6892] kfree+0x103/0x2c0 [ 57.110066][ T6892] skb_release_data+0x6d9/0x910 [ 57.114900][ T6892] consume_skb+0xc2/0x160 [ 57.119229][ T6892] netlink_unicast+0x53b/0x7d0 [ 57.123983][ T6892] netlink_sendmsg+0x856/0xd90 [ 57.128756][ T6892] sock_sendmsg+0xcf/0x120 [ 57.133155][ T6892] ____sys_sendmsg+0x6e8/0x810 [ 57.137901][ T6892] ___sys_sendmsg+0xf3/0x170 [ 57.142483][ T6892] __sys_sendmsg+0xe5/0x1b0 [ 57.146986][ T6892] do_syscall_32_irqs_on+0x3f/0x60 [ 57.152089][ T6892] do_fast_syscall_32+0x7f/0x120 [ 57.157027][ T6892] entry_SYSENTER_compat+0x6d/0x7c [ 57.162119][ T6892] [ 57.164449][ T6892] The buggy address belongs to the object at ffff888093bedc00 [ 57.164449][ T6892] which belongs to the cache kmalloc-512 of size 512 [ 57.178492][ T6892] The buggy address is located 24 bytes inside of [ 57.178492][ T6892] 512-byte region [ffff888093bedc00, ffff888093bede00) [ 57.191675][ T6892] The buggy address belongs to the page: [ 57.197298][ T6892] page:ffffea00024efb40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 57.206521][ T6892] flags: 0xfffe0000000200(slab) [ 57.211369][ T6892] raw: 00fffe0000000200 ffffea0002544f08 ffffea000284f1c8 ffff8880aa000a80 [ 57.219949][ T6892] raw: 0000000000000000 ffff888093bed000 0000000100000004 0000000000000000 [ 57.228526][ T6892] page dumped because: kasan: bad access detected [ 57.234936][ T6892] [ 57.237247][ T6892] Memory state around the buggy address: [ 57.242864][ T6892] ffff888093bedb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 57.250932][ T6892] ffff888093bedb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 57.258990][ T6892] >ffff888093bedc00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb executing program [ 57.267123][ T6892] ^ [ 57.271963][ T6892] ffff888093bedc80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.280028][ T6892] ffff888093bedd00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.288107][ T6892] ================================================================== [ 57.296187][ T6892] Disabling lock debugging due to kernel taint [ 57.314611][ T6892] Kernel panic - not syncing: panic_on_warn set ... [ 57.321233][ T6892] CPU: 0 PID: 6892 Comm: syz-executor980 Tainted: G B 5.8.0-rc3-syzkaller #0 [ 57.331292][ T6892] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.341350][ T6892] Call Trace: [ 57.344645][ T6892] dump_stack+0x18f/0x20d [ 57.348974][ T6892] ? strnlen+0x30/0x70 [ 57.353037][ T6892] panic+0x2e3/0x75c [ 57.356929][ T6892] ? __warn_printk+0xf3/0xf3 [ 57.361501][ T6892] ? preempt_schedule_common+0x59/0xc0 [ 57.366954][ T6892] ? strnlen+0x64/0x70 [ 57.371010][ T6892] ? preempt_schedule_thunk+0x16/0x18 [ 57.376379][ T6892] ? trace_hardirqs_on+0x55/0x220 [ 57.381388][ T6892] ? strnlen+0x64/0x70 [ 57.385437][ T6892] ? strnlen+0x64/0x70 [ 57.389495][ T6892] end_report+0x4d/0x53 [ 57.393661][ T6892] kasan_report.cold+0xd/0x37 [ 57.398324][ T6892] ? strnlen+0x64/0x70 [ 57.402400][ T6892] strnlen+0x64/0x70 [ 57.406279][ T6892] netdev_name_node_lookup_rcu+0x22/0x150 [ 57.411985][ T6892] dev_get_by_name+0x7b/0x1e0 [ 57.416720][ T6892] wg_get_device_start+0x2e4/0x3f0 [ 57.421824][ T6892] ? wg_set_device+0x1520/0x1520 [ 57.426775][ T6892] genl_start+0x342/0x6e0 [ 57.431107][ T6892] __netlink_dump_start+0x585/0x900 [ 57.436295][ T6892] ? genl_rcv_msg+0x9e0/0x9e0 [ 57.440971][ T6892] ? wg_get_device_start+0x3f0/0x3f0 [ 57.446242][ T6892] genl_family_rcv_msg_dumpit+0x2ac/0x310 [ 57.451978][ T6892] ? genl_rcv+0x40/0x40 [ 57.456122][ T6892] ? mutex_lock_io_nested+0xf60/0xf60 [ 57.461492][ T6892] ? apparmor_capable+0x1d8/0x460 [ 57.466522][ T6892] ? genl_rcv_msg+0x9e0/0x9e0 [ 57.471181][ T6892] ? genl_unlock+0x20/0x20 [ 57.475576][ T6892] ? genl_parallel_done+0x170/0x170 [ 57.480779][ T6892] ? ns_capable+0xde/0x100 [ 57.485211][ T6892] genl_rcv_msg+0x797/0x9e0 [ 57.489743][ T6892] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 57.496682][ T6892] ? lock_acquire+0x1f1/0xad0 [ 57.501374][ T6892] ? genl_rcv+0x15/0x40 [ 57.505524][ T6892] ? lock_release+0x8d0/0x8d0 [ 57.510191][ T6892] netlink_rcv_skb+0x15a/0x430 [ 57.514973][ T6892] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 57.521913][ T6892] ? netlink_ack+0xa10/0xa10 [ 57.526510][ T6892] genl_rcv+0x24/0x40 [ 57.530492][ T6892] netlink_unicast+0x533/0x7d0 [ 57.535261][ T6892] ? netlink_attachskb+0x810/0x810 [ 57.540355][ T6892] ? _copy_from_iter_full+0x247/0x890 [ 57.545714][ T6892] ? __phys_addr+0x9a/0x110 [ 57.550202][ T6892] ? __phys_addr_symbol+0x2c/0x70 [ 57.555208][ T6892] ? __check_object_size+0x171/0x3e4 [ 57.560476][ T6892] netlink_sendmsg+0x856/0xd90 [ 57.565224][ T6892] ? netlink_unicast+0x7d0/0x7d0 [ 57.570146][ T6892] ? netlink_unicast+0x7d0/0x7d0 [ 57.575070][ T6892] sock_sendmsg+0xcf/0x120 [ 57.579489][ T6892] ____sys_sendmsg+0x6e8/0x810 [ 57.584239][ T6892] ? kernel_sendmsg+0x50/0x50 [ 57.588903][ T6892] ? do_recvmmsg+0x6d0/0x6d0 [ 57.593532][ T6892] ? find_held_lock+0x2d/0x110 [ 57.598333][ T6892] ? debug_object_activate+0x287/0x3e0 [ 57.603828][ T6892] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 57.609858][ T6892] ? lock_downgrade+0x820/0x820 [ 57.614707][ T6892] ___sys_sendmsg+0xf3/0x170 [ 57.619321][ T6892] ? sendmsg_copy_msghdr+0x160/0x160 [ 57.624648][ T6892] ? lock_downgrade+0x820/0x820 [ 57.629495][ T6892] ? _raw_spin_unlock_irqrestore+0x62/0xe0 [ 57.635330][ T6892] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 57.641296][ T6892] ? trace_hardirqs_on+0x5f/0x220 [ 57.646494][ T6892] ? lockdep_hardirqs_on+0x6a/0xe0 [ 57.651612][ T6892] ? _raw_spin_unlock_irqrestore+0x9b/0xe0 [ 57.657433][ T6892] ? debug_object_active_state+0x260/0x350 [ 57.663223][ T6892] ? __fget_light+0x215/0x280 [ 57.667913][ T6892] __sys_sendmsg+0xe5/0x1b0 [ 57.672411][ T6892] ? __sys_sendmsg_sock+0xb0/0xb0 [ 57.677432][ T6892] ? lock_is_held_type+0xb0/0xe0 [ 57.682359][ T6892] ? lock_is_held_type+0xb0/0xe0 [ 57.687303][ T6892] ? do_fast_syscall_32+0x40/0x120 [ 57.693285][ T6892] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 57.699247][ T6892] do_syscall_32_irqs_on+0x3f/0x60 [ 57.704339][ T6892] do_fast_syscall_32+0x7f/0x120 [ 57.709260][ T6892] entry_SYSENTER_compat+0x6d/0x7c [ 57.714353][ T6892] RIP: 0023:0xf7f59569 [ 57.718392][ T6892] Code: Bad RIP value. [ 57.722471][ T6892] RSP: 002b:00000000ff88ea5c EFLAGS: 00000246 ORIG_RAX: 0000000000000172 [ 57.730877][ T6892] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000200 [ 57.738851][ T6892] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00000000ff88eb74 [ 57.746804][ T6892] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 57.754770][ T6892] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 57.762914][ T6892] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 57.771900][ T6892] Kernel Offset: disabled [ 57.776232][ T6892] Rebooting in 86400 seconds..