Fix kernel panic at boot on dual GFX systems
Bug #1926792 reported by
Kai-Heng Feng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Focal |
Won't Fix
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
High
|
Unassigned | ||
linux-oem-5.10 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Critical
|
Unassigned | ||
Hirsute |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
On dual GFX systems, if amdgpu fails to probe a device, vgaarb for
another GFX triggers a NULL pointer dereference and freeze the system.
[Fix]
Defer VGA client registering so resources are handled properly when
amdgpu probe fails.
[Test]
With the patch applied, no more kernel panic when vgaarb is changing the
VGA mode.
[Where problems could occur]
VGA clients won't take effect until a successful probe, so unless there
is very subtle bug in vgaarb or vgaswitcheroo, it's very unlikely to
introduce any regression.
CVE References
Changed in linux-oem-5.10 (Ubuntu Hirsute): | |
status: | New → Invalid |
Changed in linux-oem-5.10 (Ubuntu): | |
status: | New → Invalid |
Changed in linux (Ubuntu Focal): | |
status: | New → Won't Fix |
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Hirsute): | |
status: | New → Confirmed |
Changed in linux-oem-5.10 (Ubuntu Focal): | |
status: | New → Confirmed |
Changed in linux (Ubuntu): | |
importance: | Undecided → Critical |
Changed in linux (Ubuntu Hirsute): | |
importance: | Undecided → Critical |
Changed in linux-oem-5.10 (Ubuntu Focal): | |
importance: | Undecided → Critical |
tags: | added: oem-priority originate-from-1914566 stella |
Changed in linux (Ubuntu Hirsute): | |
importance: | Critical → High |
Changed in linux (Ubuntu Hirsute): | |
status: | Confirmed → Fix Committed |
Changed in linux-oem-5.10 (Ubuntu Focal): | |
status: | Confirmed → Fix Committed |
tags: |
added: verification-done-hirsute removed: verification-needed-hirsute |
tags: |
added: verification-done-focal removed: verification-needed-focal |
Changed in hwe-next: | |
status: | New → Fix Released |
To post a comment you must log in.
This bug is awaiting verification that the 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- hirsute' to 'verification- done-hirsute' . If the problem still exists, change the tag 'verification- needed- hirsute' to 'verification- failed- hirsute' .
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!