[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. 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.164' (ECDSA) to the list of known hosts. syzkaller login: [ 734.142136] IPVS: ftp: loaded support on port[0] = 21 [ 734.204730] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 734.218981] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 734.226190] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 734.246638] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready executing program executing program executing program executing program [ 734.253281] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 734.271239] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 734.279132] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 734.286128] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 736.160323] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 736.167507] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 736.175460] ================================================================== [ 736.183303] BUG: KASAN: use-after-free in ieee80211_ibss_build_presp+0xf55/0x14b0 [ 736.190913] Read of size 4 at addr ffff8880aa877100 by task kworker/u4:0/8026 [ 736.198206] [ 736.199850] CPU: 0 PID: 8026 Comm: kworker/u4:0 Not tainted 4.14.204-syzkaller #0 [ 736.207529] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 736.216876] Workqueue: phy2 ieee80211_iface_work [ 736.221678] Call Trace: [ 736.224377] dump_stack+0x1b2/0x283 [ 736.228057] print_address_description.cold+0x54/0x1d3 [ 736.233315] kasan_report_error.cold+0x8a/0x194 [ 736.237966] ? ieee80211_ibss_build_presp+0xf55/0x14b0 [ 736.243935] kasan_report+0x6f/0x7b [ 736.247559] ? ieee80211_ibss_build_presp+0xf55/0x14b0 [ 736.252821] memcpy+0x20/0x50 [ 736.255919] ieee80211_ibss_build_presp+0xf55/0x14b0 [ 736.261008] ? ieee80211_vht_cap_ie_to_sta_vht_cap.cold+0x62/0x62 [ 736.267273] ? wait_for_completion_io+0x10/0x10 [ 736.271939] __ieee80211_sta_join_ibss+0x5d1/0x1c80 [ 736.276938] ? ieee80211_ibss_timer+0x60/0x60 [ 736.281461] ? vprintk_func+0x60/0x152 [ 736.285327] ? printk+0x9e/0xbc [ 736.288587] ? log_store.cold+0x16/0x16 [ 736.292547] ieee80211_sta_create_ibss.cold+0xbb/0xf1 [ 736.297732] ? ieee80211_sta_active_ibss+0x2e0/0x2e0 [ 736.303703] ieee80211_ibss_work.cold+0x266/0x565 [ 736.308547] ? ieee80211_ibss_rx_queued_mgmt+0x1680/0x1680 [ 736.314157] ? _raw_spin_unlock_irqrestore+0x79/0xe0 [ 736.319278] ? trace_hardirqs_on_caller+0x3a8/0x580 [ 736.324301] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 736.330877] ieee80211_iface_work+0x690/0x770 [ 736.335410] process_one_work+0x793/0x14a0 [ 736.339658] ? work_busy+0x320/0x320 [ 736.343800] ? worker_thread+0x158/0xff0 [ 736.347856] ? _raw_spin_unlock_irq+0x24/0x80 [ 736.352339] worker_thread+0x5cc/0xff0 [ 736.356207] ? rescuer_thread+0xc80/0xc80 [ 736.360332] kthread+0x30d/0x420 [ 736.363692] ? kthread_create_on_node+0xd0/0xd0 [ 736.368350] ret_from_fork+0x24/0x30 [ 736.372042] [ 736.373687] Allocated by task 8477: [ 736.377296] kasan_kmalloc+0xeb/0x160 [ 736.381150] __kmalloc_track_caller+0x155/0x400 [ 736.385825] kmemdup+0x23/0x50 [ 736.389001] ieee80211_ibss_join+0x761/0xd70 [ 736.393413] __cfg80211_join_ibss+0x5bc/0xd90 [ 736.397890] cfg80211_join_ibss+0x70/0x90 [ 736.402110] nl80211_join_ibss+0xb4f/0xf00 [ 736.406389] genl_family_rcv_msg+0x572/0xb20 [ 736.410876] genl_rcv_msg+0xaf/0x140 [ 736.414585] netlink_rcv_skb+0x125/0x390 [ 736.418628] genl_rcv+0x24/0x40 [ 736.421897] netlink_unicast+0x437/0x610 [ 736.425934] netlink_sendmsg+0x62e/0xb80 [ 736.430037] sock_sendmsg+0xb5/0x100 [ 736.433734] ___sys_sendmsg+0x6c8/0x800 [ 736.437692] __sys_sendmsg+0xa3/0x120 [ 736.441481] SyS_sendmsg+0x27/0x40 [ 736.445024] do_syscall_64+0x1d5/0x640 [ 736.448904] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 736.454077] [ 736.455690] Freed by task 8478: [ 736.458963] kasan_slab_free+0xc3/0x1a0 [ 736.462915] kfree+0xc9/0x250 [ 736.466019] ieee80211_ibss_leave+0x83/0xd8 [ 736.470329] __cfg80211_leave_ibss+0x14c/0x6d0 [ 736.474910] cfg80211_leave_ibss+0x54/0x70 [ 736.479232] cfg80211_change_iface+0x791/0x13d0 [ 736.483903] nl80211_set_interface+0x588/0x760 [ 736.488466] genl_family_rcv_msg+0x572/0xb20 [ 736.492868] genl_rcv_msg+0xaf/0x140 [ 736.496571] netlink_rcv_skb+0x125/0x390 [ 736.500636] genl_rcv+0x24/0x40 [ 736.504256] netlink_unicast+0x437/0x610 [ 736.508296] netlink_sendmsg+0x62e/0xb80 [ 736.512339] sock_sendmsg+0xb5/0x100 [ 736.516057] ___sys_sendmsg+0x6c8/0x800 [ 736.520010] __sys_sendmsg+0xa3/0x120 [ 736.523791] SyS_sendmsg+0x27/0x40 [ 736.527310] do_syscall_64+0x1d5/0x640 [ 736.531183] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 736.536344] [ 736.537949] The buggy address belongs to the object at ffff8880aa877100 [ 736.537949] which belongs to the cache kmalloc-32 of size 32 [ 736.550437] The buggy address is located 0 bytes inside of [ 736.550437] 32-byte region [ffff8880aa877100, ffff8880aa877120) [ 736.562188] The buggy address belongs to the page: [ 736.569391] page:ffffea0002aa1dc0 count:1 mapcount:0 mapping:ffff8880aa877000 index:0xffff8880aa877fc1 [ 736.578878] flags: 0xfff00000000100(slab) [ 736.583032] raw: 00fff00000000100 ffff8880aa877000 ffff8880aa877fc1 000000010000003f [ 736.590905] raw: ffffea0002c3bce0 ffffea0002ad8f60 ffff88813fe801c0 0000000000000000 [ 736.598764] page dumped because: kasan: bad access detected [ 736.604466] [ 736.606071] Memory state around the buggy address: [ 736.610977] ffff8880aa877000: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 736.618312] ffff8880aa877080: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 736.625646] >ffff8880aa877100: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 736.632981] ^ [ 736.636322] ffff8880aa877180: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 736.643655] ffff8880aa877200: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 736.651002] ================================================================== [ 736.658354] Disabling lock debugging due to kernel taint [ 736.664936] Kernel panic - not syncing: panic_on_warn set ... [ 736.664936] [ 736.672302] CPU: 0 PID: 8026 Comm: kworker/u4:0 Tainted: G B 4.14.204-syzkaller #0 [ 736.681128] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 736.690491] Workqueue: phy2 ieee80211_iface_work [ 736.695231] Call Trace: [ 736.697801] dump_stack+0x1b2/0x283 [ 736.701480] panic+0x1f9/0x42d [ 736.704671] ? add_taint.cold+0x16/0x16 [ 736.708642] ? ___preempt_schedule+0x16/0x18 [ 736.713040] kasan_end_report+0x43/0x49 [ 736.717046] kasan_report_error.cold+0xa7/0x194 [ 736.721768] ? ieee80211_ibss_build_presp+0xf55/0x14b0 [ 736.727025] kasan_report+0x6f/0x7b [ 736.730738] ? ieee80211_ibss_build_presp+0xf55/0x14b0 [ 736.735994] memcpy+0x20/0x50 [ 736.739084] ieee80211_ibss_build_presp+0xf55/0x14b0 [ 736.744183] ? ieee80211_vht_cap_ie_to_sta_vht_cap.cold+0x62/0x62 [ 736.750398] ? wait_for_completion_io+0x10/0x10 [ 736.755049] __ieee80211_sta_join_ibss+0x5d1/0x1c80 [ 736.760045] ? ieee80211_ibss_timer+0x60/0x60 [ 736.764518] ? vprintk_func+0x60/0x152 [ 736.768382] ? printk+0x9e/0xbc [ 736.771637] ? log_store.cold+0x16/0x16 [ 736.775592] ieee80211_sta_create_ibss.cold+0xbb/0xf1 [ 736.780760] ? ieee80211_sta_active_ibss+0x2e0/0x2e0 [ 736.785841] ieee80211_ibss_work.cold+0x266/0x565 [ 736.790662] ? ieee80211_ibss_rx_queued_mgmt+0x1680/0x1680 [ 736.796283] ? _raw_spin_unlock_irqrestore+0x79/0xe0 [ 736.801366] ? trace_hardirqs_on_caller+0x3a8/0x580 [ 736.806371] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 736.811451] ieee80211_iface_work+0x690/0x770 [ 736.815926] process_one_work+0x793/0x14a0 [ 736.820138] ? work_busy+0x320/0x320 [ 736.823836] ? worker_thread+0x158/0xff0 [ 736.827874] ? _raw_spin_unlock_irq+0x24/0x80 [ 736.832349] worker_thread+0x5cc/0xff0 [ 736.836211] ? rescuer_thread+0xc80/0xc80 [ 736.840346] kthread+0x30d/0x420 [ 736.843692] ? kthread_create_on_node+0xd0/0xd0 [ 736.849737] ret_from_fork+0x24/0x30 [ 736.854220] Kernel Offset: disabled [ 736.857830] Rebooting in 86400 seconds..