[ 43.114438] audit: type=1800 audit(1555532062.268:27): pid=5275 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2469 res=0 [ 43.134363] audit: type=1800 audit(1555532062.268:28): pid=5275 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. [ 43.701040] audit: type=1800 audit(1555532062.888:29): pid=5275 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 [ 43.720422] audit: type=1800 audit(1555532062.898:30): pid=5275 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.20' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 57.954293] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 58.194260] usb 1-1: Using ep0 maxpacket: 8 [ 58.314341] usb 1-1: config 0 has an invalid interface number: 28 but max is 0 [ 58.321871] usb 1-1: config 0 has no interface number 0 [ 58.327449] usb 1-1: New USB device found, idVendor=04fa, idProduct=2490, bcdDevice=74.f9 [ 58.335844] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 58.345069] usb 1-1: config 0 descriptor?? [ 58.584561] ================================================================== [ 58.592601] BUG: KASAN: use-after-free in ds_probe+0x604/0x760 [ 58.598802] Read of size 1 at addr ffff8880a52c95c2 by task kworker/1:1/21 [ 58.606429] [ 58.608060] CPU: 1 PID: 21 Comm: kworker/1:1 Not tainted 5.1.0-rc5-319617-gd34f951 #4 [ 58.616423] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.625999] Workqueue: usb_hub_wq hub_event [ 58.630326] Call Trace: [ 58.632915] dump_stack+0xe8/0x16e [ 58.636551] ? ds_probe+0x604/0x760 [ 58.640263] ? ds_probe+0x604/0x760 [ 58.643936] print_address_description+0x6c/0x236 [ 58.648790] ? ds_probe+0x604/0x760 [ 58.652423] ? ds_probe+0x604/0x760 [ 58.656095] kasan_report.cold+0x1a/0x3c [ 58.660879] ? ds_probe+0x604/0x760 [ 58.664609] ds_probe+0x604/0x760 [ 58.668069] usb_probe_interface+0x31d/0x820 [ 58.672478] ? usb_probe_device+0x150/0x150 [ 58.676842] really_probe+0x2da/0xb10 [ 58.680652] driver_probe_device+0x21d/0x350 [ 58.685056] __device_attach_driver+0x1d8/0x290 [ 58.689949] ? driver_allows_async_probing+0x160/0x160 [ 58.695237] bus_for_each_drv+0x163/0x1e0 [ 58.699413] ? bus_rescan_devices+0x30/0x30 [ 58.703736] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 58.709099] ? lockdep_hardirqs_on+0x37e/0x580 [ 58.713858] __device_attach+0x223/0x3a0 [ 58.718163] ? device_bind_driver+0xe0/0xe0 [ 58.722723] ? kobject_uevent_env+0x295/0x13d0 [ 58.727302] bus_probe_device+0x1f1/0x2a0 [ 58.732337] ? blocking_notifier_call_chain+0x59/0xb0 [ 58.738343] device_add+0xad2/0x16e0 [ 58.742180] ? get_device_parent.isra.0+0x560/0x560 [ 58.747201] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 58.752300] usb_set_configuration+0xdf7/0x1740 [ 58.757108] generic_probe+0xa2/0xda [ 58.761569] usb_probe_device+0xc0/0x150 [ 58.765844] ? usb_suspend+0x5f0/0x5f0 [ 58.769797] really_probe+0x2da/0xb10 [ 58.773654] driver_probe_device+0x21d/0x350 [ 58.778177] __device_attach_driver+0x1d8/0x290 [ 58.782857] ? driver_allows_async_probing+0x160/0x160 [ 58.788138] bus_for_each_drv+0x163/0x1e0 [ 58.792278] ? bus_rescan_devices+0x30/0x30 [ 58.796590] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 58.801680] ? lockdep_hardirqs_on+0x37e/0x580 [ 58.806262] __device_attach+0x223/0x3a0 [ 58.810334] ? device_bind_driver+0xe0/0xe0 [ 58.814723] ? kobject_uevent_env+0x295/0x13d0 [ 58.819441] bus_probe_device+0x1f1/0x2a0 [ 58.823595] ? blocking_notifier_call_chain+0x59/0xb0 [ 58.828877] device_add+0xad2/0x16e0 [ 58.832611] ? get_device_parent.isra.0+0x560/0x560 [ 58.837626] usb_new_device.cold+0x537/0xccf [ 58.842022] hub_event+0x1398/0x3b00 [ 58.845826] ? hub_port_debounce+0x350/0x350 [ 58.850256] ? _raw_spin_unlock_irq+0x29/0x40 [ 58.855279] process_one_work+0x90f/0x1580 [ 58.859544] ? wq_pool_ids_show+0x300/0x300 [ 58.863872] ? do_raw_spin_lock+0x11f/0x290 [ 58.868193] worker_thread+0x9b/0xe20 [ 58.871984] ? process_one_work+0x1580/0x1580 [ 58.876462] kthread+0x313/0x420 [ 58.879828] ? kthread_park+0x1a0/0x1a0 [ 58.883813] ret_from_fork+0x3a/0x50 [ 58.887534] [ 58.889158] Allocated by task 1303: [ 58.892785] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 58.897707] security_task_alloc+0x113/0x180 [ 58.902103] copy_process.part.0+0x1c62/0x76b0 [ 58.906802] _do_fork+0x234/0xed0 [ 58.910251] do_syscall_64+0xcf/0x4f0 [ 58.914042] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.919293] [ 58.921038] Freed by task 1167: [ 58.924319] __kasan_slab_free+0x130/0x180 [ 58.928540] slab_free_freelist_hook+0x5e/0x140 [ 58.933355] kfree+0xce/0x280 [ 58.936458] security_task_free+0x9a/0xf0 [ 58.940723] __put_task_struct+0xec/0x4d0 [ 58.945141] delayed_put_task_struct+0x189/0x290 [ 58.949921] rcu_core+0x843/0x1a90 [ 58.953541] __do_softirq+0x22a/0x8cd [ 58.957332] [ 58.958949] The buggy address belongs to the object at ffff8880a52c95a0 [ 58.958949] which belongs to the cache kmalloc-64 of size 64 [ 58.971705] The buggy address is located 34 bytes inside of [ 58.971705] 64-byte region [ffff8880a52c95a0, ffff8880a52c95e0) [ 58.983529] The buggy address belongs to the page: [ 58.988463] page:ffffea000294b240 count:1 mapcount:0 mapping:ffff88812c3f5600 index:0x0 [ 58.996665] flags: 0xfff00000000200(slab) [ 59.000804] raw: 00fff00000000200 ffffea00027c3940 0000000f0000000f ffff88812c3f5600 [ 59.008753] raw: 0000000000000000 00000000002a002a 00000001ffffffff 0000000000000000 [ 59.016628] page dumped because: kasan: bad access detected [ 59.022317] [ 59.023920] Memory state around the buggy address: [ 59.028931] ffff8880a52c9480: 00 00 00 00 00 00 00 00 fc fc fc fc fb fb fb fb [ 59.036462] ffff8880a52c9500: fb fb fb fb fc fc fc fc 00 00 00 00 00 00 fc fc [ 59.043830] >ffff8880a52c9580: fc fc fc fc fb fb fb fb fb fb fb fb fc fc fc fc [ 59.051376] ^ [ 59.056835] ffff8880a52c9600: fb fb fb fb fb fb fb fb fc fc fc fc 00 00 00 00 [ 59.064199] ffff8880a52c9680: 00 00 00 00 fc fc fc fc fb fb fb fb fb fb fb fb [ 59.071883] ================================================================== [ 59.079523] Disabling lock debugging due to kernel taint [ 59.085882] Kernel panic - not syncing: panic_on_warn set ... [ 59.092364] CPU: 1 PID: 21 Comm: kworker/1:1 Tainted: G B 5.1.0-rc5-319617-gd34f951 #4 [ 59.103162] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 59.112537] Workqueue: usb_hub_wq hub_event [ 59.117019] Call Trace: [ 59.119888] dump_stack+0xe8/0x16e [ 59.123584] panic+0x29d/0x5f2 [ 59.127163] ? __warn_printk+0xf8/0xf8 [ 59.131713] ? retint_kernel+0x10/0x10 [ 59.136302] ? trace_hardirqs_on+0x55/0x1c0 [ 59.141558] ? ds_probe+0x604/0x760 [ 59.145807] end_report+0x48/0x4e [ 59.149248] ? ds_probe+0x604/0x760 [ 59.153166] kasan_report.cold+0xd/0x3c [ 59.157142] ? ds_probe+0x604/0x760 [ 59.161018] ds_probe+0x604/0x760 [ 59.164483] usb_probe_interface+0x31d/0x820 [ 59.168900] ? usb_probe_device+0x150/0x150 [ 59.173236] really_probe+0x2da/0xb10 [ 59.177379] driver_probe_device+0x21d/0x350 [ 59.181993] __device_attach_driver+0x1d8/0x290 [ 59.187134] ? driver_allows_async_probing+0x160/0x160 [ 59.192812] bus_for_each_drv+0x163/0x1e0 [ 59.196983] ? bus_rescan_devices+0x30/0x30 [ 59.201399] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 59.206520] ? lockdep_hardirqs_on+0x37e/0x580 [ 59.211277] __device_attach+0x223/0x3a0 [ 59.215652] ? device_bind_driver+0xe0/0xe0 [ 59.220671] ? kobject_uevent_env+0x295/0x13d0 [ 59.225363] bus_probe_device+0x1f1/0x2a0 [ 59.229650] ? blocking_notifier_call_chain+0x59/0xb0 [ 59.234938] device_add+0xad2/0x16e0 [ 59.238667] ? get_device_parent.isra.0+0x560/0x560 [ 59.243836] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 59.249987] usb_set_configuration+0xdf7/0x1740 [ 59.255489] generic_probe+0xa2/0xda [ 59.259733] usb_probe_device+0xc0/0x150 [ 59.264266] ? usb_suspend+0x5f0/0x5f0 [ 59.268345] really_probe+0x2da/0xb10 [ 59.272672] driver_probe_device+0x21d/0x350 [ 59.277269] __device_attach_driver+0x1d8/0x290 [ 59.282322] ? driver_allows_async_probing+0x160/0x160 [ 59.287687] bus_for_each_drv+0x163/0x1e0 [ 59.292120] ? bus_rescan_devices+0x30/0x30 [ 59.296847] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 59.302057] ? lockdep_hardirqs_on+0x37e/0x580 [ 59.307758] __device_attach+0x223/0x3a0 [ 59.311817] ? device_bind_driver+0xe0/0xe0 [ 59.317097] ? kobject_uevent_env+0x295/0x13d0 [ 59.321837] bus_probe_device+0x1f1/0x2a0 [ 59.326896] ? blocking_notifier_call_chain+0x59/0xb0 [ 59.332607] device_add+0xad2/0x16e0 [ 59.336415] ? get_device_parent.isra.0+0x560/0x560 [ 59.342188] usb_new_device.cold+0x537/0xccf [ 59.346943] hub_event+0x1398/0x3b00 [ 59.351076] ? hub_port_debounce+0x350/0x350 [ 59.355497] ? _raw_spin_unlock_irq+0x29/0x40 [ 59.360129] process_one_work+0x90f/0x1580 [ 59.364497] ? wq_pool_ids_show+0x300/0x300 [ 59.368935] ? do_raw_spin_lock+0x11f/0x290 [ 59.373806] worker_thread+0x9b/0xe20 [ 59.377598] ? process_one_work+0x1580/0x1580 [ 59.382197] kthread+0x313/0x420 [ 59.385885] ? kthread_park+0x1a0/0x1a0 [ 59.390088] ret_from_fork+0x3a/0x50 [ 59.395283] Kernel Offset: disabled [ 59.399855] Rebooting in 86400 seconds..