[ 48.618079] audit: type=1800 audit(1555304771.633:27): pid=5557 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2469 res=0 [ 48.637597] audit: type=1800 audit(1555304771.633:28): pid=5557 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. [ 49.437906] audit: type=1800 audit(1555304772.493:29): pid=5557 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 [ 49.457354] audit: type=1800 audit(1555304772.503:30): pid=5557 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.162' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 58.900560] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 59.140519] usb 1-1: Using ep0 maxpacket: 8 [ 59.260580] usb 1-1: config 0 has an invalid interface number: 157 but max is 0 [ 59.268215] usb 1-1: config 0 has no interface number 0 [ 59.273703] usb 1-1: New USB device found, idVendor=04fa, idProduct=2490, bcdDevice=f5.2f [ 59.282067] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 59.291403] usb 1-1: config 0 descriptor?? [ 59.530679] usb 1-1: Failed to set alternative setting 3 for 199 interface: err=-22. [ 59.538840] DS9490R: probe of 1-1:0.157 failed with error -22 executing program [ 59.713432] usb 1-1: USB disconnect, device number 2 [ 60.070495] usb 1-1: new high-speed USB device number 3 using dummy_hcd [ 60.310507] usb 1-1: Using ep0 maxpacket: 8 [ 60.430587] usb 1-1: config 0 has an invalid interface number: 157 but max is 0 [ 60.438117] usb 1-1: config 0 has no interface number 0 [ 60.443589] usb 1-1: New USB device found, idVendor=04fa, idProduct=2490, bcdDevice=f5.2f [ 60.451959] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 60.460386] usb 1-1: config 0 descriptor?? [ 60.700765] ================================================================== [ 60.708403] BUG: KASAN: use-after-free in ds_probe+0x604/0x760 [ 60.714366] Read of size 1 at addr ffff88821ac239e2 by task kworker/1:3/533 [ 60.721641] [ 60.723257] CPU: 1 PID: 533 Comm: kworker/1:3 Not tainted 5.1.0-rc4-319354-g9a33b36 #3 [ 60.731498] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.740861] Workqueue: usb_hub_wq hub_event [ 60.745182] Call Trace: [ 60.747769] dump_stack+0xe8/0x16e [ 60.751301] ? ds_probe+0x604/0x760 [ 60.754923] ? ds_probe+0x604/0x760 [ 60.758536] print_address_description+0x6c/0x236 [ 60.763371] ? ds_probe+0x604/0x760 [ 60.767132] ? ds_probe+0x604/0x760 [ 60.770747] kasan_report.cold+0x1a/0x3c [ 60.774881] ? ds_probe+0x604/0x760 [ 60.778498] ds_probe+0x604/0x760 [ 60.781950] usb_probe_interface+0x31d/0x820 [ 60.786353] ? usb_probe_device+0x150/0x150 [ 60.790661] really_probe+0x2da/0xb10 [ 60.794455] driver_probe_device+0x21d/0x350 [ 60.798942] __device_attach_driver+0x1d8/0x290 [ 60.803601] ? driver_allows_async_probing+0x160/0x160 [ 60.808928] bus_for_each_drv+0x163/0x1e0 [ 60.813198] ? bus_rescan_devices+0x30/0x30 [ 60.817504] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 60.822602] ? lockdep_hardirqs_on+0x37e/0x580 [ 60.827240] __device_attach+0x223/0x3a0 [ 60.831368] ? device_bind_driver+0xe0/0xe0 [ 60.835688] ? kobject_uevent_env+0x295/0x13d0 [ 60.840261] bus_probe_device+0x1f1/0x2a0 [ 60.844404] ? blocking_notifier_call_chain+0x59/0xb0 [ 60.849594] device_add+0xad2/0x16e0 [ 60.853307] ? get_device_parent.isra.0+0x560/0x560 [ 60.858426] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 60.863525] usb_set_configuration+0xdf7/0x1740 [ 60.868310] generic_probe+0xa2/0xda [ 60.872120] usb_probe_device+0xc0/0x150 [ 60.876661] ? usb_suspend+0x5f0/0x5f0 [ 60.880539] really_probe+0x2da/0xb10 [ 60.884339] driver_probe_device+0x21d/0x350 [ 60.888751] __device_attach_driver+0x1d8/0x290 [ 60.893414] ? driver_allows_async_probing+0x160/0x160 [ 60.898717] bus_for_each_drv+0x163/0x1e0 [ 60.902889] ? bus_rescan_devices+0x30/0x30 [ 60.907308] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 60.912416] ? lockdep_hardirqs_on+0x37e/0x580 [ 60.917015] __device_attach+0x223/0x3a0 [ 60.921079] ? device_bind_driver+0xe0/0xe0 [ 60.925398] ? kobject_uevent_env+0x295/0x13d0 [ 60.929983] bus_probe_device+0x1f1/0x2a0 [ 60.934129] ? blocking_notifier_call_chain+0x59/0xb0 [ 60.939307] device_add+0xad2/0x16e0 [ 60.943017] ? get_device_parent.isra.0+0x560/0x560 [ 60.948037] usb_new_device.cold+0x537/0xccf [ 60.952442] hub_event+0x138e/0x3b00 [ 60.956160] ? hub_port_debounce+0x350/0x350 [ 60.960561] ? _raw_spin_unlock_irq+0x29/0x40 [ 60.965051] process_one_work+0x90f/0x1580 [ 60.969280] ? wq_pool_ids_show+0x300/0x300 [ 60.973591] ? do_raw_spin_lock+0x11f/0x290 [ 60.978006] worker_thread+0x9b/0xe20 [ 60.981799] ? process_one_work+0x1580/0x1580 [ 60.986275] kthread+0x313/0x420 [ 60.989806] ? kthread_park+0x1a0/0x1a0 [ 60.993780] ret_from_fork+0x3a/0x50 [ 60.997485] [ 60.999096] Allocated by task 5702: [ 61.002713] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 61.007720] ext4_htree_store_dirent+0x8d/0x610 [ 61.012403] htree_dirblock_to_tree+0x293/0x5e0 [ 61.017058] ext4_htree_fill_tree+0x229/0x990 [ 61.021540] ext4_readdir+0x14ae/0x2d10 [ 61.025504] iterate_dir+0x481/0x5e0 [ 61.029204] __x64_sys_getdents+0x1e2/0x370 [ 61.033524] do_syscall_64+0xcf/0x4f0 [ 61.037373] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.042551] [ 61.044208] Freed by task 5702: [ 61.047480] __kasan_slab_free+0x130/0x180 [ 61.051700] slab_free_freelist_hook+0x5e/0x140 [ 61.056359] kfree+0xce/0x290 [ 61.059449] free_rb_tree_fname+0x84/0xe0 [ 61.063586] ext4_release_dir+0x46/0x60 [ 61.067550] __fput+0x2df/0x8c0 [ 61.070825] task_work_run+0x149/0x1c0 [ 61.074704] exit_to_usermode_loop+0x243/0x270 [ 61.079270] do_syscall_64+0x40c/0x4f0 [ 61.083148] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.088320] [ 61.089933] The buggy address belongs to the object at ffff88821ac239c0 [ 61.089933] which belongs to the cache kmalloc-64 of size 64 [ 61.102407] The buggy address is located 34 bytes inside of [ 61.102407] 64-byte region [ffff88821ac239c0, ffff88821ac23a00) [ 61.114240] The buggy address belongs to the page: [ 61.119180] page:ffffea00086b08c0 count:1 mapcount:0 mapping:ffff88812c3f5600 index:0x0 [ 61.127373] flags: 0x57ff00000000200(slab) [ 61.131642] raw: 057ff00000000200 dead000000000100 dead000000000200 ffff88812c3f5600 [ 61.139517] raw: 0000000000000000 00000000002a002a 00000001ffffffff 0000000000000000 [ 61.147381] page dumped because: kasan: bad access detected [ 61.153070] [ 61.154718] Memory state around the buggy address: [ 61.159637] ffff88821ac23880: fc fc fc fc fb fb fb fb fb fb fb fb fc fc fc fc [ 61.167034] ffff88821ac23900: fb fb fb fb fb fb fb fb fc fc fc fc 00 00 00 00 [ 61.174395] >ffff88821ac23980: 00 00 fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 61.181741] ^ [ 61.188215] ffff88821ac23a00: fc fc fc fc fb fb fb fb fb fb fb fb fc fc fc fc [ 61.195558] ffff88821ac23a80: fb fb fb fb fb fb fb fb fc fc fc fc fb fb fb fb [ 61.202940] ================================================================== [ 61.210291] Disabling lock debugging due to kernel taint [ 61.215879] Kernel panic - not syncing: panic_on_warn set ... [ 61.221777] CPU: 1 PID: 533 Comm: kworker/1:3 Tainted: G B 5.1.0-rc4-319354-g9a33b36 #3 [ 61.231216] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.240579] Workqueue: usb_hub_wq hub_event [ 61.244893] Call Trace: [ 61.247482] dump_stack+0xe8/0x16e [ 61.251025] panic+0x29d/0x5f2 [ 61.254214] ? __warn_printk+0xf8/0xf8 [ 61.258100] ? retint_kernel+0x10/0x10 [ 61.261990] ? trace_hardirqs_on+0x55/0x1c0 [ 61.266318] ? ds_probe+0x604/0x760 [ 61.269939] end_report+0x48/0x4e [ 61.273388] ? ds_probe+0x604/0x760 [ 61.277018] kasan_report.cold+0xd/0x3c [ 61.280995] ? ds_probe+0x604/0x760 [ 61.284624] ds_probe+0x604/0x760 [ 61.288076] usb_probe_interface+0x31d/0x820 [ 61.292486] ? usb_probe_device+0x150/0x150 [ 61.296809] really_probe+0x2da/0xb10 [ 61.300618] driver_probe_device+0x21d/0x350 [ 61.305036] __device_attach_driver+0x1d8/0x290 [ 61.309711] ? driver_allows_async_probing+0x160/0x160 [ 61.315107] bus_for_each_drv+0x163/0x1e0 [ 61.319262] ? bus_rescan_devices+0x30/0x30 [ 61.323590] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 61.328691] ? lockdep_hardirqs_on+0x37e/0x580 [ 61.333274] __device_attach+0x223/0x3a0 [ 61.337330] ? device_bind_driver+0xe0/0xe0 [ 61.341653] ? kobject_uevent_env+0x295/0x13d0 [ 61.346239] bus_probe_device+0x1f1/0x2a0 [ 61.350383] ? blocking_notifier_call_chain+0x59/0xb0 [ 61.355568] device_add+0xad2/0x16e0 [ 61.359288] ? get_device_parent.isra.0+0x560/0x560 [ 61.364300] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 61.369514] usb_set_configuration+0xdf7/0x1740 [ 61.374211] generic_probe+0xa2/0xda [ 61.377919] usb_probe_device+0xc0/0x150 [ 61.381981] ? usb_suspend+0x5f0/0x5f0 [ 61.385955] really_probe+0x2da/0xb10 [ 61.389750] driver_probe_device+0x21d/0x350 [ 61.394152] __device_attach_driver+0x1d8/0x290 [ 61.398817] ? driver_allows_async_probing+0x160/0x160 [ 61.404094] bus_for_each_drv+0x163/0x1e0 [ 61.408240] ? bus_rescan_devices+0x30/0x30 [ 61.412560] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 61.417659] ? lockdep_hardirqs_on+0x37e/0x580 [ 61.422239] __device_attach+0x223/0x3a0 [ 61.426297] ? device_bind_driver+0xe0/0xe0 [ 61.430616] ? kobject_uevent_env+0x295/0x13d0 [ 61.435201] bus_probe_device+0x1f1/0x2a0 [ 61.439348] ? blocking_notifier_call_chain+0x59/0xb0 [ 61.444535] device_add+0xad2/0x16e0 [ 61.448246] ? get_device_parent.isra.0+0x560/0x560 [ 61.453265] usb_new_device.cold+0x537/0xccf [ 61.457678] hub_event+0x138e/0x3b00 [ 61.461409] ? hub_port_debounce+0x350/0x350 [ 61.465846] ? _raw_spin_unlock_irq+0x29/0x40 [ 61.470347] process_one_work+0x90f/0x1580 [ 61.474588] ? wq_pool_ids_show+0x300/0x300 [ 61.478995] ? do_raw_spin_lock+0x11f/0x290 [ 61.483354] worker_thread+0x9b/0xe20 [ 61.487173] ? process_one_work+0x1580/0x1580 [ 61.491665] kthread+0x313/0x420 [ 61.495026] ? kthread_park+0x1a0/0x1a0 [ 61.499005] ret_from_fork+0x3a/0x50 [ 61.503413] Kernel Offset: disabled [ 61.507047] Rebooting in 86400 seconds..