[ 47.693715] audit: type=1800 audit(1555478894.863:27): pid=5238 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2469 res=0 [ 47.713437] audit: type=1800 audit(1555478894.873:28): pid=5238 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. [ 48.368563] audit: type=1800 audit(1555478895.583:29): pid=5238 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 [ 48.387927] audit: type=1800 audit(1555478895.583:30): pid=5238 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.61' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 58.516083] IPVS: ftp: loaded support on port[0] = 21 [ 58.817515] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 59.057467] usb 1-1: Using ep0 maxpacket: 8 [ 59.177530] usb 1-1: config 0 has an invalid interface number: 28 but max is 0 [ 59.184998] usb 1-1: config 0 has no interface number 0 [ 59.190439] usb 1-1: New USB device found, idVendor=04fa, idProduct=2490, bcdDevice=74.f9 [ 59.198820] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 59.207969] usb 1-1: config 0 descriptor?? [ 59.447870] ================================================================== [ 59.455461] BUG: KASAN: use-after-free in ds_probe+0x604/0x760 [ 59.461426] Read of size 1 at addr ffff88821adb92c2 by task kworker/0:1/12 [ 59.468434] [ 59.470050] CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.1.0-rc4-319354-g9a33b36 #3 [ 59.477995] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 59.487371] Workqueue: usb_hub_wq hub_event [ 59.491703] Call Trace: [ 59.494296] dump_stack+0xe8/0x16e [ 59.497819] ? ds_probe+0x604/0x760 [ 59.501450] ? ds_probe+0x604/0x760 [ 59.505078] print_address_description+0x6c/0x236 [ 59.509919] ? ds_probe+0x604/0x760 [ 59.513526] ? ds_probe+0x604/0x760 [ 59.517132] kasan_report.cold+0x1a/0x3c [ 59.521182] ? ds_probe+0x604/0x760 [ 59.524793] ds_probe+0x604/0x760 [ 59.528256] usb_probe_interface+0x31d/0x820 [ 59.532650] ? usb_probe_device+0x150/0x150 [ 59.536963] really_probe+0x2da/0xb10 [ 59.540747] driver_probe_device+0x21d/0x350 [ 59.545134] __device_attach_driver+0x1d8/0x290 [ 59.549784] ? driver_allows_async_probing+0x160/0x160 [ 59.555042] bus_for_each_drv+0x163/0x1e0 [ 59.566824] ? bus_rescan_devices+0x30/0x30 [ 59.571129] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 59.576214] ? lockdep_hardirqs_on+0x37e/0x580 [ 59.580777] __device_attach+0x223/0x3a0 [ 59.584817] ? device_bind_driver+0xe0/0xe0 [ 59.589120] ? kobject_uevent_env+0x295/0x13d0 [ 59.593686] bus_probe_device+0x1f1/0x2a0 [ 59.597824] ? blocking_notifier_call_chain+0x59/0xb0 [ 59.603091] device_add+0xad2/0x16e0 [ 59.606788] ? get_device_parent.isra.0+0x560/0x560 [ 59.611789] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 59.616876] usb_set_configuration+0xdf7/0x1740 [ 59.621536] generic_probe+0xa2/0xda [ 59.625235] usb_probe_device+0xc0/0x150 [ 59.629279] ? usb_suspend+0x5f0/0x5f0 [ 59.633148] really_probe+0x2da/0xb10 [ 59.636938] driver_probe_device+0x21d/0x350 [ 59.641333] __device_attach_driver+0x1d8/0x290 [ 59.645984] ? driver_allows_async_probing+0x160/0x160 [ 59.651258] bus_for_each_drv+0x163/0x1e0 [ 59.655408] ? bus_rescan_devices+0x30/0x30 [ 59.659734] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 59.664818] ? lockdep_hardirqs_on+0x37e/0x580 [ 59.669384] __device_attach+0x223/0x3a0 [ 59.673425] ? device_bind_driver+0xe0/0xe0 [ 59.677749] ? kobject_uevent_env+0x295/0x13d0 [ 59.682314] bus_probe_device+0x1f1/0x2a0 [ 59.686571] ? blocking_notifier_call_chain+0x59/0xb0 [ 59.691745] device_add+0xad2/0x16e0 [ 59.695463] ? get_device_parent.isra.0+0x560/0x560 [ 59.700472] usb_new_device.cold+0x537/0xccf [ 59.704864] hub_event+0x138e/0x3b00 [ 59.708573] ? hub_port_debounce+0x350/0x350 [ 59.712968] ? _raw_spin_unlock_irq+0x29/0x40 [ 59.717467] process_one_work+0x90f/0x1580 [ 59.721698] ? wq_pool_ids_show+0x300/0x300 [ 59.726006] ? do_raw_spin_lock+0x11f/0x290 [ 59.730313] worker_thread+0x9b/0xe20 [ 59.734118] ? process_one_work+0x1580/0x1580 [ 59.738612] kthread+0x313/0x420 [ 59.741960] ? kthread_park+0x1a0/0x1a0 [ 59.745918] ret_from_fork+0x3a/0x50 [ 59.749615] [ 59.751223] Allocated by task 1: [ 59.754572] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 59.759484] add_sysfs_param.isra.0+0x639/0x930 [ 59.764153] param_sysfs_init+0x364/0x435 [ 59.768291] do_one_initcall+0xde/0x597 [ 59.772245] kernel_init_freeable+0x4da/0x5c7 [ 59.776715] kernel_init+0x12/0x1ca [ 59.780321] ret_from_fork+0x3a/0x50 [ 59.784007] [ 59.785623] Freed by task 1: [ 59.788626] __kasan_slab_free+0x130/0x180 [ 59.792838] slab_free_freelist_hook+0x5e/0x140 [ 59.797500] kfree+0xce/0x290 [ 59.800602] krealloc+0x7d/0xc0 [ 59.803875] add_sysfs_param.isra.0+0xcd/0x930 [ 59.808460] param_sysfs_init+0x364/0x435 [ 59.812589] do_one_initcall+0xde/0x597 [ 59.816541] kernel_init_freeable+0x4da/0x5c7 [ 59.821016] kernel_init+0x12/0x1ca [ 59.824621] ret_from_fork+0x3a/0x50 [ 59.828323] [ 59.829931] The buggy address belongs to the object at ffff88821adb92a0 [ 59.829931] which belongs to the cache kmalloc-64 of size 64 [ 59.842396] The buggy address is located 34 bytes inside of [ 59.842396] 64-byte region [ffff88821adb92a0, ffff88821adb92e0) [ 59.854084] The buggy address belongs to the page: [ 59.859059] page:ffffea00086b6e40 count:1 mapcount:0 mapping:ffff88812c3f5600 index:0x0 [ 59.867193] flags: 0x57ff00000000200(slab) [ 59.871413] raw: 057ff00000000200 ffffea00086e8ec0 0000001d00000002 ffff88812c3f5600 [ 59.879286] raw: 0000000000000000 00000000802a002a 00000001ffffffff 0000000000000000 [ 59.887143] page dumped because: kasan: bad access detected [ 59.892828] [ 59.894434] Memory state around the buggy address: [ 59.899357] ffff88821adb9180: fb fb fb fb fb fb fb fb fc fc fc fc fb fb fb fb [ 59.906706] ffff88821adb9200: fb fb fb fb fc fc fc fc 00 00 00 00 00 00 fc fc [ 59.914044] >ffff88821adb9280: fc fc fc fc fb fb fb fb fb fb fb fb fc fc fc fc [ 59.921391] ^ [ 59.926821] ffff88821adb9300: fb fb fb fb fb fb fb fb fc fc fc fc 00 00 00 00 [ 59.934157] ffff88821adb9380: 00 00 00 00 fc fc fc fc fb fb fb fb fb fb fb fb [ 59.941495] ================================================================== [ 59.949060] Disabling lock debugging due to kernel taint [ 59.954810] Kernel panic - not syncing: panic_on_warn set ... [ 59.960712] CPU: 0 PID: 12 Comm: kworker/0:1 Tainted: G B 5.1.0-rc4-319354-g9a33b36 #3 [ 59.970056] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 59.979410] Workqueue: usb_hub_wq hub_event [ 59.983721] Call Trace: [ 59.986305] dump_stack+0xe8/0x16e [ 59.989840] panic+0x29d/0x5f2 [ 59.993023] ? __warn_printk+0xf8/0xf8 [ 59.996902] ? retint_kernel+0x10/0x10 [ 60.000806] ? trace_hardirqs_on+0x55/0x1c0 [ 60.005123] ? ds_probe+0x604/0x760 [ 60.008740] end_report+0x48/0x4e [ 60.012194] ? ds_probe+0x604/0x760 [ 60.015825] kasan_report.cold+0xd/0x3c [ 60.019792] ? ds_probe+0x604/0x760 [ 60.023411] ds_probe+0x604/0x760 [ 60.026876] usb_probe_interface+0x31d/0x820 [ 60.031288] ? usb_probe_device+0x150/0x150 [ 60.035601] really_probe+0x2da/0xb10 [ 60.039398] driver_probe_device+0x21d/0x350 [ 60.043797] __device_attach_driver+0x1d8/0x290 [ 60.048463] ? driver_allows_async_probing+0x160/0x160 [ 60.053748] bus_for_each_drv+0x163/0x1e0 [ 60.057889] ? bus_rescan_devices+0x30/0x30 [ 60.062206] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 60.067301] ? lockdep_hardirqs_on+0x37e/0x580 [ 60.071893] __device_attach+0x223/0x3a0 [ 60.075949] ? device_bind_driver+0xe0/0xe0 [ 60.080281] ? kobject_uevent_env+0x295/0x13d0 [ 60.084855] bus_probe_device+0x1f1/0x2a0 [ 60.088998] ? blocking_notifier_call_chain+0x59/0xb0 [ 60.094205] device_add+0xad2/0x16e0 [ 60.097913] ? get_device_parent.isra.0+0x560/0x560 [ 60.102919] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 60.108016] usb_set_configuration+0xdf7/0x1740 [ 60.112688] generic_probe+0xa2/0xda [ 60.116395] usb_probe_device+0xc0/0x150 [ 60.120451] ? usb_suspend+0x5f0/0x5f0 [ 60.124418] really_probe+0x2da/0xb10 [ 60.128215] driver_probe_device+0x21d/0x350 [ 60.132700] __device_attach_driver+0x1d8/0x290 [ 60.137358] ? driver_allows_async_probing+0x160/0x160 [ 60.142628] bus_for_each_drv+0x163/0x1e0 [ 60.146788] ? bus_rescan_devices+0x30/0x30 [ 60.151100] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 60.156198] ? lockdep_hardirqs_on+0x37e/0x580 [ 60.160774] __device_attach+0x223/0x3a0 [ 60.164824] ? device_bind_driver+0xe0/0xe0 [ 60.169138] ? kobject_uevent_env+0x295/0x13d0 [ 60.173713] bus_probe_device+0x1f1/0x2a0 [ 60.177854] ? blocking_notifier_call_chain+0x59/0xb0 [ 60.183051] device_add+0xad2/0x16e0 [ 60.186759] ? get_device_parent.isra.0+0x560/0x560 [ 60.191787] usb_new_device.cold+0x537/0xccf [ 60.196194] hub_event+0x138e/0x3b00 [ 60.199913] ? hub_port_debounce+0x350/0x350 [ 60.204319] ? _raw_spin_unlock_irq+0x29/0x40 [ 60.208810] process_one_work+0x90f/0x1580 [ 60.213057] ? wq_pool_ids_show+0x300/0x300 [ 60.217369] ? do_raw_spin_lock+0x11f/0x290 [ 60.221688] worker_thread+0x9b/0xe20 [ 60.225483] ? process_one_work+0x1580/0x1580 [ 60.229969] kthread+0x313/0x420 [ 60.233324] ? kthread_park+0x1a0/0x1a0 [ 60.237292] ret_from_fork+0x3a/0x50 [ 60.241698] Kernel Offset: disabled [ 60.245321] Rebooting in 86400 seconds..