[ 45.849285] audit: type=1800 audit(1555458034.914:27): pid=5289 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2469 res=0 [ 45.870876] audit: type=1800 audit(1555458034.924:28): pid=5289 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2450 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 46.491116] audit: type=1800 audit(1555458035.594:29): pid=5289 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2465 res=0 [ 46.510898] audit: type=1800 audit(1555458035.594:30): pid=5289 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.1.23' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 76.177375] IPVS: ftp: loaded support on port[0] = 21 [ 76.478466] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 76.718374] usb 1-1: Using ep0 maxpacket: 8 [ 76.838480] usb 1-1: config 0 has an invalid interface number: 28 but max is 0 [ 76.845969] usb 1-1: config 0 has no interface number 0 [ 76.851500] usb 1-1: New USB device found, idVendor=04fa, idProduct=2490, bcdDevice=74.f9 [ 76.859868] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 76.871647] usb 1-1: config 0 descriptor?? [ 77.108635] ================================================================== [ 77.116179] BUG: KASAN: use-after-free in ds_probe+0x604/0x760 [ 77.122148] Read of size 1 at addr ffff88809d1fc202 by task kworker/1:1/21 [ 77.129142] [ 77.130765] CPU: 1 PID: 21 Comm: kworker/1:1 Not tainted 5.1.0-rc4-319354-g9a33b36 #3 [ 77.138822] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 77.148912] Workqueue: usb_hub_wq hub_event [ 77.153356] Call Trace: [ 77.155968] dump_stack+0xe8/0x16e [ 77.160134] ? ds_probe+0x604/0x760 [ 77.164106] ? ds_probe+0x604/0x760 [ 77.167774] print_address_description+0x6c/0x236 [ 77.172767] ? ds_probe+0x604/0x760 [ 77.176414] ? ds_probe+0x604/0x760 [ 77.180216] kasan_report.cold+0x1a/0x3c [ 77.184289] ? ds_probe+0x604/0x760 [ 77.187929] ds_probe+0x604/0x760 [ 77.192092] usb_probe_interface+0x31d/0x820 [ 77.196567] ? usb_probe_device+0x150/0x150 [ 77.200901] really_probe+0x2da/0xb10 [ 77.204909] driver_probe_device+0x21d/0x350 [ 77.209437] __device_attach_driver+0x1d8/0x290 [ 77.214102] ? driver_allows_async_probing+0x160/0x160 [ 77.219377] bus_for_each_drv+0x163/0x1e0 [ 77.223525] ? bus_rescan_devices+0x30/0x30 [ 77.227847] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 77.233009] ? lockdep_hardirqs_on+0x37e/0x580 [ 77.237600] __device_attach+0x223/0x3a0 [ 77.241656] ? device_bind_driver+0xe0/0xe0 [ 77.245973] ? kobject_uevent_env+0x295/0x13d0 [ 77.250552] bus_probe_device+0x1f1/0x2a0 [ 77.254736] ? blocking_notifier_call_chain+0x59/0xb0 [ 77.259973] device_add+0xad2/0x16e0 [ 77.263687] ? get_device_parent.isra.0+0x560/0x560 [ 77.268695] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 77.273935] usb_set_configuration+0xdf7/0x1740 [ 77.278608] generic_probe+0xa2/0xda [ 77.282314] usb_probe_device+0xc0/0x150 [ 77.286373] ? usb_suspend+0x5f0/0x5f0 [ 77.290256] really_probe+0x2da/0xb10 [ 77.294053] driver_probe_device+0x21d/0x350 [ 77.298449] __device_attach_driver+0x1d8/0x290 [ 77.303110] ? driver_allows_async_probing+0x160/0x160 [ 77.308380] bus_for_each_drv+0x163/0x1e0 [ 77.312526] ? bus_rescan_devices+0x30/0x30 [ 77.316934] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 77.322043] ? lockdep_hardirqs_on+0x37e/0x580 [ 77.326662] __device_attach+0x223/0x3a0 [ 77.330713] ? device_bind_driver+0xe0/0xe0 [ 77.335138] ? kobject_uevent_env+0x295/0x13d0 [ 77.339712] bus_probe_device+0x1f1/0x2a0 [ 77.343855] ? blocking_notifier_call_chain+0x59/0xb0 [ 77.349168] device_add+0xad2/0x16e0 [ 77.352879] ? get_device_parent.isra.0+0x560/0x560 [ 77.357925] usb_new_device.cold+0x537/0xccf [ 77.362333] hub_event+0x138e/0x3b00 [ 77.366052] ? hub_port_debounce+0x350/0x350 [ 77.370630] ? _raw_spin_unlock_irq+0x29/0x40 [ 77.375119] process_one_work+0x90f/0x1580 [ 77.379349] ? wq_pool_ids_show+0x300/0x300 [ 77.383663] ? do_raw_spin_lock+0x11f/0x290 [ 77.387986] worker_thread+0x9b/0xe20 [ 77.391832] ? process_one_work+0x1580/0x1580 [ 77.396314] kthread+0x313/0x420 [ 77.399667] ? kthread_park+0x1a0/0x1a0 [ 77.403635] ret_from_fork+0x3a/0x50 [ 77.407431] [ 77.409044] Allocated by task 5440: [ 77.412663] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 77.417581] kobject_get_path+0xb7/0x200 [ 77.421626] kobject_uevent_env+0x23f/0x13d0 [ 77.426015] udc_bind_to_driver+0x33e/0x5e0 [ 77.430326] usb_gadget_probe_driver+0x23f/0x380 [ 77.435105] fuzzer_ioctl+0x155e/0x1d40 [ 77.439078] full_proxy_unlocked_ioctl+0x11b/0x180 [ 77.444101] do_vfs_ioctl+0xced/0x12f0 [ 77.447967] ksys_ioctl+0xa0/0xc0 [ 77.451465] __x64_sys_ioctl+0x74/0xb0 [ 77.455367] do_syscall_64+0xcf/0x4f0 [ 77.459207] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 77.464380] [ 77.465993] Freed by task 5440: [ 77.469260] __kasan_slab_free+0x130/0x180 [ 77.473486] slab_free_freelist_hook+0x5e/0x140 [ 77.478186] kfree+0xce/0x290 [ 77.481282] kobject_uevent_env+0x287/0x13d0 [ 77.485787] udc_bind_to_driver+0x33e/0x5e0 [ 77.490110] usb_gadget_probe_driver+0x23f/0x380 [ 77.494950] fuzzer_ioctl+0x155e/0x1d40 [ 77.499135] full_proxy_unlocked_ioctl+0x11b/0x180 [ 77.504215] do_vfs_ioctl+0xced/0x12f0 [ 77.508104] ksys_ioctl+0xa0/0xc0 [ 77.511563] __x64_sys_ioctl+0x74/0xb0 [ 77.515467] do_syscall_64+0xcf/0x4f0 [ 77.520079] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 77.525251] [ 77.526866] The buggy address belongs to the object at ffff88809d1fc1e0 [ 77.526866] which belongs to the cache kmalloc-64 of size 64 [ 77.539348] The buggy address is located 34 bytes inside of [ 77.539348] 64-byte region [ffff88809d1fc1e0, ffff88809d1fc220) [ 77.551217] The buggy address belongs to the page: [ 77.556283] page:ffffea0002747f00 count:1 mapcount:0 mapping:ffff88812c3f5600 index:0x0 [ 77.564598] flags: 0xfff00000000200(slab) [ 77.568735] raw: 00fff00000000200 ffffea0002811240 0000000300000003 ffff88812c3f5600 [ 77.576731] raw: 0000000000000000 00000000802a002a 00000001ffffffff 0000000000000000 [ 77.584603] page dumped because: kasan: bad access detected [ 77.590355] [ 77.591972] Memory state around the buggy address: [ 77.596895] ffff88809d1fc100: fc fc fc fc fb fb fb fb fb fb fb fb fc fc fc fc [ 77.604363] ffff88809d1fc180: 00 00 00 00 00 00 fc fc fc fc fc fc fb fb fb fb [ 77.611823] >ffff88809d1fc200: fb fb fb fb fc fc fc fc fb fb fb fb fb fb fb fb [ 77.619372] ^ [ 77.622775] ffff88809d1fc280: fc fc fc fc 00 00 00 00 00 00 fc fc fc fc fc fc [ 77.630120] ffff88809d1fc300: 00 00 00 00 00 00 fc fc fc fc fc fc fb fb fb fb [ 77.637521] ================================================================== [ 77.644878] Disabling lock debugging due to kernel taint [ 77.650732] Kernel panic - not syncing: panic_on_warn set ... [ 77.657241] CPU: 1 PID: 21 Comm: kworker/1:1 Tainted: G B 5.1.0-rc4-319354-g9a33b36 #3 [ 77.667020] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 77.676963] Workqueue: usb_hub_wq hub_event [ 77.681292] Call Trace: [ 77.683902] dump_stack+0xe8/0x16e [ 77.687444] panic+0x29d/0x5f2 [ 77.690975] ? __warn_printk+0xf8/0xf8 [ 77.694853] ? retint_kernel+0x10/0x10 [ 77.698730] ? trace_hardirqs_on+0x55/0x1c0 [ 77.703041] ? ds_probe+0x604/0x760 [ 77.706653] end_report+0x48/0x4e [ 77.710164] ? ds_probe+0x604/0x760 [ 77.713797] kasan_report.cold+0xd/0x3c [ 77.717781] ? ds_probe+0x604/0x760 [ 77.721505] ds_probe+0x604/0x760 [ 77.725031] usb_probe_interface+0x31d/0x820 [ 77.729451] ? usb_probe_device+0x150/0x150 [ 77.733950] really_probe+0x2da/0xb10 [ 77.737997] driver_probe_device+0x21d/0x350 [ 77.742407] __device_attach_driver+0x1d8/0x290 [ 77.747088] ? driver_allows_async_probing+0x160/0x160 [ 77.752666] bus_for_each_drv+0x163/0x1e0 [ 77.756884] ? bus_rescan_devices+0x30/0x30 [ 77.761259] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 77.766413] ? lockdep_hardirqs_on+0x37e/0x580 [ 77.771000] __device_attach+0x223/0x3a0 [ 77.775053] ? device_bind_driver+0xe0/0xe0 [ 77.779370] ? kobject_uevent_env+0x295/0x13d0 [ 77.784219] bus_probe_device+0x1f1/0x2a0 [ 77.788384] ? blocking_notifier_call_chain+0x59/0xb0 [ 77.793636] device_add+0xad2/0x16e0 [ 77.797392] ? get_device_parent.isra.0+0x560/0x560 [ 77.802441] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 77.807608] usb_set_configuration+0xdf7/0x1740 [ 77.812325] generic_probe+0xa2/0xda [ 77.816309] usb_probe_device+0xc0/0x150 [ 77.820739] ? usb_suspend+0x5f0/0x5f0 [ 77.824721] really_probe+0x2da/0xb10 [ 77.828588] driver_probe_device+0x21d/0x350 [ 77.833034] __device_attach_driver+0x1d8/0x290 [ 77.837892] ? driver_allows_async_probing+0x160/0x160 [ 77.843174] bus_for_each_drv+0x163/0x1e0 [ 77.847329] ? bus_rescan_devices+0x30/0x30 [ 77.851733] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 77.856822] ? lockdep_hardirqs_on+0x37e/0x580 [ 77.861396] __device_attach+0x223/0x3a0 [ 77.865511] ? device_bind_driver+0xe0/0xe0 [ 77.870030] ? kobject_uevent_env+0x295/0x13d0 [ 77.874699] bus_probe_device+0x1f1/0x2a0 [ 77.879090] ? blocking_notifier_call_chain+0x59/0xb0 [ 77.884288] device_add+0xad2/0x16e0 [ 77.887999] ? get_device_parent.isra.0+0x560/0x560 [ 77.893014] usb_new_device.cold+0x537/0xccf [ 77.897432] hub_event+0x138e/0x3b00 [ 77.903068] ? hub_port_debounce+0x350/0x350 [ 77.907476] ? _raw_spin_unlock_irq+0x29/0x40 [ 77.912059] process_one_work+0x90f/0x1580 [ 77.916300] ? wq_pool_ids_show+0x300/0x300 [ 77.920858] ? do_raw_spin_lock+0x11f/0x290 [ 77.925446] worker_thread+0x9b/0xe20 [ 77.929242] ? process_one_work+0x1580/0x1580 [ 77.933740] kthread+0x313/0x420 [ 77.937087] ? kthread_park+0x1a0/0x1a0 [ 77.941051] ret_from_fork+0x3a/0x50 [ 77.945573] Kernel Offset: disabled [ 77.949285] Rebooting in 86400 seconds..