[ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Load/Save RF Kill Switch Status. [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.42' (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 syzkaller login: [ 54.661456][ T6859] ================================================================== [ 54.669862][ T6859] BUG: KASAN: use-after-free in strnlen+0x63/0x80 [ 54.676421][ T6859] Read of size 1 at addr ffff88809e252018 by task syz-executor417/6859 [ 54.684853][ T6859] [ 54.687170][ T6859] CPU: 1 PID: 6859 Comm: syz-executor417 Not tainted 5.8.0-rc3-syzkaller #0 [ 54.695836][ T6859] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 54.705889][ T6859] Call Trace: [ 54.709169][ T6859] dump_stack+0x1f0/0x31e [ 54.713484][ T6859] print_address_description+0x66/0x5a0 [ 54.719004][ T6859] ? vprintk_emit+0x342/0x3c0 [ 54.723674][ T6859] ? printk+0x62/0x83 [ 54.727632][ T6859] ? vprintk_emit+0x339/0x3c0 [ 54.732303][ T6859] kasan_report+0x132/0x1d0 [ 54.736802][ T6859] ? strnlen+0x63/0x80 [ 54.740852][ T6859] strnlen+0x63/0x80 [ 54.744726][ T6859] dev_get_by_name+0x9b/0x2a0 [ 54.749398][ T6859] wg_get_device_start+0x1fb/0x2d0 [ 54.754490][ T6859] genl_start+0x390/0x570 [ 54.758820][ T6859] __netlink_dump_start+0x3d2/0x700 [ 54.764035][ T6859] genl_rcv_msg+0xb03/0xe00 [ 54.768544][ T6859] ? genl_rcv_msg+0xe00/0xe00 [ 54.773312][ T6859] ? genl_start+0x570/0x570 [ 54.777807][ T6859] ? genl_lock_dumpit+0xa0/0xa0 [ 54.782645][ T6859] netlink_rcv_skb+0x190/0x3a0 [ 54.787491][ T6859] ? genl_unbind+0x270/0x270 [ 54.792143][ T6859] genl_rcv+0x24/0x40 [ 54.796137][ T6859] netlink_unicast+0x786/0x940 [ 54.800987][ T6859] netlink_sendmsg+0xa57/0xd70 [ 54.805736][ T6859] ? netlink_getsockopt+0x9e0/0x9e0 [ 54.811010][ T6859] ____sys_sendmsg+0x519/0x800 [ 54.815770][ T6859] ? import_iovec+0x12a/0x2c0 [ 54.820456][ T6859] __sys_sendmsg+0x2b1/0x360 [ 54.825028][ T6859] ? do_raw_spin_unlock+0x134/0x8d0 [ 54.830234][ T6859] ? lock_is_held_type+0x87/0xe0 [ 54.835161][ T6859] ? lock_is_held_type+0x87/0xe0 [ 54.840076][ T6859] ? rcu_read_lock_sched_held+0x2f/0xa0 [ 54.845832][ T6859] ? lock_is_held_type+0x87/0xe0 [ 54.850881][ T6859] ? entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 54.856942][ T6859] do_syscall_64+0x73/0xe0 [ 54.861352][ T6859] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 54.867399][ T6859] RIP: 0033:0x445299 [ 54.871269][ T6859] Code: Bad RIP value. [ 54.875313][ T6859] RSP: 002b:00007ffd20eefea8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 54.883713][ T6859] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000445299 [ 54.891691][ T6859] RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 [ 54.900005][ T6859] RBP: 000000000000d570 R08: 0000000000000000 R09: 00000000004002e0 [ 54.908114][ T6859] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402430 [ 54.916187][ T6859] R13: 00000000004024c0 R14: 0000000000000000 R15: 0000000000000000 [ 54.924288][ T6859] [ 54.926691][ T6859] Allocated by task 6861: [ 54.931189][ T6859] __kasan_kmalloc+0x103/0x140 [ 54.935945][ T6859] __alloc_skb+0xde/0x4f0 [ 54.940253][ T6859] netlink_sendmsg+0x7b2/0xd70 [ 54.944994][ T6859] ____sys_sendmsg+0x519/0x800 [ 54.949824][ T6859] __sys_sendmsg+0x2b1/0x360 [ 54.954429][ T6859] do_syscall_64+0x73/0xe0 [ 54.958847][ T6859] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 54.964719][ T6859] [ 54.967027][ T6859] Freed by task 6861: [ 54.971109][ T6859] __kasan_slab_free+0x114/0x170 [ 54.976080][ T6859] kfree+0x10a/0x220 [ 54.979967][ T6859] __kfree_skb+0x56/0x1c0 [ 54.984737][ T6859] netlink_unicast+0x78e/0x940 [ 54.989664][ T6859] netlink_sendmsg+0xa57/0xd70 [ 54.994434][ T6859] ____sys_sendmsg+0x519/0x800 [ 54.999177][ T6859] __sys_sendmsg+0x2b1/0x360 [ 55.003927][ T6859] do_syscall_64+0x73/0xe0 [ 55.008343][ T6859] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 55.014269][ T6859] [ 55.016591][ T6859] The buggy address belongs to the object at ffff88809e252000 [ 55.016591][ T6859] which belongs to the cache kmalloc-512 of size 512 [ 55.030883][ T6859] The buggy address is located 24 bytes inside of [ 55.030883][ T6859] 512-byte region [ffff88809e252000, ffff88809e252200) [ 55.044131][ T6859] The buggy address belongs to the page: [ 55.049909][ T6859] page:ffffea0002789480 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88809e252400 [ 55.061144][ T6859] flags: 0xfffe0000000200(slab) [ 55.065989][ T6859] raw: 00fffe0000000200 ffffea00027829c8 ffff8880aa401740 ffff8880aa400a80 [ 55.075273][ T6859] raw: ffff88809e252400 ffff88809e252000 0000000100000003 0000000000000000 [ 55.083936][ T6859] page dumped because: kasan: bad access detected [ 55.090326][ T6859] [ 55.092641][ T6859] Memory state around the buggy address: [ 55.098341][ T6859] ffff88809e251f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc executing program [ 55.106776][ T6859] ffff88809e251f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 55.117518][ T6859] >ffff88809e252000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 55.125818][ T6859] ^ [ 55.130648][ T6859] ffff88809e252080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 55.138687][ T6859] ffff88809e252100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 55.146751][ T6859] ================================================================== [ 55.154786][ T6859] Disabling lock debugging due to kernel taint executing program [ 55.161858][ T6859] Kernel panic - not syncing: panic_on_warn set ... [ 55.168883][ T6859] CPU: 1 PID: 6859 Comm: syz-executor417 Tainted: G B 5.8.0-rc3-syzkaller #0 [ 55.179030][ T6859] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 55.189081][ T6859] Call Trace: [ 55.192366][ T6859] dump_stack+0x1f0/0x31e [ 55.196677][ T6859] panic+0x264/0x7a0 [ 55.200575][ T6859] ? trace_hardirqs_on+0x30/0x80 [ 55.205490][ T6859] kasan_report+0x1c9/0x1d0 [ 55.210093][ T6859] ? strnlen+0x63/0x80 [ 55.214233][ T6859] strnlen+0x63/0x80 [ 55.218130][ T6859] dev_get_by_name+0x9b/0x2a0 [ 55.222807][ T6859] wg_get_device_start+0x1fb/0x2d0 [ 55.227905][ T6859] genl_start+0x390/0x570 [ 55.232222][ T6859] __netlink_dump_start+0x3d2/0x700 [ 55.237403][ T6859] genl_rcv_msg+0xb03/0xe00 [ 55.241879][ T6859] ? genl_rcv_msg+0xe00/0xe00 [ 55.246628][ T6859] ? genl_start+0x570/0x570 [ 55.251104][ T6859] ? genl_lock_dumpit+0xa0/0xa0 [ 55.255930][ T6859] netlink_rcv_skb+0x190/0x3a0 [ 55.260668][ T6859] ? genl_unbind+0x270/0x270 [ 55.265242][ T6859] genl_rcv+0x24/0x40 [ 55.269206][ T6859] netlink_unicast+0x786/0x940 [ 55.274031][ T6859] netlink_sendmsg+0xa57/0xd70 [ 55.278788][ T6859] ? netlink_getsockopt+0x9e0/0x9e0 [ 55.283961][ T6859] ____sys_sendmsg+0x519/0x800 [ 55.288700][ T6859] ? import_iovec+0x12a/0x2c0 [ 55.293465][ T6859] __sys_sendmsg+0x2b1/0x360 [ 55.298040][ T6859] ? do_raw_spin_unlock+0x134/0x8d0 [ 55.303253][ T6859] ? lock_is_held_type+0x87/0xe0 [ 55.308165][ T6859] ? lock_is_held_type+0x87/0xe0 [ 55.313212][ T6859] ? rcu_read_lock_sched_held+0x2f/0xa0 [ 55.318942][ T6859] ? lock_is_held_type+0x87/0xe0 [ 55.324994][ T6859] ? entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 55.331128][ T6859] do_syscall_64+0x73/0xe0 [ 55.336418][ T6859] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 55.342363][ T6859] RIP: 0033:0x445299 [ 55.346334][ T6859] Code: Bad RIP value. [ 55.350472][ T6859] RSP: 002b:00007ffd20eefea8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 55.358856][ T6859] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000445299 [ 55.367084][ T6859] RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 [ 55.375307][ T6859] RBP: 000000000000d570 R08: 0000000000000000 R09: 00000000004002e0 [ 55.383257][ T6859] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402430 [ 55.392014][ T6859] R13: 00000000004024c0 R14: 0000000000000000 R15: 0000000000000000 [ 55.401784][ T6859] Kernel Offset: disabled [ 55.406110][ T6859] Rebooting in 86400 seconds..