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.177' (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 syzkaller login: [ 57.557362][ T6998] ================================================================== [ 57.565618][ T6998] BUG: KASAN: use-after-free in strnlen+0x64/0x70 [ 57.572047][ T6998] Read of size 1 at addr ffff8880a967e818 by task syz-executor314/6998 [ 57.580273][ T6998] [ 57.582602][ T6998] CPU: 0 PID: 6998 Comm: syz-executor314 Not tainted 5.8.0-rc2-syzkaller #0 [ 57.591259][ T6998] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.601286][ T6998] Call Trace: [ 57.604556][ T6998] dump_stack+0x18f/0x20d [ 57.608863][ T6998] ? strnlen+0x64/0x70 [ 57.612907][ T6998] ? strnlen+0x64/0x70 [ 57.616959][ T6998] print_address_description.constprop.0.cold+0xae/0x436 [ 57.623968][ T6998] ? lock_acquire+0x1f1/0xad0 [ 57.628634][ T6998] ? vprintk_func+0x97/0x1a6 [ 57.633216][ T6998] ? strnlen+0x64/0x70 [ 57.637275][ T6998] kasan_report.cold+0x1f/0x37 [ 57.642017][ T6998] ? strnlen+0x64/0x70 [ 57.646064][ T6998] strnlen+0x64/0x70 [ 57.649952][ T6998] netdev_name_node_lookup_rcu+0x22/0x150 [ 57.655669][ T6998] dev_get_by_name+0x7b/0x1e0 [ 57.660335][ T6998] wg_get_device_start+0x2e4/0x3f0 [ 57.665432][ T6998] ? wg_set_device+0x1520/0x1520 [ 57.670369][ T6998] genl_start+0x342/0x6e0 [ 57.674696][ T6998] __netlink_dump_start+0x585/0x900 [ 57.679874][ T6998] ? genl_rcv_msg+0x9e0/0x9e0 [ 57.684539][ T6998] ? wg_get_device_start+0x3f0/0x3f0 [ 57.689813][ T6998] genl_family_rcv_msg_dumpit+0x2ac/0x310 [ 57.695533][ T6998] ? genl_rcv+0x40/0x40 [ 57.699668][ T6998] ? mutex_lock_io_nested+0xf60/0xf60 [ 57.705025][ T6998] ? apparmor_capable+0x1d8/0x460 [ 57.710043][ T6998] ? genl_rcv_msg+0x9e0/0x9e0 [ 57.714759][ T6998] ? genl_unlock+0x20/0x20 [ 57.719178][ T6998] ? genl_parallel_done+0x170/0x170 [ 57.724370][ T6998] ? ns_capable+0xde/0x100 [ 57.728769][ T6998] genl_rcv_msg+0x797/0x9e0 [ 57.733274][ T6998] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 57.740199][ T6998] ? lock_acquire+0x1f1/0xad0 [ 57.744855][ T6998] ? genl_rcv+0x15/0x40 [ 57.748992][ T6998] ? lock_release+0x8d0/0x8d0 [ 57.753651][ T6998] netlink_rcv_skb+0x15a/0x430 [ 57.758395][ T6998] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 57.765318][ T6998] ? netlink_ack+0xa10/0xa10 [ 57.769895][ T6998] genl_rcv+0x24/0x40 [ 57.773854][ T6998] netlink_unicast+0x533/0x7d0 [ 57.778598][ T6998] ? netlink_attachskb+0x810/0x810 [ 57.783691][ T6998] ? _copy_from_iter_full+0x247/0x890 [ 57.789051][ T6998] ? __phys_addr+0x9a/0x110 [ 57.793548][ T6998] ? __phys_addr_symbol+0x2c/0x70 [ 57.798546][ T6998] ? __check_object_size+0x171/0x3e4 [ 57.803811][ T6998] netlink_sendmsg+0x856/0xd90 [ 57.808556][ T6998] ? netlink_unicast+0x7d0/0x7d0 [ 57.813479][ T6998] ? netlink_unicast+0x7d0/0x7d0 [ 57.818502][ T6998] sock_sendmsg+0xcf/0x120 [ 57.822899][ T6998] ____sys_sendmsg+0x6e8/0x810 [ 57.827642][ T6998] ? kernel_sendmsg+0x50/0x50 [ 57.832302][ T6998] ? do_recvmmsg+0x6d0/0x6d0 [ 57.836886][ T6998] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 57.842841][ T6998] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 57.848838][ T6998] ? lock_downgrade+0x820/0x820 [ 57.853684][ T6998] ___sys_sendmsg+0xf3/0x170 [ 57.858254][ T6998] ? sendmsg_copy_msghdr+0x160/0x160 [ 57.863516][ T6998] ? __fget_files+0x272/0x400 [ 57.868183][ T6998] ? lock_downgrade+0x820/0x820 [ 57.873077][ T6998] ? lock_downgrade+0x820/0x820 [ 57.877928][ T6998] ? check_preemption_disabled+0x38/0x220 [ 57.883635][ T6998] ? __fget_files+0x294/0x400 [ 57.888308][ T6998] ? __fget_light+0xea/0x280 [ 57.892890][ T6998] __sys_sendmsg+0xe5/0x1b0 [ 57.897370][ T6998] ? __sys_sendmsg_sock+0xb0/0xb0 [ 57.902368][ T6998] ? __x64_sys_futex+0x382/0x4e0 [ 57.907290][ T6998] ? check_preemption_disabled+0x38/0x220 [ 57.913001][ T6998] ? do_syscall_64+0x1c/0xe0 [ 57.917567][ T6998] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 57.923523][ T6998] do_syscall_64+0x60/0xe0 [ 57.927918][ T6998] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 57.933784][ T6998] RIP: 0033:0x44a779 [ 57.937656][ T6998] Code: Bad RIP value. [ 57.941705][ T6998] RSP: 002b:00007f3ee5488da8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 57.950100][ T6998] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 000000000044a779 [ 57.958047][ T6998] RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 [ 57.965995][ T6998] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 57.973943][ T6998] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 57.981890][ T6998] R13: 0000000000000000 R14: 0000000000316777 R15: 000000000000002d [ 57.989846][ T6998] [ 57.992152][ T6998] Allocated by task 6997: [ 57.996461][ T6998] save_stack+0x1b/0x40 [ 58.000591][ T6998] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 58.006195][ T6998] __alloc_skb+0xae/0x550 [ 58.010502][ T6998] netlink_sendmsg+0x94f/0xd90 [ 58.015244][ T6998] sock_sendmsg+0xcf/0x120 [ 58.019635][ T6998] ____sys_sendmsg+0x6e8/0x810 [ 58.024396][ T6998] ___sys_sendmsg+0xf3/0x170 [ 58.028960][ T6998] __sys_sendmsg+0xe5/0x1b0 [ 58.033463][ T6998] do_syscall_64+0x60/0xe0 [ 58.037856][ T6998] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 58.043715][ T6998] [ 58.046019][ T6998] Freed by task 6997: [ 58.049986][ T6998] save_stack+0x1b/0x40 [ 58.054132][ T6998] __kasan_slab_free+0xf5/0x140 [ 58.058956][ T6998] kfree+0x103/0x2c0 [ 58.062831][ T6998] skb_release_data+0x6d9/0x910 [ 58.067670][ T6998] consume_skb+0xc2/0x160 [ 58.072012][ T6998] netlink_unicast+0x53b/0x7d0 [ 58.076750][ T6998] netlink_sendmsg+0x856/0xd90 [ 58.081486][ T6998] sock_sendmsg+0xcf/0x120 [ 58.085876][ T6998] ____sys_sendmsg+0x6e8/0x810 [ 58.090613][ T6998] ___sys_sendmsg+0xf3/0x170 [ 58.095178][ T6998] __sys_sendmsg+0xe5/0x1b0 [ 58.099655][ T6998] do_syscall_64+0x60/0xe0 [ 58.104047][ T6998] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 58.109909][ T6998] [ 58.112217][ T6998] The buggy address belongs to the object at ffff8880a967e800 [ 58.112217][ T6998] which belongs to the cache kmalloc-512 of size 512 [ 58.126242][ T6998] The buggy address is located 24 bytes inside of [ 58.126242][ T6998] 512-byte region [ffff8880a967e800, ffff8880a967ea00) [ 58.139406][ T6998] The buggy address belongs to the page: [ 58.145037][ T6998] page:ffffea0002a59f80 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff8880a967e000 [ 58.155439][ T6998] flags: 0xfffe0000000200(slab) [ 58.160278][ T6998] raw: 00fffe0000000200 ffffea00023eb048 ffff8880aa001740 ffff8880aa000a80 [ 58.168837][ T6998] raw: ffff8880a967e000 ffff8880a967e000 0000000100000002 0000000000000000 [ 58.177393][ T6998] page dumped because: kasan: bad access detected [ 58.183779][ T6998] [ 58.186081][ T6998] Memory state around the buggy address: [ 58.191687][ T6998] ffff8880a967e700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 58.199727][ T6998] ffff8880a967e780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 58.207791][ T6998] >ffff8880a967e800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.215821][ T6998] ^ [ 58.220646][ T6998] ffff8880a967e880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.228681][ T6998] ffff8880a967e900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.236713][ T6998] ================================================================== [ 58.244746][ T6998] Disabling lock debugging due to kernel taint [ 58.260813][ T6998] Kernel panic - not syncing: panic_on_warn set ... [ 58.267383][ T6998] CPU: 0 PID: 6998 Comm: syz-executor314 Tainted: G B 5.8.0-rc2-syzkaller #0 [ 58.277425][ T6998] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.287465][ T6998] Call Trace: [ 58.290751][ T6998] dump_stack+0x18f/0x20d [ 58.295080][ T6998] ? strlen+0x20/0x90 [ 58.299057][ T6998] panic+0x2e3/0x75c [ 58.302976][ T6998] ? __warn_printk+0xf3/0xf3 [ 58.307676][ T6998] ? preempt_schedule_common+0x59/0xc0 [ 58.313147][ T6998] ? strnlen+0x64/0x70 [ 58.317201][ T6998] ? preempt_schedule_thunk+0x16/0x18 [ 58.322557][ T6998] ? trace_hardirqs_on+0x55/0x220 [ 58.327559][ T6998] ? strnlen+0x64/0x70 [ 58.331613][ T6998] ? strnlen+0x64/0x70 [ 58.335663][ T6998] end_report+0x4d/0x53 [ 58.339792][ T6998] kasan_report.cold+0xd/0x37 [ 58.344442][ T6998] ? strnlen+0x64/0x70 [ 58.348483][ T6998] strnlen+0x64/0x70 [ 58.352356][ T6998] netdev_name_node_lookup_rcu+0x22/0x150 [ 58.358057][ T6998] dev_get_by_name+0x7b/0x1e0 [ 58.362710][ T6998] wg_get_device_start+0x2e4/0x3f0 [ 58.367796][ T6998] ? wg_set_device+0x1520/0x1520 [ 58.372705][ T6998] genl_start+0x342/0x6e0 [ 58.377065][ T6998] __netlink_dump_start+0x585/0x900 [ 58.382248][ T6998] ? genl_rcv_msg+0x9e0/0x9e0 [ 58.386991][ T6998] ? wg_get_device_start+0x3f0/0x3f0 [ 58.392248][ T6998] genl_family_rcv_msg_dumpit+0x2ac/0x310 [ 58.397940][ T6998] ? genl_rcv+0x40/0x40 [ 58.402081][ T6998] ? mutex_lock_io_nested+0xf60/0xf60 [ 58.407436][ T6998] ? apparmor_capable+0x1d8/0x460 [ 58.412485][ T6998] ? genl_rcv_msg+0x9e0/0x9e0 [ 58.417172][ T6998] ? genl_unlock+0x20/0x20 [ 58.421559][ T6998] ? genl_parallel_done+0x170/0x170 [ 58.426728][ T6998] ? ns_capable+0xde/0x100 [ 58.431118][ T6998] genl_rcv_msg+0x797/0x9e0 [ 58.435598][ T6998] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 58.442505][ T6998] ? lock_acquire+0x1f1/0xad0 [ 58.447165][ T6998] ? genl_rcv+0x15/0x40 [ 58.451301][ T6998] ? lock_release+0x8d0/0x8d0 [ 58.455986][ T6998] netlink_rcv_skb+0x15a/0x430 [ 58.460728][ T6998] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 58.467633][ T6998] ? netlink_ack+0xa10/0xa10 [ 58.472198][ T6998] genl_rcv+0x24/0x40 [ 58.476151][ T6998] netlink_unicast+0x533/0x7d0 [ 58.480888][ T6998] ? netlink_attachskb+0x810/0x810 [ 58.485970][ T6998] ? _copy_from_iter_full+0x247/0x890 [ 58.491327][ T6998] ? __phys_addr+0x9a/0x110 [ 58.495799][ T6998] ? __phys_addr_symbol+0x2c/0x70 [ 58.500793][ T6998] ? __check_object_size+0x171/0x3e4 [ 58.506087][ T6998] netlink_sendmsg+0x856/0xd90 [ 58.510825][ T6998] ? netlink_unicast+0x7d0/0x7d0 [ 58.515736][ T6998] ? netlink_unicast+0x7d0/0x7d0 [ 58.520646][ T6998] sock_sendmsg+0xcf/0x120 [ 58.525037][ T6998] ____sys_sendmsg+0x6e8/0x810 [ 58.529792][ T6998] ? kernel_sendmsg+0x50/0x50 [ 58.534441][ T6998] ? do_recvmmsg+0x6d0/0x6d0 [ 58.539019][ T6998] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 58.544977][ T6998] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 58.550942][ T6998] ? lock_downgrade+0x820/0x820 [ 58.555781][ T6998] ___sys_sendmsg+0xf3/0x170 [ 58.560344][ T6998] ? sendmsg_copy_msghdr+0x160/0x160 [ 58.565602][ T6998] ? __fget_files+0x272/0x400 [ 58.570252][ T6998] ? lock_downgrade+0x820/0x820 [ 58.575073][ T6998] ? lock_downgrade+0x820/0x820 [ 58.579907][ T6998] ? check_preemption_disabled+0x38/0x220 [ 58.585608][ T6998] ? __fget_files+0x294/0x400 [ 58.590261][ T6998] ? __fget_light+0xea/0x280 [ 58.594828][ T6998] __sys_sendmsg+0xe5/0x1b0 [ 58.599305][ T6998] ? __sys_sendmsg_sock+0xb0/0xb0 [ 58.604302][ T6998] ? __x64_sys_futex+0x382/0x4e0 [ 58.609220][ T6998] ? check_preemption_disabled+0x38/0x220 [ 58.614934][ T6998] ? do_syscall_64+0x1c/0xe0 [ 58.619506][ T6998] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 58.625475][ T6998] do_syscall_64+0x60/0xe0 [ 58.629889][ T6998] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 58.635760][ T6998] RIP: 0033:0x44a779 [ 58.639626][ T6998] Code: Bad RIP value. [ 58.643677][ T6998] RSP: 002b:00007f3ee5488da8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 58.652057][ T6998] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 000000000044a779 [ 58.660011][ T6998] RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 [ 58.667962][ T6998] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 58.675918][ T6998] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 58.683864][ T6998] R13: 0000000000000000 R14: 0000000000316777 R15: 000000000000002d [ 58.692406][ T6998] Kernel Offset: disabled [ 58.696720][ T6998] Rebooting in 86400 seconds..