[ 44.458120] audit: type=1800 audit(1555522582.692:27): pid=5294 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2469 res=0 [ 44.477623] audit: type=1800 audit(1555522582.692:28): pid=5294 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. [ 45.050792] audit: type=1800 audit(1555522583.322:29): pid=5294 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 [ 45.070155] audit: type=1800 audit(1555522583.322:30): pid=5294 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.170' (ECDSA) to the list of known hosts. syzkaller login: [ 71.464990] IPVS: ftp: loaded support on port[0] = 21 [ 71.531427] bridge0: port 1(bridge_slave_0) entered blocking state [ 71.537939] bridge0: port 1(bridge_slave_0) entered disabled state [ 71.544833] device bridge_slave_0 entered promiscuous mode [ 71.551965] bridge0: port 2(bridge_slave_1) entered blocking state [ 71.558346] bridge0: port 2(bridge_slave_1) entered disabled state [ 71.565231] device bridge_slave_1 entered promiscuous mode [ 71.579950] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 71.588550] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 71.604324] team0: Port device team_slave_0 added [ 71.610377] team0: Port device team_slave_1 added [ 71.633763] bridge0: port 2(bridge_slave_1) entered blocking state [ 71.640218] bridge0: port 2(bridge_slave_1) entered forwarding state [ 71.647228] bridge0: port 1(bridge_slave_0) entered blocking state [ 71.653608] bridge0: port 1(bridge_slave_0) entered forwarding state [ 71.682972] 8021q: adding VLAN 0 to HW filter on device bond0 [ 71.694008] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 71.703642] bridge0: port 1(bridge_slave_0) entered disabled state [ 71.710984] bridge0: port 2(bridge_slave_1) entered disabled state [ 71.718289] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 71.729527] 8021q: adding VLAN 0 to HW filter on device team0 [ 71.738571] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 71.746453] bridge0: port 1(bridge_slave_0) entered blocking state [ 71.752783] bridge0: port 1(bridge_slave_0) entered forwarding state [ 71.761720] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 71.769891] bridge0: port 2(bridge_slave_1) entered blocking state [ 71.776286] bridge0: port 2(bridge_slave_1) entered forwarding state [ 71.796630] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 71.804224] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 71.812622] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 71.820592] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 71.828217] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready executing program [ 71.864590] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 72.156038] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 72.405926] usb 1-1: Using ep0 maxpacket: 8 [ 72.526156] usb 1-1: config 0 has an invalid interface number: 28 but max is 0 [ 72.533628] usb 1-1: config 0 has no interface number 0 [ 72.539209] usb 1-1: New USB device found, idVendor=04fa, idProduct=2490, bcdDevice=74.f9 [ 72.547567] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 72.559109] usb 1-1: config 0 descriptor?? [ 72.796209] ================================================================== [ 72.803700] BUG: KASAN: use-after-free in ds_probe+0x604/0x760 [ 72.809666] Read of size 1 at addr ffff8880a7941322 by task kworker/1:0/17 [ 72.816664] [ 72.818278] CPU: 1 PID: 17 Comm: kworker/1:0 Not tainted 5.1.0-rc4-319354-g9a33b36 #3 [ 72.826227] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 72.835571] Workqueue: usb_hub_wq hub_event [ 72.839876] Call Trace: [ 72.842460] dump_stack+0xe8/0x16e [ 72.845997] ? ds_probe+0x604/0x760 [ 72.849615] ? ds_probe+0x604/0x760 [ 72.853280] print_address_description+0x6c/0x236 [ 72.858114] ? ds_probe+0x604/0x760 [ 72.861727] ? ds_probe+0x604/0x760 [ 72.865335] kasan_report.cold+0x1a/0x3c [ 72.869429] ? ds_probe+0x604/0x760 [ 72.873054] ds_probe+0x604/0x760 [ 72.876559] usb_probe_interface+0x31d/0x820 [ 72.880969] ? usb_probe_device+0x150/0x150 [ 72.885282] really_probe+0x2da/0xb10 [ 72.889074] driver_probe_device+0x21d/0x350 [ 72.893642] __device_attach_driver+0x1d8/0x290 [ 72.898302] ? driver_allows_async_probing+0x160/0x160 [ 72.903573] bus_for_each_drv+0x163/0x1e0 [ 72.907710] ? bus_rescan_devices+0x30/0x30 [ 72.912025] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 72.917114] ? lockdep_hardirqs_on+0x37e/0x580 [ 72.921679] __device_attach+0x223/0x3a0 [ 72.925729] ? device_bind_driver+0xe0/0xe0 [ 72.930038] ? kobject_uevent_env+0x295/0x13d0 [ 72.934605] bus_probe_device+0x1f1/0x2a0 [ 72.938758] ? blocking_notifier_call_chain+0x59/0xb0 [ 72.943944] device_add+0xad2/0x16e0 [ 72.947714] ? get_device_parent.isra.0+0x560/0x560 [ 72.952728] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 72.957825] usb_set_configuration+0xdf7/0x1740 [ 72.962490] generic_probe+0xa2/0xda [ 72.966195] usb_probe_device+0xc0/0x150 [ 72.970243] ? usb_suspend+0x5f0/0x5f0 [ 72.974117] really_probe+0x2da/0xb10 [ 72.977908] driver_probe_device+0x21d/0x350 [ 72.982300] __device_attach_driver+0x1d8/0x290 [ 72.986956] ? driver_allows_async_probing+0x160/0x160 [ 72.992215] bus_for_each_drv+0x163/0x1e0 [ 72.996352] ? bus_rescan_devices+0x30/0x30 [ 73.000668] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 73.005764] ? lockdep_hardirqs_on+0x37e/0x580 [ 73.010341] __device_attach+0x223/0x3a0 [ 73.014387] ? device_bind_driver+0xe0/0xe0 [ 73.018710] ? kobject_uevent_env+0x295/0x13d0 [ 73.023286] bus_probe_device+0x1f1/0x2a0 [ 73.027425] ? blocking_notifier_call_chain+0x59/0xb0 [ 73.032692] device_add+0xad2/0x16e0 [ 73.036440] ? get_device_parent.isra.0+0x560/0x560 [ 73.041450] usb_new_device.cold+0x537/0xccf [ 73.045862] hub_event+0x138e/0x3b00 [ 73.049599] ? hub_port_debounce+0x350/0x350 [ 73.054006] ? _raw_spin_unlock_irq+0x29/0x40 [ 73.058494] process_one_work+0x90f/0x1580 [ 73.062719] ? wq_pool_ids_show+0x300/0x300 [ 73.067025] ? do_raw_spin_lock+0x11f/0x290 [ 73.071332] worker_thread+0x9b/0xe20 [ 73.075163] ? process_one_work+0x1580/0x1580 [ 73.079666] kthread+0x313/0x420 [ 73.083023] ? kthread_park+0x1a0/0x1a0 [ 73.086989] ret_from_fork+0x3a/0x50 [ 73.090684] [ 73.092290] Allocated by task 3906: [ 73.095907] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 73.100818] security_task_alloc+0x113/0x180 [ 73.105206] copy_process.part.0+0x1c62/0x76b0 [ 73.109777] _do_fork+0x234/0xed0 [ 73.113218] do_syscall_64+0xcf/0x4f0 [ 73.117006] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 73.122220] [ 73.123838] Freed by task 3929: [ 73.127114] __kasan_slab_free+0x130/0x180 [ 73.131338] slab_free_freelist_hook+0x5e/0x140 [ 73.135995] kfree+0xce/0x290 [ 73.139085] security_task_free+0x9a/0xf0 [ 73.143213] __put_task_struct+0xec/0x4d0 [ 73.147430] delayed_put_task_struct+0x189/0x290 [ 73.152170] rcu_core+0x83b/0x1a80 [ 73.155691] __do_softirq+0x22a/0x8cd [ 73.159468] [ 73.161077] The buggy address belongs to the object at ffff8880a7941300 [ 73.161077] which belongs to the cache kmalloc-64 of size 64 [ 73.173547] The buggy address is located 34 bytes inside of [ 73.173547] 64-byte region [ffff8880a7941300, ffff8880a7941340) [ 73.185234] The buggy address belongs to the page: [ 73.190155] page:ffffea00029e5040 count:1 mapcount:0 mapping:ffff88812c3f5600 index:0x0 [ 73.198328] flags: 0xfff00000000200(slab) [ 73.202472] raw: 00fff00000000200 ffffea000257ff80 0000000500000005 ffff88812c3f5600 [ 73.210340] raw: 0000000000000000 00000000002a002a 00000001ffffffff 0000000000000000 [ 73.218201] page dumped because: kasan: bad access detected [ 73.223900] [ 73.225509] Memory state around the buggy address: [ 73.230426] ffff8880a7941200: fb fb fb fb fc fc fc fc fb fb fb fb fb fb fb fb [ 73.237770] ffff8880a7941280: fc fc fc fc 00 00 00 00 00 00 fc fc fc fc fc fc [ 73.245404] >ffff8880a7941300: fb fb fb fb fb fb fb fb fc fc fc fc 00 00 00 00 [ 73.252754] ^ [ 73.257154] ffff8880a7941380: 00 00 00 00 fc fc fc fc fb fb fb fb fb fb fb fb [ 73.264500] ffff8880a7941400: fc fc fc fc fb fb fb fb fb fb fb fb fc fc fc fc [ 73.271842] ================================================================== [ 73.279183] Disabling lock debugging due to kernel taint [ 73.285003] Kernel panic - not syncing: panic_on_warn set ... [ 73.290897] CPU: 1 PID: 17 Comm: kworker/1:0 Tainted: G B 5.1.0-rc4-319354-g9a33b36 #3 [ 73.300246] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 73.309610] Workqueue: usb_hub_wq hub_event [ 73.313925] Call Trace: [ 73.316934] dump_stack+0xe8/0x16e [ 73.320480] panic+0x29d/0x5f2 [ 73.323940] ? __warn_printk+0xf8/0xf8 [ 73.327829] ? retint_kernel+0x10/0x10 [ 73.331734] ? trace_hardirqs_on+0x55/0x1c0 [ 73.336054] ? ds_probe+0x604/0x760 [ 73.339683] end_report+0x48/0x4e [ 73.343155] ? ds_probe+0x604/0x760 [ 73.346778] kasan_report.cold+0xd/0x3c [ 73.350761] ? ds_probe+0x604/0x760 [ 73.354383] ds_probe+0x604/0x760 [ 73.357851] usb_probe_interface+0x31d/0x820 [ 73.362259] ? usb_probe_device+0x150/0x150 [ 73.366576] really_probe+0x2da/0xb10 [ 73.370375] driver_probe_device+0x21d/0x350 [ 73.374782] __device_attach_driver+0x1d8/0x290 [ 73.379456] ? driver_allows_async_probing+0x160/0x160 [ 73.384728] bus_for_each_drv+0x163/0x1e0 [ 73.388878] ? bus_rescan_devices+0x30/0x30 [ 73.393199] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 73.398299] ? lockdep_hardirqs_on+0x37e/0x580 [ 73.402880] __device_attach+0x223/0x3a0 [ 73.406937] ? device_bind_driver+0xe0/0xe0 [ 73.411258] ? kobject_uevent_env+0x295/0x13d0 [ 73.415833] bus_probe_device+0x1f1/0x2a0 [ 73.419988] ? blocking_notifier_call_chain+0x59/0xb0 [ 73.425176] device_add+0xad2/0x16e0 [ 73.428893] ? get_device_parent.isra.0+0x560/0x560 [ 73.433907] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 73.439009] usb_set_configuration+0xdf7/0x1740 [ 73.443684] generic_probe+0xa2/0xda [ 73.447396] usb_probe_device+0xc0/0x150 [ 73.451486] ? usb_suspend+0x5f0/0x5f0 [ 73.455368] really_probe+0x2da/0xb10 [ 73.459165] driver_probe_device+0x21d/0x350 [ 73.463567] __device_attach_driver+0x1d8/0x290 [ 73.468235] ? driver_allows_async_probing+0x160/0x160 [ 73.473506] bus_for_each_drv+0x163/0x1e0 [ 73.477652] ? bus_rescan_devices+0x30/0x30 [ 73.481968] ? _raw_spin_unlock_irqrestore+0x4b/0x60 [ 73.487068] ? lockdep_hardirqs_on+0x37e/0x580 [ 73.491649] __device_attach+0x223/0x3a0 [ 73.495707] ? device_bind_driver+0xe0/0xe0 [ 73.500029] ? kobject_uevent_env+0x295/0x13d0 [ 73.504607] bus_probe_device+0x1f1/0x2a0 [ 73.508760] ? blocking_notifier_call_chain+0x59/0xb0 [ 73.513950] device_add+0xad2/0x16e0 [ 73.517670] ? get_device_parent.isra.0+0x560/0x560 [ 73.522691] usb_new_device.cold+0x537/0xccf [ 73.527100] hub_event+0x138e/0x3b00 [ 73.530825] ? hub_port_debounce+0x350/0x350 [ 73.535243] ? _raw_spin_unlock_irq+0x29/0x40 [ 73.539737] process_one_work+0x90f/0x1580 [ 73.543969] ? wq_pool_ids_show+0x300/0x300 [ 73.548285] ? do_raw_spin_lock+0x11f/0x290 [ 73.552605] worker_thread+0x9b/0xe20 [ 73.556406] ? process_one_work+0x1580/0x1580 [ 73.560906] kthread+0x313/0x420 [ 73.564269] ? kthread_park+0x1a0/0x1a0 [ 73.568242] ret_from_fork+0x3a/0x50 [ 73.572612] Kernel Offset: disabled [ 73.576235] Rebooting in 86400 seconds..