Warning: Permanently added '10.128.0.52' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 56.705641][ T88] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 56.945231][ T88] usb 1-1: Using ep0 maxpacket: 16 [ 57.065283][ T88] usb 1-1: config 0 has an invalid interface number: 234 but max is 0 [ 57.073535][ T88] usb 1-1: config 0 has no interface number 0 [ 57.079816][ T88] usb 1-1: config 0 interface 234 altsetting 0 endpoint 0x8D has an invalid bInterval 255, changing to 11 [ 57.091136][ T88] usb 1-1: config 0 interface 234 altsetting 0 endpoint 0x7 has invalid maxpacket 1843, setting to 1024 [ 57.102299][ T88] usb 1-1: config 0 interface 234 altsetting 0 bulk endpoint 0x7 has invalid maxpacket 1024 [ 57.112528][ T88] usb 1-1: config 0 interface 234 altsetting 0 bulk endpoint 0x8F has invalid maxpacket 0 [ 57.122491][ T88] usb 1-1: New USB device found, idVendor=0421, idProduct=0486, bcdDevice=14.d7 [ 57.131581][ T88] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 57.141086][ T88] usb 1-1: config 0 descriptor?? [ 57.198829][ T88] rndis_wlan 1-1:0.234: invalid descriptor buffer length [ 57.205958][ T88] usb 1-1: bad CDC descriptors [ 57.212047][ T88] rndis_host 1-1:0.234: invalid descriptor buffer length [ 57.219217][ T88] usb 1-1: bad CDC descriptors [ 57.224387][ T88] cdc_acm 1-1:0.234: invalid descriptor buffer length [ 57.231291][ T88] cdc_acm 1-1:0.234: No union descriptor, testing for castrated device [ 57.239992][ T88] cdc_acm: probe of 1-1:0.234 failed with error -12 [ 57.397490][ T108] usb 1-1: USB disconnect, device number 2 [ 57.405535][ T108] ================================================================== [ 57.413680][ T108] BUG: KASAN: use-after-free in __lock_acquire+0x3a5d/0x5340 [ 57.421029][ T108] Read of size 8 at addr ffff8881cfc4ef90 by task kworker/0:2/108 [ 57.428867][ T108] [ 57.431231][ T108] CPU: 0 PID: 108 Comm: kworker/0:2 Not tainted 5.2.0-rc6+ #15 [ 57.438749][ T108] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.448809][ T108] Workqueue: usb_hub_wq hub_event [ 57.453872][ T108] Call Trace: [ 57.457168][ T108] dump_stack+0xca/0x13e [ 57.461388][ T108] ? __lock_acquire+0x3a5d/0x5340 [ 57.466388][ T108] ? __lock_acquire+0x3a5d/0x5340 [ 57.471408][ T108] print_address_description+0x67/0x231 [ 57.477033][ T108] ? __lock_acquire+0x3a5d/0x5340 [ 57.482092][ T108] ? __lock_acquire+0x3a5d/0x5340 [ 57.487097][ T108] __kasan_report.cold+0x1a/0x32 [ 57.492085][ T108] ? __lock_acquire+0x3a5d/0x5340 [ 57.497088][ T108] kasan_report+0xe/0x20 [ 57.501349][ T108] __lock_acquire+0x3a5d/0x5340 [ 57.506187][ T108] ? finish_task_switch+0x11c/0x5b0 [ 57.511362][ T108] ? mark_held_locks+0xe0/0xe0 [ 57.516102][ T108] ? lockdep_hardirqs_on+0x379/0x580 [ 57.521376][ T108] ? _raw_spin_unlock_irq+0x24/0x30 [ 57.526703][ T108] ? finish_task_switch+0x11c/0x5b0 [ 57.532035][ T108] ? finish_task_switch+0xee/0x5b0 [ 57.537141][ T108] ? __switch_to+0xbea/0xeb0 [ 57.541755][ T108] ? __schedule+0x730/0x1680 [ 57.546329][ T108] lock_acquire+0x100/0x2b0 [ 57.550815][ T108] ? device_release_driver_internal+0x23/0x4c0 [ 57.557006][ T108] ? device_release_driver_internal+0x23/0x4c0 [ 57.563141][ T108] __mutex_lock+0xf9/0x12b0 [ 57.567628][ T108] ? device_release_driver_internal+0x23/0x4c0 [ 57.573756][ T108] ? device_release_driver_internal+0x23/0x4c0 [ 57.579942][ T108] ? mark_held_locks+0x9f/0xe0 [ 57.584823][ T108] ? lockdep_hardirqs_on+0x379/0x580 [ 57.590114][ T108] ? mutex_trylock+0x1a0/0x1a0 [ 57.594927][ T108] ? lockdep_hardirqs_on+0x379/0x580 [ 57.600195][ T108] ? __kasan_slab_free+0x145/0x180 [ 57.605296][ T108] ? kfree_const+0x51/0x60 [ 57.609694][ T108] ? kfree+0xd7/0x280 [ 57.613667][ T108] ? dev_attr_show+0x90/0x90 [ 57.618245][ T108] ? device_release_driver_internal+0x23/0x4c0 [ 57.624411][ T108] device_release_driver_internal+0x23/0x4c0 [ 57.630372][ T108] bus_remove_device+0x2dc/0x4a0 [ 57.635290][ T108] device_del+0x460/0xb80 [ 57.639627][ T108] ? __device_links_no_driver+0x240/0x240 [ 57.645334][ T108] ? usb_remove_ep_devs+0x3e/0x80 [ 57.650330][ T108] ? remove_intf_ep_devs+0x13f/0x1d0 [ 57.655663][ T108] usb_disable_device+0x211/0x690 [ 57.660678][ T108] usb_disconnect+0x284/0x830 [ 57.665367][ T108] hub_event+0x13bd/0x3550 [ 57.669765][ T108] ? hub_port_debounce+0x260/0x260 [ 57.674850][ T108] process_one_work+0x905/0x1570 [ 57.679767][ T108] ? pwq_dec_nr_in_flight+0x310/0x310 [ 57.685132][ T108] ? do_raw_spin_lock+0x11a/0x280 [ 57.690142][ T108] worker_thread+0x96/0xe20 [ 57.694732][ T108] ? process_one_work+0x1570/0x1570 [ 57.699905][ T108] kthread+0x30b/0x410 [ 57.703952][ T108] ? kthread_park+0x1a0/0x1a0 [ 57.708701][ T108] ret_from_fork+0x24/0x30 [ 57.713187][ T108] [ 57.715491][ T108] Allocated by task 88: [ 57.719768][ T108] save_stack+0x1b/0x80 [ 57.723905][ T108] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 57.729523][ T108] usb_set_configuration+0x2c4/0x1670 [ 57.734878][ T108] generic_probe+0x9d/0xd5 [ 57.739275][ T108] usb_probe_device+0x99/0x100 [ 57.744018][ T108] really_probe+0x281/0x660 [ 57.748696][ T108] driver_probe_device+0x104/0x210 [ 57.753824][ T108] __device_attach_driver+0x1c2/0x220 [ 57.759461][ T108] bus_for_each_drv+0x15c/0x1e0 [ 57.764284][ T108] __device_attach+0x217/0x360 [ 57.769032][ T108] bus_probe_device+0x1e4/0x290 [ 57.773898][ T108] device_add+0xae6/0x16f0 [ 57.778296][ T108] usb_new_device.cold+0x6a4/0xe61 [ 57.783477][ T108] hub_event+0x1abd/0x3550 [ 57.787875][ T108] process_one_work+0x905/0x1570 [ 57.792781][ T108] worker_thread+0x96/0xe20 [ 57.797343][ T108] kthread+0x30b/0x410 [ 57.801391][ T108] ret_from_fork+0x24/0x30 [ 57.805830][ T108] [ 57.808139][ T108] Freed by task 108: [ 57.812016][ T108] save_stack+0x1b/0x80 [ 57.816183][ T108] __kasan_slab_free+0x130/0x180 [ 57.821103][ T108] kfree+0xd7/0x280 [ 57.824892][ T108] device_release+0x71/0x200 [ 57.829461][ T108] kobject_put+0x171/0x280 [ 57.833849][ T108] put_device+0x1b/0x30 [ 57.837978][ T108] klist_put+0xce/0x170 [ 57.842223][ T108] bus_remove_device+0x3a4/0x4a0 [ 57.847135][ T108] device_del+0x460/0xb80 [ 57.851493][ T108] usb_disable_device+0x211/0x690 [ 57.856500][ T108] usb_disconnect+0x284/0x830 [ 57.861353][ T108] hub_event+0x13bd/0x3550 [ 57.865756][ T108] process_one_work+0x905/0x1570 [ 57.870803][ T108] worker_thread+0x96/0xe20 [ 57.875285][ T108] kthread+0x30b/0x410 [ 57.879326][ T108] ret_from_fork+0x24/0x30 [ 57.883709][ T108] [ 57.886015][ T108] The buggy address belongs to the object at ffff8881cfc4ee80 [ 57.886015][ T108] which belongs to the cache kmalloc-2k of size 2048 [ 57.900043][ T108] The buggy address is located 272 bytes inside of [ 57.900043][ T108] 2048-byte region [ffff8881cfc4ee80, ffff8881cfc4f680) [ 57.913372][ T108] The buggy address belongs to the page: [ 57.919098][ T108] page:ffffea00073f1200 refcount:1 mapcount:0 mapping:ffff8881dac02800 index:0x0 compound_mapcount: 0 [ 57.930126][ T108] flags: 0x200000000010200(slab|head) [ 57.935476][ T108] raw: 0200000000010200 dead000000000100 dead000000000200 ffff8881dac02800 [ 57.944297][ T108] raw: 0000000000000000 00000000000f000f 00000001ffffffff 0000000000000000 [ 57.952853][ T108] page dumped because: kasan: bad access detected [ 57.959232][ T108] [ 57.961668][ T108] Memory state around the buggy address: [ 57.967436][ T108] ffff8881cfc4ee80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.975488][ T108] ffff8881cfc4ef00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.983528][ T108] >ffff8881cfc4ef80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.991560][ T108] ^ [ 57.996124][ T108] ffff8881cfc4f000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.004272][ T108] ffff8881cfc4f080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.012374][ T108] ================================================================== [ 58.020411][ T108] Disabling lock debugging due to kernel taint [ 58.026569][ T108] Kernel panic - not syncing: panic_on_warn set ... [ 58.033138][ T108] CPU: 0 PID: 108 Comm: kworker/0:2 Tainted: G B 5.2.0-rc6+ #15 [ 58.042043][ T108] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.052086][ T108] Workqueue: usb_hub_wq hub_event [ 58.057084][ T108] Call Trace: [ 58.060390][ T108] dump_stack+0xca/0x13e [ 58.064613][ T108] panic+0x292/0x6c9 [ 58.068480][ T108] ? __warn_printk+0xf3/0xf3 [ 58.073046][ T108] ? lock_downgrade+0x630/0x630 [ 58.078009][ T108] ? print_shadow_for_address+0xb8/0x114 [ 58.083622][ T108] ? trace_hardirqs_off+0x50/0x1c0 [ 58.088711][ T108] ? __lock_acquire+0x3a5d/0x5340 [ 58.093884][ T108] end_report+0x43/0x49 [ 58.098147][ T108] ? __lock_acquire+0x3a5d/0x5340 [ 58.103152][ T108] __kasan_report.cold+0xd/0x32 [ 58.108018][ T108] ? __lock_acquire+0x3a5d/0x5340 [ 58.114235][ T108] kasan_report+0xe/0x20 [ 58.118457][ T108] __lock_acquire+0x3a5d/0x5340 [ 58.123406][ T108] ? finish_task_switch+0x11c/0x5b0 [ 58.128678][ T108] ? mark_held_locks+0xe0/0xe0 [ 58.133508][ T108] ? lockdep_hardirqs_on+0x379/0x580 [ 58.138770][ T108] ? _raw_spin_unlock_irq+0x24/0x30 [ 58.143949][ T108] ? finish_task_switch+0x11c/0x5b0 [ 58.149186][ T108] ? finish_task_switch+0xee/0x5b0 [ 58.154363][ T108] ? __switch_to+0xbea/0xeb0 [ 58.159057][ T108] ? __schedule+0x730/0x1680 [ 58.163628][ T108] lock_acquire+0x100/0x2b0 [ 58.168111][ T108] ? device_release_driver_internal+0x23/0x4c0 [ 58.174398][ T108] ? device_release_driver_internal+0x23/0x4c0 [ 58.180593][ T108] __mutex_lock+0xf9/0x12b0 [ 58.185127][ T108] ? device_release_driver_internal+0x23/0x4c0 [ 58.191264][ T108] ? device_release_driver_internal+0x23/0x4c0 [ 58.197435][ T108] ? mark_held_locks+0x9f/0xe0 [ 58.202188][ T108] ? lockdep_hardirqs_on+0x379/0x580 [ 58.207448][ T108] ? mutex_trylock+0x1a0/0x1a0 [ 58.212224][ T108] ? lockdep_hardirqs_on+0x379/0x580 [ 58.217488][ T108] ? __kasan_slab_free+0x145/0x180 [ 58.222579][ T108] ? kfree_const+0x51/0x60 [ 58.227096][ T108] ? kfree+0xd7/0x280 [ 58.231162][ T108] ? dev_attr_show+0x90/0x90 [ 58.235745][ T108] ? device_release_driver_internal+0x23/0x4c0 [ 58.241980][ T108] device_release_driver_internal+0x23/0x4c0 [ 58.247941][ T108] bus_remove_device+0x2dc/0x4a0 [ 58.252864][ T108] device_del+0x460/0xb80 [ 58.257207][ T108] ? __device_links_no_driver+0x240/0x240 [ 58.262911][ T108] ? usb_remove_ep_devs+0x3e/0x80 [ 58.267973][ T108] ? remove_intf_ep_devs+0x13f/0x1d0 [ 58.273234][ T108] usb_disable_device+0x211/0x690 [ 58.278243][ T108] usb_disconnect+0x284/0x830 [ 58.282902][ T108] hub_event+0x13bd/0x3550 [ 58.287302][ T108] ? hub_port_debounce+0x260/0x260 [ 58.292400][ T108] process_one_work+0x905/0x1570 [ 58.297322][ T108] ? pwq_dec_nr_in_flight+0x310/0x310 [ 58.302678][ T108] ? do_raw_spin_lock+0x11a/0x280 [ 58.307712][ T108] worker_thread+0x96/0xe20 [ 58.312285][ T108] ? process_one_work+0x1570/0x1570 [ 58.317540][ T108] kthread+0x30b/0x410 [ 58.321618][ T108] ? kthread_park+0x1a0/0x1a0 [ 58.326274][ T108] ret_from_fork+0x24/0x30 [ 58.330739][ T108] Kernel Offset: disabled [ 58.335261][ T108] Rebooting in 86400 seconds..