[ 46.415554] audit: type=1800 audit(1555430538.284:27): pid=5249 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2469 res=0 [ 46.435522] audit: type=1800 audit(1555430538.284:28): pid=5249 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. [ 47.246733] audit: type=1800 audit(1555430539.144:29): pid=5249 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 [ 47.266284] audit: type=1800 audit(1555430539.144:30): pid=5249 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.210' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 54.357082] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 54.597021] usb 1-1: Using ep0 maxpacket: 8 [ 54.717077] usb 1-1: config 0 has an invalid interface number: 28 but max is 0 [ 54.724557] usb 1-1: config 0 has no interface number 0 [ 54.730205] usb 1-1: New USB device found, idVendor=04fa, idProduct=2490, bcdDevice=74.f9 [ 54.738550] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 54.747736] usb 1-1: config 0 descriptor?? [ 54.987363] ================================================================== [ 54.994879] BUG: KASAN: use-after-free in ds_probe+0x604/0x760 [ 55.000874] Read of size 1 at addr ffff88809d225082 by task kworker/0:1/12 [ 55.007890] [ 55.009531] CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.1.0-rc4-319354-g9a33b36 #3 [ 55.017476] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 55.026826] Workqueue: usb_hub_wq hub_event [ 55.031307] Call Trace: [ 55.033884] dump_stack+0xe8/0x16e [ 55.037422] ? ds_probe+0x604/0x760 [ 55.041032] ? ds_probe+0x604/0x760 [ 55.044640] print_address_description+0x6c/0x236 [ 55.049464] ? ds_probe+0x604/0x760 [ 55.053092] ? ds_probe+0x604/0x760 [ 55.056701] kasan_report.cold+0x1a/0x3c [ 55.060760] ? ds_probe+0x604/0x760 [ 55.064372] ds_probe+0x604/0x760 [ 55.067816] usb_probe_interface+0x31d/0x820 [ 55.072208] ? usb_probe_device+0x150/0x150 [ 55.076520] really_probe+0x2da/0xb10 [ 55.080321] driver_probe_device+0x21d/0x350 [ 55.084738] __device_attach_driver+0x1d8/0x290 [ 55.089414] ? driver_allows_async_probing+0x160/0x160 [ 55.094674] bus_for_each_drv+0x163/0x1e0 [ 55.100081] ? bus_rescan_devices+0x30/0x30 [ 55.104388] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 55.109584] ? lockdep_hardirqs_on+0x37e/0x580 [ 55.114170] __device_attach+0x223/0x3a0 [ 55.118219] ? device_bind_driver+0xe0/0xe0 [ 55.122549] ? kobject_uevent_env+0x295/0x13d0 [ 55.127123] bus_probe_device+0x1f1/0x2a0 [ 55.131278] ? blocking_notifier_call_chain+0x59/0xb0 [ 55.136455] device_add+0xad2/0x16e0 [ 55.140156] ? get_device_parent.isra.0+0x560/0x560 [ 55.149892] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 55.154985] usb_set_configuration+0xdf7/0x1740 [ 55.159647] generic_probe+0xa2/0xda [ 55.163357] usb_probe_device+0xc0/0x150 [ 55.167401] ? usb_suspend+0x5f0/0x5f0 [ 55.171271] really_probe+0x2da/0xb10 [ 55.175052] driver_probe_device+0x21d/0x350 [ 55.179458] __device_attach_driver+0x1d8/0x290 [ 55.184109] ? driver_allows_async_probing+0x160/0x160 [ 55.189371] bus_for_each_drv+0x163/0x1e0 [ 55.193501] ? bus_rescan_devices+0x30/0x30 [ 55.197821] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 55.202930] ? lockdep_hardirqs_on+0x37e/0x580 [ 55.207502] __device_attach+0x223/0x3a0 [ 55.211545] ? device_bind_driver+0xe0/0xe0 [ 55.215859] ? kobject_uevent_env+0x295/0x13d0 [ 55.220426] bus_probe_device+0x1f1/0x2a0 [ 55.224555] ? blocking_notifier_call_chain+0x59/0xb0 [ 55.229729] device_add+0xad2/0x16e0 [ 55.233443] ? get_device_parent.isra.0+0x560/0x560 [ 55.238464] usb_new_device.cold+0x537/0xccf [ 55.242855] hub_event+0x138e/0x3b00 [ 55.246559] ? hub_port_debounce+0x350/0x350 [ 55.250957] ? _raw_spin_unlock_irq+0x29/0x40 [ 55.255438] process_one_work+0x90f/0x1580 [ 55.259663] ? wq_pool_ids_show+0x300/0x300 [ 55.263993] ? do_raw_spin_lock+0x11f/0x290 [ 55.268306] worker_thread+0x9b/0xe20 [ 55.272095] ? process_one_work+0x1580/0x1580 [ 55.276579] kthread+0x313/0x420 [ 55.279922] ? kthread_park+0x1a0/0x1a0 [ 55.283896] ret_from_fork+0x3a/0x50 [ 55.287597] [ 55.289204] Allocated by task 3736: [ 55.292812] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 55.297736] security_task_alloc+0x113/0x180 [ 55.302212] copy_process.part.0+0x1c62/0x76b0 [ 55.306861] _do_fork+0x234/0xed0 [ 55.310298] do_syscall_64+0xcf/0x4f0 [ 55.314106] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 55.319289] [ 55.320897] Freed by task 3748: [ 55.324158] __kasan_slab_free+0x130/0x180 [ 55.328390] slab_free_freelist_hook+0x5e/0x140 [ 55.333039] kfree+0xce/0x290 [ 55.336122] security_task_free+0x9a/0xf0 [ 55.340264] __put_task_struct+0xec/0x4d0 [ 55.344406] delayed_put_task_struct+0x189/0x290 [ 55.349165] rcu_core+0x83b/0x1a80 [ 55.352685] __do_softirq+0x22a/0x8cd [ 55.356460] [ 55.358065] The buggy address belongs to the object at ffff88809d225060 [ 55.358065] which belongs to the cache kmalloc-64 of size 64 [ 55.370527] The buggy address is located 34 bytes inside of [ 55.370527] 64-byte region [ffff88809d225060, ffff88809d2250a0) [ 55.382221] The buggy address belongs to the page: [ 55.387333] page:ffffea0002748940 count:1 mapcount:0 mapping:ffff88812c3f5600 index:0x0 [ 55.395477] flags: 0xfff00000000200(slab) [ 55.399696] raw: 00fff00000000200 ffffea000284eb80 0000000200000002 ffff88812c3f5600 [ 55.407558] raw: 0000000000000000 00000000002a002a 00000001ffffffff 0000000000000000 [ 55.415435] page dumped because: kasan: bad access detected [ 55.421138] [ 55.422742] Memory state around the buggy address: [ 55.427650] ffff88809d224f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 55.434985] ffff88809d225000: 00 00 00 00 00 00 fc fc fc fc fc fc fb fb fb fb [ 55.442322] >ffff88809d225080: fb fb fb fb fc fc fc fc 00 00 00 00 00 00 00 00 [ 55.449660] ^ [ 55.453008] ffff88809d225100: fc fc fc fc fb fb fb fb fb fb fb fb fc fc fc fc [ 55.460347] ffff88809d225180: fb fb fb fb fb fb fb fb fc fc fc fc 00 00 00 00 [ 55.467681] ================================================================== [ 55.475017] Disabling lock debugging due to kernel taint [ 55.480671] Kernel panic - not syncing: panic_on_warn set ... [ 55.486569] CPU: 0 PID: 12 Comm: kworker/0:1 Tainted: G B 5.1.0-rc4-319354-g9a33b36 #3 [ 55.495911] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 55.505268] Workqueue: usb_hub_wq hub_event [ 55.509579] Call Trace: [ 55.512174] dump_stack+0xe8/0x16e [ 55.515713] panic+0x29d/0x5f2 [ 55.518996] ? __warn_printk+0xf8/0xf8 [ 55.522875] ? retint_kernel+0x10/0x10 [ 55.526778] ? trace_hardirqs_on+0x55/0x1c0 [ 55.531115] ? ds_probe+0x604/0x760 [ 55.534732] end_report+0x48/0x4e [ 55.538203] ? ds_probe+0x604/0x760 [ 55.541820] kasan_report.cold+0xd/0x3c [ 55.545877] ? ds_probe+0x604/0x760 [ 55.549498] ds_probe+0x604/0x760 [ 55.552950] usb_probe_interface+0x31d/0x820 [ 55.557365] ? usb_probe_device+0x150/0x150 [ 55.561688] really_probe+0x2da/0xb10 [ 55.565515] driver_probe_device+0x21d/0x350 [ 55.569918] __device_attach_driver+0x1d8/0x290 [ 55.574578] ? driver_allows_async_probing+0x160/0x160 [ 55.579852] bus_for_each_drv+0x163/0x1e0 [ 55.584002] ? bus_rescan_devices+0x30/0x30 [ 55.588319] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 55.593420] ? lockdep_hardirqs_on+0x37e/0x580 [ 55.597999] __device_attach+0x223/0x3a0 [ 55.602051] ? device_bind_driver+0xe0/0xe0 [ 55.606368] ? kobject_uevent_env+0x295/0x13d0 [ 55.610945] bus_probe_device+0x1f1/0x2a0 [ 55.615086] ? blocking_notifier_call_chain+0x59/0xb0 [ 55.620271] device_add+0xad2/0x16e0 [ 55.623980] ? get_device_parent.isra.0+0x560/0x560 [ 55.628995] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 55.634096] usb_set_configuration+0xdf7/0x1740 [ 55.638769] generic_probe+0xa2/0xda [ 55.642480] usb_probe_device+0xc0/0x150 [ 55.646534] ? usb_suspend+0x5f0/0x5f0 [ 55.650411] really_probe+0x2da/0xb10 [ 55.654207] driver_probe_device+0x21d/0x350 [ 55.658607] __device_attach_driver+0x1d8/0x290 [ 55.663361] ? driver_allows_async_probing+0x160/0x160 [ 55.668631] bus_for_each_drv+0x163/0x1e0 [ 55.672773] ? bus_rescan_devices+0x30/0x30 [ 55.677099] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 55.682198] ? lockdep_hardirqs_on+0x37e/0x580 [ 55.686772] __device_attach+0x223/0x3a0 [ 55.690829] ? device_bind_driver+0xe0/0xe0 [ 55.695143] ? kobject_uevent_env+0x295/0x13d0 [ 55.699718] bus_probe_device+0x1f1/0x2a0 [ 55.703864] ? blocking_notifier_call_chain+0x59/0xb0 [ 55.709051] device_add+0xad2/0x16e0 [ 55.712760] ? get_device_parent.isra.0+0x560/0x560 [ 55.717771] usb_new_device.cold+0x537/0xccf [ 55.722177] hub_event+0x138e/0x3b00 [ 55.725894] ? hub_port_debounce+0x350/0x350 [ 55.730324] ? _raw_spin_unlock_irq+0x29/0x40 [ 55.735348] process_one_work+0x90f/0x1580 [ 55.739585] ? wq_pool_ids_show+0x300/0x300 [ 55.743903] ? do_raw_spin_lock+0x11f/0x290 [ 55.748224] worker_thread+0x9b/0xe20 [ 55.752018] ? process_one_work+0x1580/0x1580 [ 55.756502] kthread+0x313/0x420 [ 55.759870] ? kthread_park+0x1a0/0x1a0 [ 55.763841] ret_from_fork+0x3a/0x50 [ 55.768234] Kernel Offset: disabled [ 55.771855] Rebooting in 86400 seconds..