[ 48.251428] audit: type=1800 audit(1555459670.224:27): pid=5380 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.251450] audit: type=1800 audit(1555459670.224:28): pid=5380 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.977449] audit: type=1800 audit(1555459670.994:29): pid=5380 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.996913] audit: type=1800 audit(1555459670.994:30): pid=5380 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.104' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 71.925934] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 72.165957] usb 1-1: Using ep0 maxpacket: 8 [ 72.286003] usb 1-1: config 0 has an invalid interface number: 28 but max is 0 [ 72.294553] usb 1-1: config 0 has no interface number 0 [ 72.300772] usb 1-1: New USB device found, idVendor=04fa, idProduct=2490, bcdDevice=74.f9 [ 72.310749] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 72.320659] usb 1-1: config 0 descriptor?? [ 72.566193] ================================================================== [ 72.574482] BUG: KASAN: use-after-free in ds_probe+0x604/0x760 [ 72.581355] Read of size 1 at addr ffff8880a85fd9e2 by task kworker/1:1/21 [ 72.588544] [ 72.590306] CPU: 1 PID: 21 Comm: kworker/1:1 Not tainted 5.1.0-rc4-319354-g9a33b36 #3 [ 72.599393] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 72.609257] Workqueue: usb_hub_wq hub_event [ 72.614168] Call Trace: [ 72.616986] dump_stack+0xe8/0x16e [ 72.620850] ? ds_probe+0x604/0x760 [ 72.624872] ? ds_probe+0x604/0x760 [ 72.629552] print_address_description+0x6c/0x236 [ 72.635316] ? ds_probe+0x604/0x760 [ 72.639136] ? ds_probe+0x604/0x760 [ 72.642940] kasan_report.cold+0x1a/0x3c [ 72.647768] ? ds_probe+0x604/0x760 [ 72.651413] ds_probe+0x604/0x760 [ 72.655358] usb_probe_interface+0x31d/0x820 [ 72.660034] ? usb_probe_device+0x150/0x150 [ 72.664842] really_probe+0x2da/0xb10 [ 72.669702] driver_probe_device+0x21d/0x350 [ 72.674186] __device_attach_driver+0x1d8/0x290 [ 72.679787] ? driver_allows_async_probing+0x160/0x160 [ 72.685798] bus_for_each_drv+0x163/0x1e0 [ 72.690393] ? bus_rescan_devices+0x30/0x30 [ 72.695147] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 72.700863] ? lockdep_hardirqs_on+0x37e/0x580 [ 72.705459] __device_attach+0x223/0x3a0 [ 72.710224] ? device_bind_driver+0xe0/0xe0 [ 72.715348] ? kobject_uevent_env+0x295/0x13d0 [ 72.720784] bus_probe_device+0x1f1/0x2a0 [ 72.725377] ? blocking_notifier_call_chain+0x59/0xb0 [ 72.731036] device_add+0xad2/0x16e0 [ 72.735048] ? get_device_parent.isra.0+0x560/0x560 [ 72.741025] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 72.746520] usb_set_configuration+0xdf7/0x1740 [ 72.753106] generic_probe+0xa2/0xda [ 72.756856] usb_probe_device+0xc0/0x150 [ 72.761556] ? usb_suspend+0x5f0/0x5f0 [ 72.765711] really_probe+0x2da/0xb10 [ 72.769654] driver_probe_device+0x21d/0x350 [ 72.774171] __device_attach_driver+0x1d8/0x290 [ 72.779033] ? driver_allows_async_probing+0x160/0x160 [ 72.784325] bus_for_each_drv+0x163/0x1e0 [ 72.789365] ? bus_rescan_devices+0x30/0x30 [ 72.793708] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 72.798831] ? lockdep_hardirqs_on+0x37e/0x580 [ 72.803522] __device_attach+0x223/0x3a0 [ 72.807732] ? device_bind_driver+0xe0/0xe0 [ 72.812334] ? kobject_uevent_env+0x295/0x13d0 [ 72.817253] bus_probe_device+0x1f1/0x2a0 [ 72.821692] ? blocking_notifier_call_chain+0x59/0xb0 [ 72.827014] device_add+0xad2/0x16e0 [ 72.830862] ? get_device_parent.isra.0+0x560/0x560 [ 72.836304] usb_new_device.cold+0x537/0xccf [ 72.841174] hub_event+0x138e/0x3b00 [ 72.845129] ? hub_port_debounce+0x350/0x350 [ 72.849572] ? _raw_spin_unlock_irq+0x29/0x40 [ 72.854118] process_one_work+0x90f/0x1580 [ 72.858384] ? wq_pool_ids_show+0x300/0x300 [ 72.862908] ? do_raw_spin_lock+0x11f/0x290 [ 72.867963] worker_thread+0x9b/0xe20 [ 72.871793] ? process_one_work+0x1580/0x1580 [ 72.876393] kthread+0x313/0x420 [ 72.879805] ? kthread_park+0x1a0/0x1a0 [ 72.883892] ret_from_fork+0x3a/0x50 [ 72.887625] [ 72.889323] Allocated by task 21: [ 72.892797] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 72.897827] hub_port_init+0x79b/0x2d30 [ 72.902038] hub_event+0x11b8/0x3b00 [ 72.905796] process_one_work+0x90f/0x1580 [ 72.910138] worker_thread+0x9b/0xe20 [ 72.914288] kthread+0x313/0x420 [ 72.917675] ret_from_fork+0x3a/0x50 [ 72.921389] [ 72.923140] Freed by task 21: [ 72.926264] __kasan_slab_free+0x130/0x180 [ 72.930619] slab_free_freelist_hook+0x5e/0x140 [ 72.935400] kfree+0xce/0x290 [ 72.938716] hub_port_init+0x91f/0x2d30 [ 72.942707] hub_event+0x11b8/0x3b00 [ 72.946754] process_one_work+0x90f/0x1580 [ 72.951190] worker_thread+0x9b/0xe20 [ 72.955015] kthread+0x313/0x420 [ 72.958411] ret_from_fork+0x3a/0x50 [ 72.962194] [ 72.963834] The buggy address belongs to the object at ffff8880a85fd9c0 [ 72.963834] which belongs to the cache kmalloc-64 of size 64 [ 72.976799] The buggy address is located 34 bytes inside of [ 72.976799] 64-byte region [ffff8880a85fd9c0, ffff8880a85fda00) [ 72.988665] The buggy address belongs to the page: [ 72.993794] page:ffffea0002a17f40 count:1 mapcount:0 mapping:ffff88812c3f5600 index:0xffff8880a85fd900 [ 73.003271] flags: 0xfff00000000200(slab) [ 73.007465] raw: 00fff00000000200 ffffea00025f80c0 0000000c0000000c ffff88812c3f5600 [ 73.015514] raw: ffff8880a85fd900 00000000802a0026 00000001ffffffff 0000000000000000 [ 73.023412] page dumped because: kasan: bad access detected [ 73.029296] [ 73.030980] Memory state around the buggy address: [ 73.036039] ffff8880a85fd880: fc fc fc fc fb fb fb fb fb fb fb fb fc fc fc fc [ 73.043531] ffff8880a85fd900: fb fb fb fb fb fb fb fb fc fc fc fc 00 00 00 00 [ 73.050906] >ffff8880a85fd980: 00 00 fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 73.058683] ^ executing program [ 73.065495] ffff8880a85fda00: fc fc fc fc fb fb fb fb fb fb fb fb fc fc fc fc [ 73.072870] ffff8880a85fda80: fb fb fb fb fb fb fb fb fc fc fc fc fb fb fb fb [ 73.080393] ================================================================== [ 73.087762] Disabling lock debugging due to kernel taint [ 73.093360] Kernel panic - not syncing: panic_on_warn set ... [ 73.099365] CPU: 1 PID: 21 Comm: kworker/1:1 Tainted: G B 5.1.0-rc4-319354-g9a33b36 #3 [ 73.108913] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 73.118785] Workqueue: usb_hub_wq hub_event [ 73.123417] Call Trace: [ 73.126131] dump_stack+0xe8/0x16e [ 73.130212] panic+0x29d/0x5f2 [ 73.133416] ? __warn_printk+0xf8/0xf8 [ 73.137646] ? retint_kernel+0x10/0x10 [ 73.141805] ? trace_hardirqs_on+0x55/0x1c0 [ 73.146861] ? ds_probe+0x604/0x760 [ 73.150902] end_report+0x48/0x4e [ 73.154782] ? ds_probe+0x604/0x760 [ 73.159239] kasan_report.cold+0xd/0x3c [ 73.163773] ? ds_probe+0x604/0x760 [ 73.167601] ds_probe+0x604/0x760 [ 73.171354] usb_probe_interface+0x31d/0x820 [ 73.175779] ? usb_probe_device+0x150/0x150 [ 73.181046] really_probe+0x2da/0xb10 [ 73.185692] driver_probe_device+0x21d/0x350 [ 73.190465] __device_attach_driver+0x1d8/0x290 [ 73.195900] ? driver_allows_async_probing+0x160/0x160 [ 73.201372] bus_for_each_drv+0x163/0x1e0 [ 73.205813] ? bus_rescan_devices+0x30/0x30 [ 73.210143] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 73.215720] ? lockdep_hardirqs_on+0x37e/0x580 [ 73.220914] __device_attach+0x223/0x3a0 [ 73.225339] ? device_bind_driver+0xe0/0xe0 [ 73.229825] ? kobject_uevent_env+0x295/0x13d0 [ 73.234807] bus_probe_device+0x1f1/0x2a0 [ 73.239389] ? blocking_notifier_call_chain+0x59/0xb0 [ 73.244752] device_add+0xad2/0x16e0 [ 73.249357] ? get_device_parent.isra.0+0x560/0x560 [ 73.255001] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 73.260734] usb_set_configuration+0xdf7/0x1740 [ 73.265871] generic_probe+0xa2/0xda [ 73.270238] usb_probe_device+0xc0/0x150 [ 73.276133] ? usb_suspend+0x5f0/0x5f0 [ 73.280939] really_probe+0x2da/0xb10 [ 73.284883] driver_probe_device+0x21d/0x350 [ 73.289448] __device_attach_driver+0x1d8/0x290 [ 73.294495] ? driver_allows_async_probing+0x160/0x160 [ 73.300195] bus_for_each_drv+0x163/0x1e0 [ 73.304591] ? bus_rescan_devices+0x30/0x30 [ 73.309117] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 73.314483] ? lockdep_hardirqs_on+0x37e/0x580 [ 73.319423] __device_attach+0x223/0x3a0 [ 73.323875] ? device_bind_driver+0xe0/0xe0 [ 73.328857] ? kobject_uevent_env+0x295/0x13d0 [ 73.333704] bus_probe_device+0x1f1/0x2a0 [ 73.338406] ? blocking_notifier_call_chain+0x59/0xb0 [ 73.344143] device_add+0xad2/0x16e0 [ 73.349047] ? get_device_parent.isra.0+0x560/0x560 [ 73.354393] usb_new_device.cold+0x537/0xccf [ 73.359299] hub_event+0x138e/0x3b00 [ 73.363144] ? hub_port_debounce+0x350/0x350 [ 73.367827] ? _raw_spin_unlock_irq+0x29/0x40 [ 73.372508] process_one_work+0x90f/0x1580 [ 73.377219] ? wq_pool_ids_show+0x300/0x300 [ 73.381675] ? do_raw_spin_lock+0x11f/0x290 [ 73.386516] worker_thread+0x9b/0xe20 [ 73.390930] ? process_one_work+0x1580/0x1580 [ 73.395742] kthread+0x313/0x420 [ 73.399759] ? kthread_park+0x1a0/0x1a0 [ 73.404438] ret_from_fork+0x3a/0x50 [ 73.409735] Kernel Offset: disabled [ 73.414550] Rebooting in 86400 seconds..