Bail out when USB port is stuck in reset loop

Bug #1960777 reported by Kai-Heng Feng
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Low
Unassigned
linux-intel-5.13 (Ubuntu)
Fix Released
Undecided
Jian Hui Lee
Jammy
New
Undecided
Unassigned
Kinetic
Fix Released
Undecided
Jian Hui Lee
linux-intel-iotg (Ubuntu)
New
Undecided
Unassigned
Jammy
New
Undecided
Unassigned
Kinetic
New
Undecided
Unassigned

Bug Description

[Impact]
USB port stops working after unplug an USB device.

[Fix]
Commit c89686118c786a523eee3ef68ed38330319626d8 ("usb: core: Bail out when port is stuck in reset loop")

[Test]
Affected vendor confirmed the patch can fix the issue after numerous round of tests.

[Where problems could occur]
If there's any peculiar USB hub depends on the old (and buggy) behavior, this can potentially bring a regression to the hub.

Changed in linux-intel-5.13 (Ubuntu):
assignee: nobody → Jesse Sung (wenchien)
tags: added: murcia oem-priority originate-from-1950235
Jesse Sung (wenchien)
Changed in linux-intel-5.13 (Ubuntu):
assignee: Jesse Sung (wenchien) → Jian Hui Lee (jianhuilee)
Jesse Sung (wenchien)
Changed in linux-intel-5.13 (Ubuntu):
status: New → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-intel-5.13/5.13.0-1011.11 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
Revision history for this message
Jesse Sung (wenchien) wrote :

Set as verified based on the QA test result from the linked project.

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (54.7 KiB)

This bug was fixed in the package linux-intel-5.13 - 5.13.0-1011.11

---------------
linux-intel-5.13 (5.13.0-1011.11) focal; urgency=medium

  * focal/linux-intel-5.13: 5.13.0-1011.11 -proposed tracker (LP: #1968865)

  * Ubuntu Server lose connection when download >1G large file (LP: #1967257)
    - bus: mhi: pci-generic: configurable network interface MRU
    - bus: mhi: pci_generic: Add mru_default for Quectel EM1xx series
    - bus: mhi: pci_generic: Add mru_default for Foxconn SDX55

  * Add IIO sensors ID for ACPI based platform (LP: #1962674)
    - iio: accel: adxl345: Convert to use dev_err_probe()
    - iio: accel: adxl345: Set driver_data for OF enumeration
    - iio: accel: adxl345: Get rid of name parameter in adxl345_core_probe()
    - iio: accel: adxl345: Make use of device properties
    - iio: accel: adxl345: Add ACPI HID table
    - iio: accel: adxl345: Extract adxl345_powerup() helper
    - iio: accel: adxl345: Drop comma in terminator entries
    - iio: accel: adxl345: Remove unneeded blank lines
    - iio: humidity: hdc100x: Add ACPI HID table
    - iio: pressure: dps310: Add ACPI HID table

  * Bail out when USB port is stuck in reset loop (LP: #1960777)
    - usb: core: Bail out when port is stuck in reset loop

  [ Ubuntu: 5.13.0-40.45~20.04.1 ]

  * focal/linux-hwe-5.13: 5.13.0-40.45~20.04.1 -proposed tracker (LP: #1967356)
  * impish/linux: 5.13.0-40.45 -proposed tracker (LP: #1966701)
  * CVE-2022-1016
    - netfilter: nf_tables: initialize registers in nft_do_chain()
  * CVE-2022-1015
    - netfilter: nf_tables: validate registers coming from userspace.
  * audit: improve audit queue handling when "audit=1" on cmdline
    (LP: #1965723) // Impish update: upstream stable patchset 2022-03-22
    (LP: #1966021)
    - audit: improve audit queue handling when "audit=1" on cmdline
  * PS/2 Keyboard wakeup from s2idle not functioning on AMD Yellow Carp platform
    (LP: #1961739)
    - PM: s2idle: ACPI: Fix wakeup interrupts handling
  * Low RX performance for 40G Solarflare NICs (LP: #1964512)
    - SAUCE: sfc: The size of the RX recycle ring should be more flexible
  * [UBUNTU 20.04] Fix SIGP processing on KVM/s390 (LP: #1962578)
    - KVM: s390: Simplify SIGP Set Arch handling
    - KVM: s390: Add a routine for setting userspace CPU state
  * Move virtual graphics drivers from linux-modules-extra to linux-modules
    (LP: #1960633)
    - [Packaging] Move VM DRM drivers into modules
  * Impish update: upstream stable patchset 2022-03-09 (LP: #1964422)
    - bnx2x: Utilize firmware 7.13.21.0
    - bnx2x: Invalidate fastpath HSI version for VFs
    - rcu: Tighten rcu_advance_cbs_nowake() checks
    - select: Fix indefinitely sleeping task in poll_schedule_timeout()
    - drm/amdgpu: Use correct VIEWPORT_DIMENSION for DCN2
    - arm64/bpf: Remove 128MB limit for BPF JIT programs
    - Bluetooth: refactor malicious adv data check
    - net: sfp: ignore disabled SFP node
    - net: stmmac: skip only stmmac_ptp_register when resume from suspend
    - s390/hypfs: include z/VM guests with access control group set
    - bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()
    - scsi: zfcp: Fix failed recovery on gon...

Changed in linux-intel-5.13 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-intel-iotg/5.15.0-1006.8 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-jammy
Timo Aaltonen (tjaalton)
Changed in hwe-next:
importance: Undecided → Low
Changed in hwe-next:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.