NULL pointer dereference on CS35L41 HDA AMP
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
New
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Won't Fix
|
Undecided
|
Unassigned | ||
Lunar |
Fix Committed
|
High
|
Unassigned | ||
linux-oem-6.1 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned | ||
Lunar |
Invalid
|
Undecided
|
Unassigned | ||
linux-oem-6.5 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Lunar |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
NULL pointer dereference happens because the HDA driver is trying to use CS35L41 HDA AMP before its probe routine is fully realized.
[Fix]
Use device link to enforce proper probe order.
Since the fixing commit is part of a patch series, pull in the entire series which has several other important fixes too.
[Test]
Use dmesg to see if there's error. With the fix applied, no more kernel splat can be found. Hence the system can perform suspend, reboot and shutdown normally.
[Where problems could occur]
Though the entire series isn't trivia, it's not a major overhaul either. The entire changeset is limited to CS35L41 AMP, so the scope of regression risk is constrained.
One possible risk factor is that it may require newer DSP firmware, and we'll monitor it closely on such scenario.
Changed in linux-oem-6.1 (Ubuntu): | |
status: | New → Invalid |
Changed in linux-oem-6.1 (Ubuntu Lunar): | |
status: | New → Invalid |
Changed in linux-oem-6.1 (Ubuntu Jammy): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Jammy): | |
status: | New → Won't Fix |
Changed in linux (Ubuntu Lunar): | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: oem-priority originate-from-2028335 stella |
Changed in linux (Ubuntu Lunar): | |
status: | Confirmed → Fix Committed |
Changed in linux-oem-6.1 (Ubuntu Jammy): | |
assignee: | nobody → Kai-Heng Feng (kaihengfeng) |
tags: |
added: verification-done-lunar-linux removed: verification-needed-lunar-linux |
Changed in linux-oem-6.1 (Ubuntu Jammy): | |
assignee: | Kai-Heng Feng (kaihengfeng) → nobody |
tags: |
added: verification-done-jammy-linux-oem-6.1 removed: verification-needed-jammy-linux-oem-6.1 |
Changed in linux-oem-6.5 (Ubuntu): | |
status: | New → Invalid |
Changed in linux-oem-6.5 (Ubuntu Lunar): | |
status: | New → Invalid |
Changed in linux-oem-6.1 (Ubuntu Jammy): | |
status: | Confirmed → Fix Committed |
Changed in linux-oem-6.5 (Ubuntu Jammy): | |
status: | New → Fix Committed |
Changed in linux-oem-6.5 (Ubuntu Jammy): | |
status: | Fix Committed → New |
Changed in linux-oem-6.5 (Ubuntu Jammy): | |
status: | New → Fix Committed |
This bug is awaiting verification that the linux/6.2.0-30.30 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- lunar-linux' to 'verification- done-lunar- linux'. If the problem still exists, change the tag 'verification- needed- lunar-linux' to 'verification- failed- lunar-linux' .
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!