Bug 2227760
| Summary: | Backport needed to avoid a multithreaded fwupd crash | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Richard Hughes <rhughes> | ||||
| Component: | libgusb | Assignee: | Kate Hsuan <hpa> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Tomas Pelka <tpelka> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 9.3 | CC: | desktop-qa-list, jkoten | ||||
| Target Milestone: | rc | Keywords: | Triaged | ||||
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | libgusb-0.3.8-2.el9 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2023-11-07 08:56:07 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (libgusb bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:6697 |
Created attachment 1980851 [details] patch for c9s Description of problem: We call g_usb_context_idle_hotplug_cb from potentially multiple threads, but the callback should be executed in the main thread. This fixes a rare crash in fwupd when hotplugging lots of devices. Version-Release number of selected component (if applicable): libgusb-0.3.8-1 How reproducible: Rarely -- which makes it really hard to QA. You can unplug a thousands times and not hit it once, but running on millions of machines we've seen it reported 5 times on RHEL. Additional info: This has been fixed in Fedora since October, and seems to have fixed the fwupd crash seen there.