[ 47.104159] audit: type=1800 audit(1555242043.869:26): pid=5390 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2490 res=0 [ 47.129691] audit: type=1800 audit(1555242043.879:27): pid=5390 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.152065] audit: type=1800 audit(1555242043.879:28): pid=5390 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.034999] audit: type=1800 audit(1555242044.829:29): pid=5390 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 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.10.22' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 57.403063] usb 2-1: new high-speed USB device number 2 using dummy_hcd [ 57.410380] usb 3-1: new high-speed USB device number 2 using dummy_hcd [ 57.423035] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 57.423658] usb 4-1: new high-speed USB device number 2 using dummy_hcd [ 57.430018] usb 5-1: new high-speed USB device number 2 using dummy_hcd [ 57.443628] usb 6-1: new high-speed USB device number 2 using dummy_hcd [ 57.643112] usb 2-1: Using ep0 maxpacket: 8 [ 57.653216] usb 3-1: Using ep0 maxpacket: 8 [ 57.673060] usb 4-1: Using ep0 maxpacket: 8 [ 57.683025] usb 1-1: Using ep0 maxpacket: 8 [ 57.703066] usb 5-1: Using ep0 maxpacket: 8 [ 57.707612] usb 6-1: Using ep0 maxpacket: 8 [ 57.763111] usb 2-1: config 0 has an invalid interface number: 110 but max is 0 [ 57.770806] usb 2-1: config 0 has no interface number 0 [ 57.776572] usb 3-1: config 0 has an invalid interface number: 110 but max is 0 [ 57.784093] usb 3-1: config 0 has no interface number 0 [ 57.789658] usb 3-1: New USB device found, idVendor=0841, idProduct=0001, bcdDevice=ed.74 [ 57.798143] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 57.805975] usb 4-1: config 0 has an invalid interface number: 110 but max is 0 [ 57.813168] usb 1-1: config 0 has an invalid interface number: 110 but max is 0 [ 57.813523] usb 4-1: config 0 has no interface number 0 [ 57.821062] usb 1-1: config 0 has no interface number 0 [ 57.826513] usb 2-1: New USB device found, idVendor=0841, idProduct=0001, bcdDevice=ed.74 [ 57.832712] usb 1-1: New USB device found, idVendor=0841, idProduct=0001, bcdDevice=ed.74 [ 57.840292] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 57.841423] usb 4-1: New USB device found, idVendor=0841, idProduct=0001, bcdDevice=ed.74 [ 57.848814] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 57.856702] usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 57.865838] usb 5-1: config 0 has an invalid interface number: 110 but max is 0 [ 57.878717] usb 2-1: config 0 descriptor?? [ 57.879782] usb 5-1: config 0 has no interface number 0 [ 57.892148] usb 3-1: config 0 descriptor?? [ 57.897220] usb 6-1: config 0 has an invalid interface number: 110 but max is 0 [ 57.907846] usb 4-1: config 0 descriptor?? [ 57.908985] usb 6-1: config 0 has no interface number 0 [ 57.918687] usb 6-1: New USB device found, idVendor=0841, idProduct=0001, bcdDevice=ed.74 [ 57.927222] usb 6-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 57.935242] usb 5-1: New USB device found, idVendor=0841, idProduct=0001, bcdDevice=ed.74 [ 57.936923] rio500 2-1:0.110: USB Rio found at address 2 [ 57.943687] usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 57.944119] usb 1-1: config 0 descriptor?? [ 57.953486] rio500 3-1:0.110: USB Rio found at address 2 [ 57.962123] usb 6-1: config 0 descriptor?? [ 57.972050] usb 5-1: config 0 descriptor?? [ 57.975012] rio500 4-1:0.110: USB Rio found at address 2 [ 58.014567] rio500 1-1:0.110: USB Rio found at address 2 [ 58.024503] rio500 5-1:0.110: USB Rio found at address 2 [ 58.032197] rio500 6-1:0.110: USB Rio found at address 2 executing program executing program [ 58.116496] usb 3-1: USB disconnect, device number 2 [ 58.116502] usb 2-1: USB disconnect, device number 2 [ 58.120504] rio500 2-1:0.110: USB Rio disconnected. [ 58.133540] ================================================================== [ 58.141123] BUG: KASAN: double-free or invalid-free in kfree+0xce/0x290 [ 58.147887] [ 58.149533] CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.1.0-rc4-319354-g9a33b36 #3 [ 58.157512] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.174360] Workqueue: usb_hub_wq hub_event [ 58.178695] Call Trace: [ 58.181380] dump_stack+0xe8/0x16e [ 58.184933] print_address_description+0x6c/0x236 [ 58.189776] ? kfree+0xce/0x290 [ 58.193216] kasan_report_invalid_free+0x66/0xa0 [ 58.195285] usb 1-1: USB disconnect, device number 2 [ 58.197976] ? kfree+0xce/0x290 [ 58.206365] __kasan_slab_free+0x162/0x180 [ 58.210637] slab_free_freelist_hook+0x5e/0x140 executing program executing program executing program [ 58.215499] ? disconnect_rio+0x13b/0x200 [ 58.218906] usb 5-1: USB disconnect, device number 2 [ 58.219663] ? disconnect_rio+0x13b/0x200 [ 58.224862] usb 6-1: USB disconnect, device number 2 [ 58.228923] kfree+0xce/0x290 [ 58.237139] disconnect_rio+0x13b/0x200 [ 58.241131] usb_unbind_interface+0x1c9/0x980 [ 58.245662] ? usb_autoresume_device+0x60/0x60 [ 58.250356] device_release_driver_internal+0x436/0x4f0 [ 58.255843] bus_remove_device+0x302/0x5c0 [ 58.260130] device_del+0x467/0xb90 [ 58.263782] ? mark_held_locks+0x9f/0xe0 [ 58.267977] ? __device_links_no_driver+0x240/0x240 [ 58.272998] ? lockdep_hardirqs_on+0x37e/0x580 [ 58.277613] ? remove_intf_ep_devs+0x144/0x1d0 [ 58.282226] usb_disable_device+0x242/0x790 [ 58.286576] usb_disconnect+0x298/0x870 [ 58.290611] hub_event+0xcd2/0x3b00 [ 58.294277] ? mark_held_locks+0xe0/0xe0 [ 58.298337] ? hub_port_debounce+0x350/0x350 [ 58.302748] ? _raw_spin_unlock_irq+0x29/0x40 [ 58.307259] process_one_work+0x90f/0x1580 [ 58.311499] ? wq_pool_ids_show+0x300/0x300 [ 58.315815] ? do_raw_spin_lock+0x11f/0x290 [ 58.320158] worker_thread+0x9b/0xe20 [ 58.323972] ? process_one_work+0x1580/0x1580 [ 58.328823] kthread+0x313/0x420 [ 58.332603] ? kthread_park+0x1a0/0x1a0 [ 58.336604] ret_from_fork+0x3a/0x50 [ 58.340334] [ 58.341970] Allocated by task 584: [ 58.345580] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 58.350640] probe_rio+0x188/0x268 [ 58.354179] usb_probe_interface+0x31d/0x820 [ 58.358580] really_probe+0x2da/0xb10 [ 58.362388] driver_probe_device+0x21d/0x350 [ 58.366815] __device_attach_driver+0x1d8/0x290 [ 58.371487] bus_for_each_drv+0x163/0x1e0 [ 58.375735] __device_attach+0x223/0x3a0 [ 58.379876] bus_probe_device+0x1f1/0x2a0 [ 58.384223] device_add+0xad2/0x16e0 [ 58.387945] usb_set_configuration+0xdf7/0x1740 [ 58.392612] generic_probe+0xa2/0xda [ 58.396335] usb_probe_device+0xc0/0x150 [ 58.400404] really_probe+0x2da/0xb10 [ 58.404203] driver_probe_device+0x21d/0x350 [ 58.408700] __device_attach_driver+0x1d8/0x290 [ 58.413369] bus_for_each_drv+0x163/0x1e0 [ 58.417530] __device_attach+0x223/0x3a0 [ 58.421606] bus_probe_device+0x1f1/0x2a0 [ 58.425751] device_add+0xad2/0x16e0 [ 58.429459] usb_new_device.cold+0x537/0xccf [ 58.433866] hub_event+0x138e/0x3b00 [ 58.437575] process_one_work+0x90f/0x1580 [ 58.441815] worker_thread+0x9b/0xe20 [ 58.445880] kthread+0x313/0x420 [ 58.449353] ret_from_fork+0x3a/0x50 [ 58.453048] [ 58.455228] Freed by task 584: [ 58.458415] __kasan_slab_free+0x130/0x180 [ 58.462651] slab_free_freelist_hook+0x5e/0x140 [ 58.467314] kfree+0xce/0x290 [ 58.470412] disconnect_rio+0x13b/0x200 [ 58.474656] usb_unbind_interface+0x1c9/0x980 [ 58.479172] device_release_driver_internal+0x436/0x4f0 [ 58.484550] bus_remove_device+0x302/0x5c0 [ 58.488779] device_del+0x467/0xb90 [ 58.492573] usb_disable_device+0x242/0x790 [ 58.496906] usb_disconnect+0x298/0x870 [ 58.500903] hub_event+0xcd2/0x3b00 [ 58.504526] process_one_work+0x90f/0x1580 [ 58.508775] worker_thread+0x9b/0xe20 [ 58.512580] kthread+0x313/0x420 [ 58.515970] ret_from_fork+0x3a/0x50 [ 58.519687] [ 58.521308] The buggy address belongs to the object at ffff88808fe8e600 [ 58.521308] which belongs to the cache kmalloc-4k of size 4096 [ 58.533964] The buggy address is located 0 bytes inside of [ 58.533964] 4096-byte region [ffff88808fe8e600, ffff88808fe8f600) [ 58.545763] The buggy address belongs to the page: [ 58.550698] page:ffffea00023fa200 count:1 mapcount:0 mapping:ffff88812c3f4600 index:0x0 compound_mapcount: 0 [ 58.560770] flags: 0xfff00000010200(slab|head) [ 58.565372] raw: 00fff00000010200 dead000000000100 dead000000000200 ffff88812c3f4600 [ 58.573433] raw: 0000000000000000 0000000000070007 00000001ffffffff 0000000000000000 [ 58.581321] page dumped because: kasan: bad access detected [ 58.587035] [ 58.588664] Memory state around the buggy address: [ 58.593609] ffff88808fe8e500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 58.608817] ffff88808fe8e580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 58.616181] >ffff88808fe8e600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.623568] ^ [ 58.626939] ffff88808fe8e680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.634666] ffff88808fe8e700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.642023] ================================================================== [ 58.649403] Disabling lock debugging due to kernel taint [ 58.654986] Kernel panic - not syncing: panic_on_warn set ... executing program [ 58.660895] CPU: 0 PID: 12 Comm: kworker/0:1 Tainted: G B 5.1.0-rc4-319354-g9a33b36 #3 [ 58.666849] usb 4-1: USB disconnect, device number 2 [ 58.670259] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.684748] Workqueue: usb_hub_wq hub_event [ 58.689070] Call Trace: [ 58.691658] dump_stack+0xe8/0x16e [ 58.695299] panic+0x29d/0x5f2 [ 58.698480] ? __warn_printk+0xf8/0xf8 [ 58.702361] ? kfree+0xce/0x290 [ 58.705849] ? trace_hardirqs_on+0x55/0x1c0 [ 58.710181] ? kfree+0xce/0x290 [ 58.713464] end_report+0x48/0x4e [ 58.716918] kasan_report_invalid_free+0x82/0xa0 [ 58.721692] ? kfree+0xce/0x290 [ 58.725073] __kasan_slab_free+0x162/0x180 [ 58.729312] slab_free_freelist_hook+0x5e/0x140 [ 58.733997] ? disconnect_rio+0x13b/0x200 [ 58.738251] ? disconnect_rio+0x13b/0x200 [ 58.742397] kfree+0xce/0x290 [ 58.745768] disconnect_rio+0x13b/0x200 [ 58.750694] usb_unbind_interface+0x1c9/0x980 [ 58.755194] ? usb_autoresume_device+0x60/0x60 [ 58.759800] device_release_driver_internal+0x436/0x4f0 [ 58.765163] bus_remove_device+0x302/0x5c0 [ 58.769418] device_del+0x467/0xb90 [ 58.773037] ? mark_held_locks+0x9f/0xe0 [ 58.777093] ? __device_links_no_driver+0x240/0x240 [ 58.782140] ? lockdep_hardirqs_on+0x37e/0x580 [ 58.786839] ? remove_intf_ep_devs+0x144/0x1d0 [ 58.791461] usb_disable_device+0x242/0x790 [ 58.795889] usb_disconnect+0x298/0x870 [ 58.799865] hub_event+0xcd2/0x3b00 [ 58.803483] ? mark_held_locks+0xe0/0xe0 [ 58.807544] ? hub_port_debounce+0x350/0x350 [ 58.811945] ? _raw_spin_unlock_irq+0x29/0x40 [ 58.816464] process_one_work+0x90f/0x1580 [ 58.820712] ? wq_pool_ids_show+0x300/0x300 [ 58.825114] ? do_raw_spin_lock+0x11f/0x290 [ 58.829520] worker_thread+0x9b/0xe20 [ 58.833333] ? process_one_work+0x1580/0x1580 [ 58.838003] kthread+0x313/0x420 [ 58.841374] ? kthread_park+0x1a0/0x1a0 [ 58.845345] ret_from_fork+0x3a/0x50 [ 58.849736] Kernel Offset: disabled [ 58.853466] Rebooting in 86400 seconds..