vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
New
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
High
|
You-Sheng Yang | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
Lunar |
Fix Released
|
High
|
You-Sheng Yang | ||
linux-oem-6.0 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Won't Fix
|
Undecided
|
Unassigned | ||
Lunar |
Invalid
|
Undecided
|
Unassigned | ||
linux-oem-6.1 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
You-Sheng Yang | ||
Lunar |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[SRU Justification]
[Impact]
With wwan t7xx driver patched, vmd may fail the probe process because it does not lock properly.
[Fix]
https://<email address hidden>/T/#u
[Test Case]
Verify on platforms with FM350 wwan module with prebuilt oem-6.1 or above kernels. No vmd probe error should be found in dmesg.
[Where problems could occur]
This is the way it should have been done.
[Other Info]
This is not reproducible with v6.0 or older kernels, so only Lunar and oem-6.1 are nominated for fix. OEM-6.0 patch goes to Gerrit instead.
========== original bug report ==========
vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan.
This happens after bug 2002089 re-added pci rescan feature back to wwan t7xx driver to support firmware updates via devlink. t7xx may call `pci_rescan_bus()` with proper locks, but vmd doesn't.
sysfs: cannot create duplicate filename '/devices/
Call Trace:
<TASK>
sysfs_
sysfs_
sysfs_
pci_create_
pci_create_
pci_create_
pci_bus_
pci_bus_
pci_bus_
vmd_enable_
vmd_probe+
CVE References
description: | updated |
Changed in linux-oem-6.1 (Ubuntu Lunar): | |
status: | New → Invalid |
Changed in linux-oem-6.0 (Ubuntu Lunar): | |
status: | New → Invalid |
Changed in linux (Ubuntu Jammy): | |
status: | New → Invalid |
Changed in linux (Ubuntu Lunar): | |
status: | Incomplete → In Progress |
importance: | Undecided → High |
assignee: | nobody → You-Sheng Yang (vicamo) |
Changed in linux-oem-6.1 (Ubuntu Jammy): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → You-Sheng Yang (vicamo) |
Changed in linux-oem-6.1 (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 2011389
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.