[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.26' (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 syzkaller login: [ 534.852478][ T28] audit: type=1400 audit(1593283796.371:8): avc: denied { execmem } for pid=6812 comm="syz-executor821" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 535.125830][ T6893] ================================================================== [ 535.135387][ T6893] BUG: KASAN: use-after-free in strnlen+0x64/0x70 [ 535.143566][ T6893] Read of size 1 at addr ffff8880933b8c18 by task syz-executor821/6893 [ 535.151917][ T6893] [ 535.154335][ T6893] CPU: 0 PID: 6893 Comm: syz-executor821 Not tainted 5.8.0-rc2-syzkaller #0 [ 535.163385][ T6893] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 535.173508][ T6893] Call Trace: [ 535.176803][ T6893] dump_stack+0x18f/0x20d [ 535.181143][ T6893] ? strnlen+0x64/0x70 [ 535.185218][ T6893] ? strnlen+0x64/0x70 [ 535.189398][ T6893] print_address_description.constprop.0.cold+0xae/0x436 [ 535.196762][ T6893] ? lock_acquire+0x1f1/0xad0 [ 535.201526][ T6893] ? vprintk_func+0x97/0x1a6 [ 535.206131][ T6893] ? strnlen+0x64/0x70 [ 535.210195][ T6893] kasan_report.cold+0x1f/0x37 [ 535.214956][ T6893] ? strnlen+0x64/0x70 [ 535.219985][ T6893] strnlen+0x64/0x70 [ 535.223982][ T6893] netdev_name_node_lookup_rcu+0x22/0x150 [ 535.230499][ T6893] dev_get_by_name+0x7b/0x1e0 [ 535.235246][ T6893] wg_get_device_start+0x2e4/0x3f0 [ 535.240535][ T6893] ? wg_set_device+0x1520/0x1520 [ 535.245548][ T6893] genl_start+0x342/0x6e0 [ 535.249879][ T6893] __netlink_dump_start+0x585/0x900 [ 535.256043][ T6893] ? genl_rcv_msg+0x9e0/0x9e0 [ 535.260815][ T6893] ? wg_get_device_start+0x3f0/0x3f0 [ 535.267008][ T6893] genl_family_rcv_msg_dumpit+0x2ac/0x310 [ 535.272822][ T6893] ? genl_rcv+0x40/0x40 [ 535.277062][ T6893] ? mutex_lock_io_nested+0xf60/0xf60 [ 535.282511][ T6893] ? cap_capable+0x1eb/0x250 [ 535.287118][ T6893] ? genl_rcv_msg+0x9e0/0x9e0 [ 535.291884][ T6893] ? genl_unlock+0x20/0x20 [ 535.296309][ T6893] ? genl_parallel_done+0x170/0x170 [ 535.301615][ T6893] ? ns_capable+0xde/0x100 [ 535.306037][ T6893] genl_rcv_msg+0x797/0x9e0 [ 535.312539][ T6893] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 535.319472][ T6893] ? lock_acquire+0x1f1/0xad0 [ 535.324143][ T6893] ? genl_rcv+0x15/0x40 [ 535.329175][ T6893] ? lock_release+0x8d0/0x8d0 [ 535.333849][ T6893] netlink_rcv_skb+0x15a/0x430 [ 535.338641][ T6893] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 535.346469][ T6893] ? netlink_ack+0xa10/0xa10 [ 535.351153][ T6893] genl_rcv+0x24/0x40 [ 535.355148][ T6893] netlink_unicast+0x533/0x7d0 [ 535.360028][ T6893] ? netlink_attachskb+0x810/0x810 [ 535.365248][ T6893] ? _copy_from_iter_full+0x247/0x890 [ 535.370756][ T6893] netlink_sendmsg+0x856/0xd90 [ 535.376680][ T6893] ? netlink_unicast+0x7d0/0x7d0 [ 535.381629][ T6893] ? netlink_unicast+0x7d0/0x7d0 [ 535.386644][ T6893] sock_sendmsg+0xcf/0x120 [ 535.391061][ T6893] ____sys_sendmsg+0x6e8/0x810 [ 535.395821][ T6893] ? kernel_sendmsg+0x50/0x50 [ 535.401475][ T6893] ? do_recvmmsg+0x6d0/0x6d0 [ 535.406055][ T6893] ? find_held_lock+0x2d/0x110 [ 535.410922][ T6893] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 535.416909][ T6893] ? lock_downgrade+0x820/0x820 [ 535.421907][ T6893] ___sys_sendmsg+0xf3/0x170 [ 535.426525][ T6893] ? sendmsg_copy_msghdr+0x160/0x160 [ 535.431927][ T6893] ? debug_object_active_state+0x260/0x350 [ 535.437766][ T6893] ? lock_downgrade+0x820/0x820 [ 535.442613][ T6893] ? _raw_spin_unlock_irqrestore+0x62/0xe0 [ 535.448407][ T6893] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 535.454408][ T6893] ? _raw_spin_unlock_irqrestore+0x9b/0xe0 [ 535.460197][ T6893] ? debug_object_active_state+0x260/0x350 [ 535.466197][ T6893] ? trace_hardirqs_off+0x27/0x210 [ 535.471338][ T6893] ? __fget_light+0x215/0x280 [ 535.476010][ T6893] __sys_sendmsg+0xe5/0x1b0 [ 535.480621][ T6893] ? __sys_sendmsg_sock+0xb0/0xb0 [ 535.485763][ T6893] ? check_preemption_disabled+0x38/0x220 [ 535.491584][ T6893] ? do_syscall_64+0x1c/0xe0 [ 535.496163][ T6893] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 535.502219][ T6893] do_syscall_64+0x60/0xe0 [ 535.506884][ T6893] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 535.512774][ T6893] RIP: 0033:0x445299 [ 535.516733][ T6893] Code: Bad RIP value. [ 535.522061][ T6893] RSP: 002b:00007ffd1e794308 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 535.530840][ T6893] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000445299 [ 535.539088][ T6893] RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 [ 535.547047][ T6893] RBP: 0000000000082a5d R08: 0000000000000000 R09: 00000000004002e0 [ 535.555192][ T6893] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402430 [ 535.563164][ T6893] R13: 00000000004024c0 R14: 0000000000000000 R15: 0000000000000000 [ 535.571143][ T6893] [ 535.573519][ T6893] Allocated by task 6894: [ 535.578069][ T6893] save_stack+0x1b/0x40 [ 535.583323][ T6893] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 535.588955][ T6893] __alloc_skb+0xae/0x550 [ 535.593277][ T6893] netlink_sendmsg+0x94f/0xd90 [ 535.598030][ T6893] sock_sendmsg+0xcf/0x120 [ 535.602464][ T6893] ____sys_sendmsg+0x6e8/0x810 [ 535.607220][ T6893] ___sys_sendmsg+0xf3/0x170 [ 535.611808][ T6893] __sys_sendmsg+0xe5/0x1b0 [ 535.616303][ T6893] do_syscall_64+0x60/0xe0 [ 535.620916][ T6893] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 535.626886][ T6893] [ 535.629202][ T6893] Freed by task 6894: [ 535.634450][ T6893] save_stack+0x1b/0x40 [ 535.638608][ T6893] __kasan_slab_free+0xf5/0x140 [ 535.643449][ T6893] kfree+0x103/0x2c0 [ 535.647473][ T6893] skb_release_data+0x6d9/0x910 [ 535.652458][ T6893] consume_skb+0xc2/0x160 [ 535.657154][ T6893] netlink_unicast+0x53b/0x7d0 [ 535.661922][ T6893] netlink_sendmsg+0x856/0xd90 [ 535.666675][ T6893] sock_sendmsg+0xcf/0x120 [ 535.671100][ T6893] ____sys_sendmsg+0x6e8/0x810 [ 535.675850][ T6893] ___sys_sendmsg+0xf3/0x170 [ 535.680422][ T6893] __sys_sendmsg+0xe5/0x1b0 [ 535.684907][ T6893] do_syscall_64+0x60/0xe0 [ 535.689309][ T6893] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 535.695183][ T6893] [ 535.697510][ T6893] The buggy address belongs to the object at ffff8880933b8c00 [ 535.697510][ T6893] which belongs to the cache kmalloc-512 of size 512 [ 535.711801][ T6893] The buggy address is located 24 bytes inside of [ 535.711801][ T6893] 512-byte region [ffff8880933b8c00, ffff8880933b8e00) [ 535.725053][ T6893] The buggy address belongs to the page: [ 535.730761][ T6893] page:ffffea00024cee00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 535.740036][ T6893] flags: 0xfffe0000000200(slab) [ 535.745023][ T6893] raw: 00fffe0000000200 ffffea0002a1da08 ffffea0002763a08 ffff8880aa000a80 [ 535.753734][ T6893] raw: 0000000000000000 ffff8880933b8000 0000000100000004 0000000000000000 [ 535.762386][ T6893] page dumped because: kasan: bad access detected [ 535.768780][ T6893] [ 535.771090][ T6893] Memory state around the buggy address: [ 535.777923][ T6893] ffff8880933b8b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 535.785992][ T6893] ffff8880933b8b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 535.794050][ T6893] >ffff8880933b8c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 535.805832][ T6893] ^ [ 535.810885][ T6893] ffff8880933b8c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 535.818940][ T6893] ffff8880933b8d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 535.827260][ T6893] ================================================================== [ 535.835317][ T6893] Disabling lock debugging due to kernel taint [ 535.851471][ T6893] Kernel panic - not syncing: panic_on_warn set ... [ 535.861042][ T6893] CPU: 0 PID: 6893 Comm: syz-executor821 Tainted: G B 5.8.0-rc2-syzkaller #0 [ 535.871190][ T6893] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 535.881248][ T6893] Call Trace: [ 535.884527][ T6893] dump_stack+0x18f/0x20d [ 535.889109][ T6893] ? strlen+0x20/0x90 [ 535.893137][ T6893] panic+0x2e3/0x75c [ 535.897029][ T6893] ? __warn_printk+0xf3/0xf3 [ 535.901945][ T6893] ? preempt_schedule_common+0x59/0xc0 [ 535.907385][ T6893] ? strnlen+0x64/0x70 [ 535.911513][ T6893] ? preempt_schedule_thunk+0x16/0x18 [ 535.916876][ T6893] ? trace_hardirqs_on+0x55/0x220 [ 535.921894][ T6893] ? strnlen+0x64/0x70 [ 535.925942][ T6893] ? strnlen+0x64/0x70 [ 535.929996][ T6893] end_report+0x4d/0x53 [ 535.934132][ T6893] kasan_report.cold+0xd/0x37 [ 535.938789][ T6893] ? strnlen+0x64/0x70 [ 535.942838][ T6893] strnlen+0x64/0x70 [ 535.946836][ T6893] netdev_name_node_lookup_rcu+0x22/0x150 [ 535.952546][ T6893] dev_get_by_name+0x7b/0x1e0 [ 535.957249][ T6893] wg_get_device_start+0x2e4/0x3f0 [ 535.962645][ T6893] ? wg_set_device+0x1520/0x1520 [ 535.967562][ T6893] genl_start+0x342/0x6e0 [ 535.971895][ T6893] __netlink_dump_start+0x585/0x900 [ 535.977079][ T6893] ? genl_rcv_msg+0x9e0/0x9e0 [ 535.981756][ T6893] ? wg_get_device_start+0x3f0/0x3f0 [ 535.987035][ T6893] genl_family_rcv_msg_dumpit+0x2ac/0x310 [ 535.992771][ T6893] ? genl_rcv+0x40/0x40 [ 535.996911][ T6893] ? mutex_lock_io_nested+0xf60/0xf60 [ 536.002265][ T6893] ? cap_capable+0x1eb/0x250 [ 536.006848][ T6893] ? genl_rcv_msg+0x9e0/0x9e0 [ 536.011539][ T6893] ? genl_unlock+0x20/0x20 [ 536.015974][ T6893] ? genl_parallel_done+0x170/0x170 [ 536.021188][ T6893] ? ns_capable+0xde/0x100 [ 536.025599][ T6893] genl_rcv_msg+0x797/0x9e0 [ 536.030096][ T6893] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 536.037318][ T6893] ? lock_acquire+0x1f1/0xad0 [ 536.042101][ T6893] ? genl_rcv+0x15/0x40 [ 536.046241][ T6893] ? lock_release+0x8d0/0x8d0 [ 536.050902][ T6893] netlink_rcv_skb+0x15a/0x430 [ 536.055651][ T6893] ? genl_family_rcv_msg_attrs_parse.isra.0+0x310/0x310 [ 536.062633][ T6893] ? netlink_ack+0xa10/0xa10 [ 536.069695][ T6893] genl_rcv+0x24/0x40 [ 536.073686][ T6893] netlink_unicast+0x533/0x7d0 [ 536.078463][ T6893] ? netlink_attachskb+0x810/0x810 [ 536.083604][ T6893] ? _copy_from_iter_full+0x247/0x890 [ 536.088958][ T6893] netlink_sendmsg+0x856/0xd90 [ 536.093707][ T6893] ? netlink_unicast+0x7d0/0x7d0 [ 536.098629][ T6893] ? netlink_unicast+0x7d0/0x7d0 [ 536.103550][ T6893] sock_sendmsg+0xcf/0x120 [ 536.107963][ T6893] ____sys_sendmsg+0x6e8/0x810 [ 536.112706][ T6893] ? kernel_sendmsg+0x50/0x50 [ 536.117362][ T6893] ? do_recvmmsg+0x6d0/0x6d0 [ 536.121929][ T6893] ? find_held_lock+0x2d/0x110 [ 536.126681][ T6893] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 536.132672][ T6893] ? lock_downgrade+0x820/0x820 [ 536.137535][ T6893] ___sys_sendmsg+0xf3/0x170 [ 536.142108][ T6893] ? sendmsg_copy_msghdr+0x160/0x160 [ 536.147474][ T6893] ? debug_object_active_state+0x260/0x350 [ 536.153264][ T6893] ? lock_downgrade+0x820/0x820 [ 536.158190][ T6893] ? _raw_spin_unlock_irqrestore+0x62/0xe0 [ 536.163977][ T6893] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 536.169960][ T6893] ? _raw_spin_unlock_irqrestore+0x9b/0xe0 [ 536.175757][ T6893] ? debug_object_active_state+0x260/0x350 [ 536.181561][ T6893] ? trace_hardirqs_off+0x27/0x210 [ 536.186654][ T6893] ? __fget_light+0x215/0x280 [ 536.191324][ T6893] __sys_sendmsg+0xe5/0x1b0 [ 536.198805][ T6893] ? __sys_sendmsg_sock+0xb0/0xb0 [ 536.203830][ T6893] ? check_preemption_disabled+0x38/0x220 [ 536.209781][ T6893] ? do_syscall_64+0x1c/0xe0 [ 536.214377][ T6893] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 536.220366][ T6893] do_syscall_64+0x60/0xe0 [ 536.224864][ T6893] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 536.231238][ T6893] RIP: 0033:0x445299 [ 536.235454][ T6893] Code: Bad RIP value. [ 536.239503][ T6893] RSP: 002b:00007ffd1e794308 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 536.250942][ T6893] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000445299 [ 536.259003][ T6893] RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 [ 536.267075][ T6893] RBP: 0000000000082a5d R08: 0000000000000000 R09: 00000000004002e0 [ 536.275034][ T6893] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402430 [ 536.284038][ T6893] R13: 00000000004024c0 R14: 0000000000000000 R15: 0000000000000000 [ 536.293824][ T6893] Kernel Offset: disabled [ 536.298147][ T6893] Rebooting in 86400 seconds..