[ 48.022601] audit: type=1800 audit(1555303281.407:30): pid=5376 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2456 res=0 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.39' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 59.852643] IPVS: ftp: loaded support on port[0] = 21 [ 60.156873] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 60.406811] usb 1-1: Using ep0 maxpacket: 8 [ 60.526852] usb 1-1: config 0 has an invalid interface number: 157 but max is 0 [ 60.534418] usb 1-1: config 0 has no interface number 0 [ 60.539907] usb 1-1: New USB device found, idVendor=04fa, idProduct=2490, bcdDevice=f5.2f [ 60.548270] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 60.557336] usb 1-1: config 0 descriptor?? [ 60.797058] ================================================================== [ 60.804579] BUG: KASAN: use-after-free in ds_probe+0x604/0x760 [ 60.810545] Read of size 1 at addr ffff88821ae60e62 by task kworker/0:1/12 [ 60.817544] [ 60.819164] CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.1.0-rc4-319354-g9a33b36 #3 [ 60.827268] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.836662] Workqueue: usb_hub_wq hub_event [ 60.840982] Call Trace: [ 60.843609] dump_stack+0xe8/0x16e [ 60.847144] ? ds_probe+0x604/0x760 [ 60.850761] ? ds_probe+0x604/0x760 [ 60.854413] print_address_description+0x6c/0x236 [ 60.859248] ? ds_probe+0x604/0x760 [ 60.862904] ? ds_probe+0x604/0x760 [ 60.866528] kasan_report.cold+0x1a/0x3c [ 60.870582] ? ds_probe+0x604/0x760 [ 60.874195] ds_probe+0x604/0x760 [ 60.877678] usb_probe_interface+0x31d/0x820 [ 60.882084] ? usb_probe_device+0x150/0x150 [ 60.886401] really_probe+0x2da/0xb10 [ 60.890240] driver_probe_device+0x21d/0x350 [ 60.894707] __device_attach_driver+0x1d8/0x290 [ 60.899368] ? driver_allows_async_probing+0x160/0x160 [ 60.904758] bus_for_each_drv+0x163/0x1e0 [ 60.908935] ? bus_rescan_devices+0x30/0x30 [ 60.913252] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 60.918346] ? lockdep_hardirqs_on+0x37e/0x580 [ 60.922982] __device_attach+0x223/0x3a0 [ 60.927049] ? device_bind_driver+0xe0/0xe0 [ 60.931398] ? kobject_uevent_env+0x295/0x13d0 [ 60.936064] bus_probe_device+0x1f1/0x2a0 [ 60.940205] ? blocking_notifier_call_chain+0x59/0xb0 [ 60.945387] device_add+0xad2/0x16e0 [ 60.949193] ? get_device_parent.isra.0+0x560/0x560 [ 60.954238] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 60.959341] usb_set_configuration+0xdf7/0x1740 [ 60.964005] generic_probe+0xa2/0xda [ 60.967704] usb_probe_device+0xc0/0x150 [ 60.971794] ? usb_suspend+0x5f0/0x5f0 [ 60.975674] really_probe+0x2da/0xb10 [ 60.979468] driver_probe_device+0x21d/0x350 [ 60.983863] __device_attach_driver+0x1d8/0x290 [ 60.988526] ? driver_allows_async_probing+0x160/0x160 [ 60.993804] bus_for_each_drv+0x163/0x1e0 [ 60.997947] ? bus_rescan_devices+0x30/0x30 [ 61.002304] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 61.007406] ? lockdep_hardirqs_on+0x37e/0x580 [ 61.012091] __device_attach+0x223/0x3a0 [ 61.016210] ? device_bind_driver+0xe0/0xe0 [ 61.020525] ? kobject_uevent_env+0x295/0x13d0 [ 61.025106] bus_probe_device+0x1f1/0x2a0 [ 61.029307] ? blocking_notifier_call_chain+0x59/0xb0 [ 61.034488] device_add+0xad2/0x16e0 [ 61.038189] ? get_device_parent.isra.0+0x560/0x560 [ 61.043200] usb_new_device.cold+0x537/0xccf [ 61.047598] hub_event+0x138e/0x3b00 [ 61.051430] ? hub_port_debounce+0x350/0x350 [ 61.055872] ? _raw_spin_unlock_irq+0x29/0x40 [ 61.060366] process_one_work+0x90f/0x1580 [ 61.064600] ? wq_pool_ids_show+0x300/0x300 [ 61.069017] ? do_raw_spin_lock+0x11f/0x290 [ 61.073437] worker_thread+0x9b/0xe20 [ 61.077230] ? process_one_work+0x1580/0x1580 [ 61.081708] kthread+0x313/0x420 [ 61.085064] ? kthread_park+0x1a0/0x1a0 [ 61.089044] ret_from_fork+0x3a/0x50 [ 61.092750] [ 61.094365] Allocated by task 12: [ 61.097917] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 61.102843] __kmalloc_node_track_caller+0xf3/0x320 [ 61.107852] __devres_alloc_node+0x65/0x150 [ 61.112203] devm_pinctrl_get+0x34/0xc0 [ 61.116290] pinctrl_bind_pins+0xcb/0x950 [ 61.120424] really_probe+0x126/0xb10 [ 61.124205] driver_probe_device+0x21d/0x350 [ 61.128598] __device_attach_driver+0x1d8/0x290 [ 61.133258] bus_for_each_drv+0x163/0x1e0 [ 61.137392] __device_attach+0x223/0x3a0 [ 61.141440] bus_probe_device+0x1f1/0x2a0 [ 61.145583] device_add+0xad2/0x16e0 [ 61.149287] usb_new_device.cold+0x537/0xccf [ 61.153686] hub_event+0x138e/0x3b00 [ 61.157495] process_one_work+0x90f/0x1580 [ 61.161735] worker_thread+0x9b/0xe20 [ 61.165684] kthread+0x313/0x420 [ 61.169049] ret_from_fork+0x3a/0x50 [ 61.172748] [ 61.174389] Freed by task 12: [ 61.177500] __kasan_slab_free+0x130/0x180 [ 61.181729] slab_free_freelist_hook+0x5e/0x140 [ 61.186515] kfree+0xce/0x290 [ 61.189619] devres_free+0x4a/0x70 [ 61.193153] devres_release+0x52/0x70 [ 61.197095] devm_pinctrl_put+0x46/0x80 [ 61.201083] pinctrl_bind_pins+0x333/0x950 [ 61.205314] really_probe+0x126/0xb10 [ 61.209116] driver_probe_device+0x21d/0x350 [ 61.213634] __device_attach_driver+0x1d8/0x290 [ 61.218395] bus_for_each_drv+0x163/0x1e0 [ 61.222534] __device_attach+0x223/0x3a0 [ 61.226725] bus_probe_device+0x1f1/0x2a0 [ 61.230922] device_add+0xad2/0x16e0 [ 61.234628] usb_new_device.cold+0x537/0xccf [ 61.239031] hub_event+0x138e/0x3b00 [ 61.242792] process_one_work+0x90f/0x1580 [ 61.247066] worker_thread+0x9b/0xe20 [ 61.250861] kthread+0x313/0x420 [ 61.254320] ret_from_fork+0x3a/0x50 [ 61.258022] [ 61.259635] The buggy address belongs to the object at ffff88821ae60e40 [ 61.259635] which belongs to the cache kmalloc-64 of size 64 [ 61.273243] The buggy address is located 34 bytes inside of [ 61.273243] 64-byte region [ffff88821ae60e40, ffff88821ae60e80) [ 61.285068] The buggy address belongs to the page: [ 61.290056] page:ffffea00086b9800 count:1 mapcount:0 mapping:ffff88812c3f5600 index:0x0 [ 61.298206] flags: 0x57ff00000000200(slab) [ 61.302442] raw: 057ff00000000200 dead000000000100 dead000000000200 ffff88812c3f5600 [ 61.310324] raw: 0000000000000000 00000000802a002a 00000001ffffffff 0000000000000000 [ 61.318201] page dumped because: kasan: bad access detected [ 61.324208] [ 61.325837] Memory state around the buggy address: [ 61.330769] ffff88821ae60d00: fc fc fc fc fb fb fb fb fb fb fb fb fc fc fc fc [ 61.338323] ffff88821ae60d80: fb fb fb fb fb fb fb fb fc fc fc fc 00 00 00 00 [ 61.345797] >ffff88821ae60e00: 00 00 fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 61.353256] ^ [ 61.359853] ffff88821ae60e80: fc fc fc fc fb fb fb fb fb fb fb fb fc fc fc fc [ 61.367211] ffff88821ae60f00: fb fb fb fb fb fb fb fb fc fc fc fc 00 00 00 00 [ 61.374696] ================================================================== [ 61.382142] Disabling lock debugging due to kernel taint [ 61.387940] Kernel panic - not syncing: panic_on_warn set ... [ 61.393850] CPU: 0 PID: 12 Comm: kworker/0:1 Tainted: G B 5.1.0-rc4-319354-g9a33b36 #3 [ 61.403221] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.412627] Workqueue: usb_hub_wq hub_event [ 61.416945] Call Trace: [ 61.419544] dump_stack+0xe8/0x16e [ 61.423084] panic+0x29d/0x5f2 [ 61.426282] ? __warn_printk+0xf8/0xf8 [ 61.430172] ? retint_kernel+0x10/0x10 [ 61.434074] ? trace_hardirqs_on+0x55/0x1c0 [ 61.438407] ? ds_probe+0x604/0x760 [ 61.442044] end_report+0x48/0x4e [ 61.445498] ? ds_probe+0x604/0x760 [ 61.449134] kasan_report.cold+0xd/0x3c [ 61.453120] ? ds_probe+0x604/0x760 [ 61.456755] ds_probe+0x604/0x760 [ 61.460219] usb_probe_interface+0x31d/0x820 [ 61.464639] ? usb_probe_device+0x150/0x150 [ 61.468978] really_probe+0x2da/0xb10 [ 61.472801] driver_probe_device+0x21d/0x350 [ 61.477225] __device_attach_driver+0x1d8/0x290 [ 61.481913] ? driver_allows_async_probing+0x160/0x160 [ 61.487219] bus_for_each_drv+0x163/0x1e0 [ 61.491390] ? bus_rescan_devices+0x30/0x30 [ 61.495728] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 61.500847] ? lockdep_hardirqs_on+0x37e/0x580 [ 61.505448] __device_attach+0x223/0x3a0 [ 61.509553] ? device_bind_driver+0xe0/0xe0 [ 61.513893] ? kobject_uevent_env+0x295/0x13d0 [ 61.518494] bus_probe_device+0x1f1/0x2a0 [ 61.522655] ? blocking_notifier_call_chain+0x59/0xb0 [ 61.527858] device_add+0xad2/0x16e0 [ 61.531585] ? get_device_parent.isra.0+0x560/0x560 [ 61.536614] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 61.541735] usb_set_configuration+0xdf7/0x1740 [ 61.546427] generic_probe+0xa2/0xda [ 61.550150] usb_probe_device+0xc0/0x150 [ 61.554230] ? usb_suspend+0x5f0/0x5f0 [ 61.558123] really_probe+0x2da/0xb10 [ 61.561984] driver_probe_device+0x21d/0x350 [ 61.566409] __device_attach_driver+0x1d8/0x290 [ 61.571111] ? driver_allows_async_probing+0x160/0x160 [ 61.576408] bus_for_each_drv+0x163/0x1e0 [ 61.580572] ? bus_rescan_devices+0x30/0x30 [ 61.584907] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 61.590032] ? lockdep_hardirqs_on+0x37e/0x580 [ 61.594623] __device_attach+0x223/0x3a0 [ 61.598697] ? device_bind_driver+0xe0/0xe0 [ 61.603033] ? kobject_uevent_env+0x295/0x13d0 [ 61.607629] bus_probe_device+0x1f1/0x2a0 [ 61.611788] ? blocking_notifier_call_chain+0x59/0xb0 [ 61.617000] device_add+0xad2/0x16e0 [ 61.620725] ? get_device_parent.isra.0+0x560/0x560 [ 61.625853] usb_new_device.cold+0x537/0xccf [ 61.630290] hub_event+0x138e/0x3b00 [ 61.634025] ? hub_port_debounce+0x350/0x350 [ 61.638464] ? _raw_spin_unlock_irq+0x29/0x40 [ 61.642968] process_one_work+0x90f/0x1580 [ 61.647233] ? wq_pool_ids_show+0x300/0x300 [ 61.651559] ? do_raw_spin_lock+0x11f/0x290 [ 61.655898] worker_thread+0x9b/0xe20 [ 61.659708] ? process_one_work+0x1580/0x1580 [ 61.664211] kthread+0x313/0x420 [ 61.667576] ? kthread_park+0x1a0/0x1a0 [ 61.671554] ret_from_fork+0x3a/0x50 [ 61.676053] Kernel Offset: disabled [ 61.679685] Rebooting in 86400 seconds..