[ 55.116489] audit: type=1800 audit(1555348141.578:26): pid=5523 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2490 res=0 [ 55.138999] audit: type=1800 audit(1555348141.578:27): pid=5523 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2469 res=0 [ 55.158694] audit: type=1800 audit(1555348141.578:28): pid=5523 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. [ 56.012067] audit: type=1800 audit(1555348142.488:29): pid=5523 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.0.109' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 63.885478] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 64.126489] usb 1-1: Using ep0 maxpacket: 8 [ 64.245479] usb 1-1: config 0 has an invalid interface number: 157 but max is 0 [ 64.253122] usb 1-1: config 0 has no interface number 0 [ 64.258638] usb 1-1: New USB device found, idVendor=04fa, idProduct=2490, bcdDevice=f5.2f [ 64.267069] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 64.276549] usb 1-1: config 0 descriptor?? [ 64.505589] usb 1-1: Failed to set alternative setting 3 for 155 interface: err=-22. [ 64.513934] DS9490R: probe of 1-1:0.157 failed with error -22 executing program [ 64.698691] usb 1-1: USB disconnect, device number 2 [ 65.065445] usb 1-1: new high-speed USB device number 3 using dummy_hcd [ 65.305445] usb 1-1: Using ep0 maxpacket: 8 [ 65.425604] usb 1-1: config 0 has an invalid interface number: 157 but max is 0 [ 65.433197] usb 1-1: config 0 has no interface number 0 [ 65.439066] usb 1-1: New USB device found, idVendor=04fa, idProduct=2490, bcdDevice=f5.2f [ 65.448007] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 65.456756] usb 1-1: config 0 descriptor?? [ 65.695792] ================================================================== [ 65.703556] BUG: KASAN: use-after-free in ds_probe+0x604/0x760 [ 65.709637] Read of size 1 at addr ffff8880a7a6a082 by task kworker/1:1/21 [ 65.716645] [ 65.718337] CPU: 1 PID: 21 Comm: kworker/1:1 Not tainted 5.1.0-rc4-319354-g9a33b36 #3 [ 65.726301] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.735719] Workqueue: usb_hub_wq hub_event [ 65.740039] Call Trace: [ 65.742649] dump_stack+0xe8/0x16e [ 65.746427] ? ds_probe+0x604/0x760 [ 65.750077] ? ds_probe+0x604/0x760 [ 65.753723] print_address_description+0x6c/0x236 [ 65.758702] ? ds_probe+0x604/0x760 [ 65.762329] ? ds_probe+0x604/0x760 [ 65.766145] kasan_report.cold+0x1a/0x3c [ 65.770210] ? ds_probe+0x604/0x760 [ 65.773827] ds_probe+0x604/0x760 [ 65.777313] usb_probe_interface+0x31d/0x820 [ 65.781760] ? usb_probe_device+0x150/0x150 [ 65.786283] really_probe+0x2da/0xb10 [ 65.790104] driver_probe_device+0x21d/0x350 [ 65.794513] __device_attach_driver+0x1d8/0x290 [ 65.799194] ? driver_allows_async_probing+0x160/0x160 [ 65.804516] bus_for_each_drv+0x163/0x1e0 [ 65.808703] ? bus_rescan_devices+0x30/0x30 [ 65.813017] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 65.818138] ? lockdep_hardirqs_on+0x37e/0x580 [ 65.822737] __device_attach+0x223/0x3a0 [ 65.826822] ? device_bind_driver+0xe0/0xe0 [ 65.831137] ? kobject_uevent_env+0x295/0x13d0 [ 65.835796] bus_probe_device+0x1f1/0x2a0 [ 65.839934] ? blocking_notifier_call_chain+0x59/0xb0 [ 65.845128] device_add+0xad2/0x16e0 [ 65.848834] ? get_device_parent.isra.0+0x560/0x560 [ 65.853837] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 65.858958] usb_set_configuration+0xdf7/0x1740 [ 65.863736] generic_probe+0xa2/0xda [ 65.867455] usb_probe_device+0xc0/0x150 [ 65.871523] ? usb_suspend+0x5f0/0x5f0 [ 65.875544] really_probe+0x2da/0xb10 [ 65.879342] driver_probe_device+0x21d/0x350 [ 65.887099] __device_attach_driver+0x1d8/0x290 [ 65.891809] ? driver_allows_async_probing+0x160/0x160 [ 65.897077] bus_for_each_drv+0x163/0x1e0 [ 65.901309] ? bus_rescan_devices+0x30/0x30 [ 65.905618] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 65.910800] ? lockdep_hardirqs_on+0x37e/0x580 [ 65.915458] __device_attach+0x223/0x3a0 [ 65.919509] ? device_bind_driver+0xe0/0xe0 [ 65.923840] ? kobject_uevent_env+0x295/0x13d0 [ 65.928420] bus_probe_device+0x1f1/0x2a0 [ 65.932560] ? blocking_notifier_call_chain+0x59/0xb0 [ 65.938041] device_add+0xad2/0x16e0 [ 65.942135] ? get_device_parent.isra.0+0x560/0x560 [ 65.947187] usb_new_device.cold+0x537/0xccf [ 65.951712] hub_event+0x138e/0x3b00 [ 65.956028] ? hub_port_debounce+0x350/0x350 [ 65.960464] ? _raw_spin_unlock_irq+0x29/0x40 [ 65.964994] process_one_work+0x90f/0x1580 [ 65.969250] ? wq_pool_ids_show+0x300/0x300 [ 65.973572] ? do_raw_spin_lock+0x11f/0x290 [ 65.978002] worker_thread+0x9b/0xe20 [ 65.981983] ? process_one_work+0x1580/0x1580 [ 65.986560] kthread+0x313/0x420 [ 65.989948] ? kthread_park+0x1a0/0x1a0 [ 65.993943] ret_from_fork+0x3a/0x50 [ 65.997650] [ 65.999274] Allocated by task 701: [ 66.002928] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 66.007974] __get_vm_area_node+0x12d/0x3b0 [ 66.012570] __vmalloc_node_range+0xea/0x790 [ 66.017148] vzalloc+0x6c/0x90 [ 66.020351] n_tty_open+0x1b/0x160 [ 66.023885] tty_ldisc_open.isra.0+0x85/0xd0 [ 66.028299] tty_ldisc_setup+0x48/0x110 [ 66.032419] tty_init_dev+0x20a/0x450 [ 66.036213] ptmx_open+0x111/0x350 [ 66.039749] chrdev_open+0x220/0x5d0 [ 66.043469] do_dentry_open+0x49c/0x1130 [ 66.047699] path_openat+0x147d/0x40b0 [ 66.051597] do_filp_open+0x1a6/0x280 [ 66.055392] do_sys_open+0x3c5/0x590 [ 66.059223] do_syscall_64+0xcf/0x4f0 [ 66.063017] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 66.068210] [ 66.070048] Freed by task 701: [ 66.073627] __kasan_slab_free+0x130/0x180 [ 66.077925] slab_free_freelist_hook+0x5e/0x140 [ 66.082585] kfree+0xce/0x290 [ 66.085727] __vunmap+0x335/0x430 [ 66.089177] __vfree+0x41/0xd0 [ 66.092356] vfree+0x5f/0x90 [ 66.095367] n_tty_close+0xbe/0x120 [ 66.098992] tty_ldisc_close.isra.0+0xfc/0x180 [ 66.103703] tty_ldisc_kill+0x99/0x160 [ 66.107700] tty_ldisc_release+0xc3/0x270 [ 66.111834] tty_release_struct+0x1b/0x50 [ 66.115992] tty_release+0xbd8/0x1140 [ 66.119832] __fput+0x2df/0x8c0 [ 66.123186] task_work_run+0x149/0x1c0 [ 66.127072] exit_to_usermode_loop+0x243/0x270 [ 66.131645] do_syscall_64+0x40c/0x4f0 [ 66.135521] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 66.140788] [ 66.142405] The buggy address belongs to the object at ffff8880a7a6a060 [ 66.142405] which belongs to the cache kmalloc-64 of size 64 [ 66.154883] The buggy address is located 34 bytes inside of [ 66.154883] 64-byte region [ffff8880a7a6a060, ffff8880a7a6a0a0) [ 66.166753] The buggy address belongs to the page: [ 66.171787] page:ffffea00029e9a80 count:1 mapcount:0 mapping:ffff88812c3f5600 index:0x0 [ 66.193876] flags: 0xfff00000000200(slab) [ 66.198113] raw: 00fff00000000200 ffffea000260bd80 0000000c0000000c ffff88812c3f5600 [ 66.206072] raw: 0000000000000000 00000000802a002a 00000001ffffffff 0000000000000000 [ 66.214148] page dumped because: kasan: bad access detected [ 66.219857] [ 66.221473] Memory state around the buggy address: [ 66.226386] ffff8880a7a69f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 66.233829] ffff8880a7a6a000: 00 00 00 00 00 00 fc fc fc fc fc fc fb fb fb fb [ 66.241199] >ffff8880a7a6a080: fb fb fb fb fc fc fc fc fb fb fb fb fb fb fb fb [ 66.248636] ^ [ 66.252007] ffff8880a7a6a100: fc fc fc fc fb fb fb fb fb fb fb fb fc fc fc fc [ 66.259660] ffff8880a7a6a180: fb fb fb fb fb fb fb fb fc fc fc fc fb fb fb fb [ 66.267023] ================================================================== [ 66.274457] Disabling lock debugging due to kernel taint [ 66.280705] Kernel panic - not syncing: panic_on_warn set ... [ 66.286820] CPU: 1 PID: 21 Comm: kworker/1:1 Tainted: G B 5.1.0-rc4-319354-g9a33b36 #3 [ 66.296274] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 66.305645] Workqueue: usb_hub_wq hub_event [ 66.310665] Call Trace: [ 66.313289] dump_stack+0xe8/0x16e [ 66.316849] panic+0x29d/0x5f2 [ 66.320063] ? __warn_printk+0xf8/0xf8 [ 66.323986] ? retint_kernel+0x10/0x10 [ 66.327891] ? trace_hardirqs_on+0x55/0x1c0 [ 66.332226] ? ds_probe+0x604/0x760 [ 66.335859] end_report+0x48/0x4e [ 66.339326] ? ds_probe+0x604/0x760 [ 66.342964] kasan_report.cold+0xd/0x3c [ 66.346997] ? ds_probe+0x604/0x760 [ 66.350713] ds_probe+0x604/0x760 [ 66.354195] usb_probe_interface+0x31d/0x820 [ 66.358636] ? usb_probe_device+0x150/0x150 [ 66.362984] really_probe+0x2da/0xb10 [ 66.367093] driver_probe_device+0x21d/0x350 [ 66.371601] __device_attach_driver+0x1d8/0x290 [ 66.376469] ? driver_allows_async_probing+0x160/0x160 [ 66.381875] bus_for_each_drv+0x163/0x1e0 [ 66.386038] ? bus_rescan_devices+0x30/0x30 [ 66.390372] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 66.395580] ? lockdep_hardirqs_on+0x37e/0x580 [ 66.400302] __device_attach+0x223/0x3a0 [ 66.404382] ? device_bind_driver+0xe0/0xe0 [ 66.408755] ? kobject_uevent_env+0x295/0x13d0 [ 66.413640] bus_probe_device+0x1f1/0x2a0 [ 66.417912] ? blocking_notifier_call_chain+0x59/0xb0 [ 66.423118] device_add+0xad2/0x16e0 [ 66.426841] ? get_device_parent.isra.0+0x560/0x560 [ 66.431867] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 66.437259] usb_set_configuration+0xdf7/0x1740 [ 66.442067] generic_probe+0xa2/0xda [ 66.445791] usb_probe_device+0xc0/0x150 [ 66.449852] ? usb_suspend+0x5f0/0x5f0 [ 66.453828] really_probe+0x2da/0xb10 [ 66.457642] driver_probe_device+0x21d/0x350 [ 66.462049] __device_attach_driver+0x1d8/0x290 [ 66.466746] ? driver_allows_async_probing+0x160/0x160 [ 66.472139] bus_for_each_drv+0x163/0x1e0 [ 66.476319] ? bus_rescan_devices+0x30/0x30 [ 66.480664] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 66.485782] ? lockdep_hardirqs_on+0x37e/0x580 [ 66.491363] __device_attach+0x223/0x3a0 [ 66.495603] ? device_bind_driver+0xe0/0xe0 [ 66.500016] ? kobject_uevent_env+0x295/0x13d0 [ 66.504613] bus_probe_device+0x1f1/0x2a0 [ 66.508774] ? blocking_notifier_call_chain+0x59/0xb0 [ 66.513973] device_add+0xad2/0x16e0 [ 66.517701] ? get_device_parent.isra.0+0x560/0x560 [ 66.522818] usb_new_device.cold+0x537/0xccf [ 66.527492] hub_event+0x138e/0x3b00 [ 66.531217] ? hub_port_debounce+0x350/0x350 [ 66.536418] ? _raw_spin_unlock_irq+0x29/0x40 [ 66.541038] process_one_work+0x90f/0x1580 [ 66.545334] ? wq_pool_ids_show+0x300/0x300 [ 66.549840] ? do_raw_spin_lock+0x11f/0x290 [ 66.554171] worker_thread+0x9b/0xe20 [ 66.557984] ? process_one_work+0x1580/0x1580 [ 66.562478] kthread+0x313/0x420 [ 66.565844] ? kthread_park+0x1a0/0x1a0 [ 66.569828] ret_from_fork+0x3a/0x50 [ 66.574881] Kernel Offset: disabled [ 66.578514] Rebooting in 86400 seconds..