New issue
Advanced search Search tips

Issue 791717 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 796607
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

EVE: KASAN: null-ptr-deref in xhci_find_slot_id_by_port

Issue description

  Board: eve
     OS: 10168.0.2017_11_28_1515 (Test Build - mvcheng) developer-build eve
 Chrome: Chromium 64.0.3273.0
     FW: Google_Eve.9584.95.0
     EC: eve_v1.1.6579-0470f63b6
    CPU: Intel(R) Core(TM) i5-7Y57 CPU @ 1.20GHz (4 cores)
 Kernel: Linux 4.4.96 x86_64
    Mem: 8GB (physical)
Storage: 250GB

Steps To Reproduce:
(1) Enable Kasan on the latest Eve dev image 
(2) Connect Ethernet cable via USB 
(3) suspend_stress_test -c 5000 --wake_min=10 --wake_max=10 --memory_check --noerrors_fatal --nocrc_fatal -i "rtc_cmos" 

Expected Result: For the Eve system to successfully pass 5000 suspend/resume iterations 

Actual Result: Fails about ~2500 into the the cycle

How frequently does this problem reproduce? (Always, sometimes, hard to
reproduce? 

Sometimes, about ~70 percent of the time

Please provide any additional information below. Attach a screen shot or
log if possible.

149718.664101] BUG: KASAN: null-ptr-deref on address 000000000000001c
[149718.664107] Read of size 4 by task kworker/2:5/6099
[149718.664116] CPU: 2 PID: 6099 Comm: kworker/2:5 Tainted: G        W       4.4.96-12159-g661b75b15596 #1
[149718.664121] Hardware name: Google Eve/Eve, BIOS Google_Eve.9584.86.0 09/09/2017
[149718.664130] Workqueue: pm pm_runtime_work
[149718.664136]  0000000000000004 01dd31e37e3cf454 ffff8801056876d0 ffffffff8f25b4e9
[149718.664148]  ffff7fffffffffff ffffffff8fbbb217 ffff880105687748 ffffffff8f00337d
[149718.664159]  ffffffff8f5cea69 0000000000000096 ffff880235c00380 ffff880105687740
[149718.664170] Call Trace:
[149718.664179]  [<ffffffff8f25b4e9>] dump_stack+0x4d/0x63
[149718.664188]  [<ffffffff8f00337d>] kasan_report+0x153/0x4da
[149718.664197]  [<ffffffff8f5cea69>] ? xhci_find_slot_id_by_port+0x6d/0xbc
[149718.664204]  [<ffffffff8f00292d>] __asan_load4+0x6c/0x6e
[149718.664212]  [<ffffffff8f5cea69>] xhci_find_slot_id_by_port+0x6d/0xbc
[149718.664220]  [<ffffffff8f5d005a>] xhci_hub_control+0x1420/0x19dc
[149718.664228]  [<ffffffff8f0404d4>] ? __cmpxchg_double_slab.isra.35+0x67/0x119
[149718.664236]  [<ffffffff8ef8656b>] ? ___might_sleep+0x7f/0x1bb
[149718.664243]  [<ffffffff8f0026aa>] ? kasan_poison_shadow+0x2f/0x31
[149718.664250]  [<ffffffff8f0026aa>] ? kasan_poison_shadow+0x2f/0x31
[149718.664258]  [<ffffffff8f002c39>] ? kasan_unpoison_shadow+0x14/0x35
[149718.664266]  [<ffffffff8efa1635>] ? do_raw_spin_lock+0x145/0x15e
[149718.664274]  [<ffffffff8f76b298>] usb_hcd_submit_urb+0xa1b/0x1382
[149718.664282]  [<ffffffff8f041b64>] ? ___slab_alloc.constprop.55+0x451/0x54c
[149718.664290]  [<ffffffff8f041b64>] ? ___slab_alloc.constprop.55+0x451/0x54c



 
base kernel SHA:
* 7a40271 (m/master, cros/chromeos-4.4) UPSTREAM: mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
* 3e4eb6a CHROMIUM: intel-ipu3: move {g, s}_selection callback to subdevice
* 81178b7 CHROMIUM: intel-ipu3: remove colon in sub-device and video node names

Dongle Setup:
Hootoo with a cable master Ethernet dongle attached. 
Cc: groeck@chromium.org
Summary: EVE: KASAN: null-ptr-deref in xhci_find_slot_id_by_port (was: EVE: KASAN: null-ptr-deref on address 000000000000001c)
Owner: groeck@chromium.org
Status: Assigned (was: Unconfirmed)
Quick analysis suggests that xhci_alloc_virt_device() is not mutex protected. If so, there is a time frame where xhci->devs[slot_id] is set but not fully initialized. Specifically, xhci->devs[i]->udev can be NULL. udev->speed is at offset 28 in struct usb_device. 28 = 0x1c.

A complete traceback would be helpful. Please attach output from dmesg if possible.

Complete traceback and dmesg logs are attached:

<6>[149718.650768] usb 1-1.2: USB disconnect, device number 65
<3>[149718.664092] ==================================================================
<3>[149718.664101] BUG: KASAN: null-ptr-deref on address 000000000000001c
<3>[149718.664107] Read of size 4 by task kworker/2:5/6099
<4>[149718.664116] CPU: 2 PID: 6099 Comm: kworker/2:5 Tainted: G        W       4.4.96-12159-g661b75b15596 #1
<4>[149718.664121] Hardware name: Google Eve/Eve, BIOS Google_Eve.9584.86.0 09/09/2017
<4>[149718.664130] Workqueue: pm pm_runtime_work
<4>[149718.664136]  0000000000000004 01dd31e37e3cf454 ffff8801056876d0 ffffffff8f25b4e9
<4>[149718.664148]  ffff7fffffffffff ffffffff8fbbb217 ffff880105687748 ffffffff8f00337d
<4>[149718.664159]  ffffffff8f5cea69 0000000000000096 ffff880235c00380 ffff880105687740
<4>[149718.664170] Call Trace:
<4>[149718.664179]  [<ffffffff8f25b4e9>] dump_stack+0x4d/0x63
<4>[149718.664188]  [<ffffffff8f00337d>] kasan_report+0x153/0x4da
<4>[149718.664197]  [<ffffffff8f5cea69>] ? xhci_find_slot_id_by_port+0x6d/0xbc
<4>[149718.664204]  [<ffffffff8f00292d>] __asan_load4+0x6c/0x6e
<4>[149718.664212]  [<ffffffff8f5cea69>] xhci_find_slot_id_by_port+0x6d/0xbc
<4>[149718.664220]  [<ffffffff8f5d005a>] xhci_hub_control+0x1420/0x19dc
<4>[149718.664228]  [<ffffffff8f0404d4>] ? __cmpxchg_double_slab.isra.35+0x67/0x119
<4>[149718.664236]  [<ffffffff8ef8656b>] ? ___might_sleep+0x7f/0x1bb
<4>[149718.664243]  [<ffffffff8f0026aa>] ? kasan_poison_shadow+0x2f/0x31
<4>[149718.664250]  [<ffffffff8f0026aa>] ? kasan_poison_shadow+0x2f/0x31
<4>[149718.664258]  [<ffffffff8f002c39>] ? kasan_unpoison_shadow+0x14/0x35
<4>[149718.664266]  [<ffffffff8efa1635>] ? do_raw_spin_lock+0x145/0x15e
<4>[149718.664274]  [<ffffffff8f76b298>] usb_hcd_submit_urb+0xa1b/0x1382
<4>[149718.664282]  [<ffffffff8f041b64>] ? ___slab_alloc.constprop.55+0x451/0x54c
<4>[149718.664290]  [<ffffffff8f041b64>] ? ___slab_alloc.constprop.55+0x451/0x54c
<4>[149718.664298]  [<ffffffff8f581f60>] ? usb_alloc_urb+0x1a/0x42
<4>[149718.664306]  [<ffffffff8f76c276>] usb_submit_urb+0x677/0x68e
<4>[149718.664314]  [<ffffffff8f5837cd>] usb_start_wait_urb+0x89/0x124
<4>[149718.664322]  [<ffffffff8f583c37>] usb_control_msg+0x175/0x1b3
<4>[149718.664331]  [<ffffffff8f575141>] set_port_feature+0x4a/0x55
<4>[149718.664338]  [<ffffffff8f57b0bc>] usb_port_suspend+0x207/0x361
<4>[149718.664346]  [<ffffffff8f59372c>] generic_suspend+0x4c/0x54
<4>[149718.664355]  [<ffffffff8f586ad3>] usb_suspend_both+0x286/0x300
<4>[149718.664362]  [<ffffffff8f58848b>] ? usb_probe_device+0x59/0x59
<4>[149718.664369]  [<ffffffff8f5884c3>] usb_runtime_suspend+0x38/0x8f
<4>[149718.664376]  [<ffffffff8f58848b>] ? usb_probe_device+0x59/0x59
<4>[149718.664383]  [<ffffffff8f58848b>] ? usb_probe_device+0x59/0x59
<4>[149718.664391]  [<ffffffff8f4daf4f>] __rpm_callback+0x39/0x60
<4>[149718.664399]  [<ffffffff8f7686f6>] rpm_suspend+0x4ba/0x84c
<4>[149718.664407]  [<ffffffff8efa1635>] ? do_raw_spin_lock+0x145/0x15e
<4>[149718.664416]  [<ffffffff8f768af0>] __pm_runtime_suspend+0x68/0x82
<4>[149718.664423]  [<ffffffff8f588536>] ? usb_runtime_resume+0x1c/0x1c
<4>[149718.664430]  [<ffffffff8f588560>] usb_runtime_idle+0x2a/0x32
<4>[149718.664438]  [<ffffffff8f4daf4f>] __rpm_callback+0x39/0x60
<4>[149718.664445]  [<ffffffff8f4db64d>] rpm_idle+0x151/0x1b3
<4>[149718.664453]  [<ffffffff8f4dbe6e>] pm_runtime_work+0x6a/0xac
<4>[149718.664461]  [<ffffffff8ef84d4b>] worker_thread+0xa8d/0xe11
<4>[149718.664469]  [<ffffffff8ef842be>] ? queue_work_on+0x24/0x24
<4>[149718.664476]  [<ffffffff8eeb118a>] kthread+0x184/0x194
<4>[149718.664484]  [<ffffffff8eeb1006>] ? flush_kthread_worker+0xb5/0xb5
<4>[149718.664492]  [<ffffffff8f9b696f>] ret_from_fork+0x3f/0x70
<4>[149718.664499]  [<ffffffff8eeb1006>] ? flush_kthread_worker+0xb5/0xb5
<3>[149718.664504] ==================================================================
<4>[149718.664508] Disabling lock debugging due to kernel taint
<1>[149718.664521] BUG: unable to handle kernel NULL pointer dereference at 000000000000001c
<1>[149718.664528] IP: [<ffffffff8f5cea69>] xhci_find_slot_id_by_port+0x6d/0xbc
<4>[149718.664538] PGD 0 
<4>[149718.664543] Oops: 0000 [#1] PREEMPT SMP KASAN
<0>[149718.666470] gsmi: Log Shutdown Reason 0x03
<4>[149718.666474] Modules linked in: bluetooth uinput snd_soc_kbl_rt5663_rt5514_max98927 snd_soc_hdac_hdmi snd_soc_skl_ssp_clk snd_soc_dmic snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_sst_match snd_hda_ext_core snd_hda_core snd_soc_rt5514 snd_soc_rt5514_spi snd_soc_rt5663 snd_soc_rl6231 snd_soc_max98927 zram fuse cfg80211 iio_trig_sysfs cros_ec_light_prox cros_ec_sensors cros_ec_sensors_ring cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio ip6table_filter uvcvideo cdc_ether usbnet videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 r8152 videobuf2_core mii usb_serial_simple joydev
<4>[149718.666576] CPU: 2 PID: 6099 Comm: kworker/2:5 Tainted: G    B   W       4.4.96-12159-g661b75b15596 #1
<4>[149718.666582] Hardware name: Google Eve/Eve, BIOS Google_Eve.9584.86.0 09/09/2017
<4>[149718.666589] Workqueue: pm pm_runtime_work
<4>[149718.666596] task: ffff880105983e00 ti: ffff880105680000 task.ti: ffff880105680000
<4>[149718.666602] RIP: 0010:[<ffffffff8f5cea69>]  [<ffffffff8f5cea69>] xhci_find_slot_id_by_port+0x6d/0xbc
<4>[149718.666613] RSP: 0018:ffff880105687768  EFLAGS: 00010046
<4>[149718.666618] RAX: 0000000000000000 RBX: ffff880075cc4800 RCX: ffffffff8efa1775
<4>[149718.666624] RDX: 1ffffffff1fcd916 RSI: ffff880105983e00 RDI: ffffffff8fe6c8b0
<4>[149718.666630] RBP: ffff8801056877a0 R08: fffff5200004c500 R09: fffffbfff1fcd918
<4>[149718.666636] R10: ffff880105680000 R11: ffffc9000026281b R12: 0000000000000012
<4>[149718.666642] R13: ffff880202bb4290 R14: ffff880075cc2148 R15: 0000000000000000
<4>[149718.666648] FS:  0000000000000000(0000) GS:ffff880236d00000(0000) knlGS:0000000000000000
<4>[149718.666654] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[149718.666659] CR2: 000000000000001c CR3: 00000002112e0000 CR4: 00000000003606e0
<4>[149718.666665] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
<4>[149718.666670] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
<4>[149718.666674] Stack:
<4>[149718.666678]  ffff880075cc2208 00018802250b0ec8 0000000000000000 0000000000000000
<4>[149718.666690]  0000000000001202 ffff880075cc2148 ffff880075cc4538 ffff880105687890
<4>[149718.666702]  ffffffff8f5d005a ffff88010000000c ffffffff8f0404d4 ffff8801056877f8
<4>[149718.666714] Call Trace:
<4>[149718.666722]  [<ffffffff8f5d005a>] xhci_hub_control+0x1420/0x19dc
<4>[149718.666730]  [<ffffffff8f0404d4>] ? __cmpxchg_double_slab.isra.35+0x67/0x119
<4>[149718.666737]  [<ffffffff8ef8656b>] ? ___might_sleep+0x7f/0x1bb
<4>[149718.666744]  [<ffffffff8f0026aa>] ? kasan_poison_shadow+0x2f/0x31
<4>[149718.666751]  [<ffffffff8f0026aa>] ? kasan_poison_shadow+0x2f/0x31
<4>[149718.666759]  [<ffffffff8f002c39>] ? kasan_unpoison_shadow+0x14/0x35
<4>[149718.666767]  [<ffffffff8efa1635>] ? do_raw_spin_lock+0x145/0x15e
<4>[149718.666776]  [<ffffffff8f76b298>] usb_hcd_submit_urb+0xa1b/0x1382
<4>[149718.666784]  [<ffffffff8f041b64>] ? ___slab_alloc.constprop.55+0x451/0x54c
<4>[149718.666791]  [<ffffffff8f041b64>] ? ___slab_alloc.constprop.55+0x451/0x54c
<4>[149718.666799]  [<ffffffff8f581f60>] ? usb_alloc_urb+0x1a/0x42
<4>[149718.666806]  [<ffffffff8f76c276>] usb_submit_urb+0x677/0x68e
<4>[149718.666815]  [<ffffffff8f5837cd>] usb_start_wait_urb+0x89/0x124
<4>[149718.666823]  [<ffffffff8f583c37>] usb_control_msg+0x175/0x1b3
<4>[149718.666831]  [<ffffffff8f575141>] set_port_feature+0x4a/0x55
<4>[149718.666838]  [<ffffffff8f57b0bc>] usb_port_suspend+0x207/0x361
<4>[149718.666846]  [<ffffffff8f59372c>] generic_suspend+0x4c/0x54
<4>[149718.666854]  [<ffffffff8f586ad3>] usb_suspend_both+0x286/0x300
<4>[149718.666861]  [<ffffffff8f58848b>] ? usb_probe_device+0x59/0x59
<4>[149718.666869]  [<ffffffff8f5884c3>] usb_runtime_suspend+0x38/0x8f
<4>[149718.666876]  [<ffffffff8f58848b>] ? usb_probe_device+0x59/0x59
<4>[149718.666882]  [<ffffffff8f58848b>] ? usb_probe_device+0x59/0x59
<4>[149718.666890]  [<ffffffff8f4daf4f>] __rpm_callback+0x39/0x60
<4>[149718.666898]  [<ffffffff8f7686f6>] rpm_suspend+0x4ba/0x84c
<4>[149718.666906]  [<ffffffff8efa1635>] ? do_raw_spin_lock+0x145/0x15e
<4>[149718.666914]  [<ffffffff8f768af0>] __pm_runtime_suspend+0x68/0x82
<4>[149718.666921]  [<ffffffff8f588536>] ? usb_runtime_resume+0x1c/0x1c
<4>[149718.666928]  [<ffffffff8f588560>] usb_runtime_idle+0x2a/0x32
<4>[149718.666936]  [<ffffffff8f4daf4f>] __rpm_callback+0x39/0x60
<4>[149718.666943]  [<ffffffff8f4db64d>] rpm_idle+0x151/0x1b3
<4>[149718.666950]  [<ffffffff8f4dbe6e>] pm_runtime_work+0x6a/0xac
<4>[149718.666959]  [<ffffffff8ef84d4b>] worker_thread+0xa8d/0xe11
<4>[149718.666968]  [<ffffffff8ef842be>] ? queue_work_on+0x24/0x24
<4>[149718.666975]  [<ffffffff8eeb118a>] kthread+0x184/0x194
<4>[149718.666982]  [<ffffffff8eeb1006>] ? flush_kthread_worker+0xb5/0xb5
<4>[149718.666990]  [<ffffffff8f9b696f>] ret_from_fork+0x3f/0x70
<4>[149718.666997]  [<ffffffff8eeb1006>] ? flush_kthread_worker+0xb5/0xb5
<4>[149718.667001] Code: 41 ff c4 48 83 c3 08 41 81 fc 00 01 00 00 75 e0 66 45 31 e4 eb 54 4c 89 ef e8 8c 3d a3 ff 4d 8b 7d 00 49 8d 7f 1c e8 58 3e a3 ff <41> 83 7f 1c 04 48 8b 7d c8 0f 96 c2 41 88 d7 e8 44 3e a3 ff 41 
<1>[149718.667129] RIP  [<ffffffff8f5cea69>] xhci_find_slot_id_by_port+0x6d/0xbc
<4>[149718.667139]  RSP <ffff880105687768>
<4>[149718.667143] CR2: 000000000000001c
<4>[149718.667149] ---[ end trace 6a3fa04b957d4f2a ]---
<0>[149718.712687] Kernel panic - not syncing: Fatal exception
<0>[149719.781349] Shutting down cpus with NMI
<0>[149719.781357] Kernel Offset: 0xde00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
<0>[149719.781537] gsmi: Log Shutdown Reason 0x02
ramoops_791717.tar.gz
98.2 KB Download
Additional info:

lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 2: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 2: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 3: Dev 3, If 0, Class=Wireless, Driver=, 12M
    |__ Port 3: Dev 3, If 1, Class=Wireless, Driver=, 12M
    |__ Port 7: Dev 5, If 0, Class=Vendor Specific Class, Driver=usb_serial_simple, 12M
    |__ Port 7: Dev 5, If 1, Class=Vendor Specific Class, Driver=usb_serial_simple, 12M
    |__ Port 7: Dev 5, If 2, Class=Vendor Specific Class, Driver=usb_serial_simple, 12M
    |__ Port 7: Dev 5, If 3, Class=Vendor Specific Class, Driver=, 12M
    |__ Port 7: Dev 5, If 4, Class=Vendor Specific Class, Driver=, 12M
    |__ Port 7: Dev 5, If 5, Class=Vendor Specific Class, Driver=, 12M

ls -l /sys/bus/usb/devices/*/driver
lrwxrwxrwx 1 root root 0 Dec  5 07:48 /sys/bus/usb/devices/1-0:1.0/driver -> ../../../../../bus/usb/drivers/hub
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/1-2/driver -> ../../../../../bus/usb/drivers/usb
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/1-2:1.0/driver -> ../../../../../../bus/usb/drivers/uvcvideo
lrwxrwxrwx 1 root root 0 Dec  5 07:48 /sys/bus/usb/devices/1-2:1.1/driver -> ../../../../../../bus/usb/drivers/uvcvideo
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/1-3/driver -> ../../../../../bus/usb/drivers/usb
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/1-7/driver -> ../../../../../bus/usb/drivers/usb
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/1-7:1.0/driver -> ../../../../../../bus/usb/drivers/usb_serial_simple
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/1-7:1.1/driver -> ../../../../../../bus/usb/drivers/usb_serial_simple
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/1-7:1.2/driver -> ../../../../../../bus/usb/drivers/usb_serial_simple
lrwxrwxrwx 1 root root 0 Dec  5 07:48 /sys/bus/usb/devices/2-0:1.0/driver -> ../../../../../bus/usb/drivers/hub
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/usb1/driver -> ../../../../bus/usb/drivers/usb
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/usb2/driver -> ../../../../bus/usb/drivers/usb

With USB-C dongle attached + USB Ethernet

localhost local # lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
    |__ Port 2: Dev 4, If 0, Class=Hub, Driver=hub/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 2: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 2: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 3: Dev 3, If 0, Class=Wireless, Driver=, 12M
    |__ Port 3: Dev 3, If 1, Class=Wireless, Driver=, 12M
    |__ Port 5: Dev 8, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 9, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 3: Dev 10, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
    |__ Port 7: Dev 5, If 0, Class=Vendor Specific Class, Driver=usb_serial_simple, 12M
    |__ Port 7: Dev 5, If 1, Class=Vendor Specific Class, Driver=usb_serial_simple, 12M
    |__ Port 7: Dev 5, If 2, Class=Vendor Specific Class, Driver=usb_serial_simple, 12M
    |__ Port 7: Dev 5, If 3, Class=Vendor Specific Class, Driver=, 12M
    |__ Port 7: Dev 5, If 4, Class=Vendor Specific Class, Driver=, 12M
    |__ Port 7: Dev 5, If 5, Class=Vendor Specific Class, Driver=, 12M

 
localhost local # ls -l /sys/bus/usb/devices/*/driver
lrwxrwxrwx 1 root root 0 Dec  5 07:48 /sys/bus/usb/devices/1-0:1.0/driver -> ../../../../../bus/usb/drivers/hub
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/1-2/driver -> ../../../../../bus/usb/drivers/usb
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/1-2:1.0/driver -> ../../../../../../bus/usb/drivers/uvcvideo
lrwxrwxrwx 1 root root 0 Dec  5 07:48 /sys/bus/usb/devices/1-2:1.1/driver -> ../../../../../../bus/usb/drivers/uvcvideo
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/1-3/driver -> ../../../../../bus/usb/drivers/usb
lrwxrwxrwx 1 root root 0 Dec  5 08:26 /sys/bus/usb/devices/1-5.1/driver -> ../../../../../../bus/usb/drivers/usb
lrwxrwxrwx 1 root root 0 Dec  5 08:26 /sys/bus/usb/devices/1-5.1:1.0/driver -> ../../../../../../../bus/usb/drivers/hub
lrwxrwxrwx 1 root root 0 Dec  5 08:26 /sys/bus/usb/devices/1-5.3/driver -> ../../../../../../bus/usb/drivers/usb
lrwxrwxrwx 1 root root 0 Dec  5 08:26 /sys/bus/usb/devices/1-5.3:1.0/driver -> ../../../../../../../bus/usb/drivers/r8152
lrwxrwxrwx 1 root root 0 Dec  5 08:26 /sys/bus/usb/devices/1-5/driver -> ../../../../../bus/usb/drivers/usb
lrwxrwxrwx 1 root root 0 Dec  5 08:26 /sys/bus/usb/devices/1-5:1.0/driver -> ../../../../../../bus/usb/drivers/hub
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/1-7/driver -> ../../../../../bus/usb/drivers/usb
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/1-7:1.0/driver -> ../../../../../../bus/usb/drivers/usb_serial_simple
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/1-7:1.1/driver -> ../../../../../../bus/usb/drivers/usb_serial_simple
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/1-7:1.2/driver -> ../../../../../../bus/usb/drivers/usb_serial_simple
lrwxrwxrwx 1 root root 0 Dec  5 07:48 /sys/bus/usb/devices/2-0:1.0/driver -> ../../../../../bus/usb/drivers/hub
lrwxrwxrwx 1 root root 0 Dec  5 08:26 /sys/bus/usb/devices/2-2/driver -> ../../../../../bus/usb/drivers/usb
lrwxrwxrwx 1 root root 0 Dec  5 08:26 /sys/bus/usb/devices/2-2:1.0/driver -> ../../../../../../bus/usb/drivers/hub
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/usb1/driver -> ../../../../bus/usb/drivers/usb
lrwxrwxrwx 1 root root 0 Dec  5 07:14 /sys/bus/usb/devices/usb2/driver -> ../../../../bus/usb/drivers/usb



#5 - Great - the fix is exactly what I had in mind. I'll wait for it to be available on a mailing list and then apply.


Status: ExternalDependency (was: Assigned)

Comment 9 by groeck@chromium.org, Dec 15 2017

Components: OS>Kernel
Labels: -Pri-3 M-64 Pri-1
Increasing priority and setting target release. A crash in a release image is not acceptable.

Comment 11 Deleted

Comment 12 Deleted

Fix will be available in v4.4.107 and v4.14.8.

Status: Assigned (was: ExternalDependency)
v4.4.107 and v4.14.8 have been released. Tracking bugs:  crbug.com/796607  (v4.4.107),  crbug.com/796620  (v4.14.8).

Mergedinto: 796607
Status: Duplicate (was: Assigned)

Sign in to add a comment