alsa: soc: the kernel print UBSAN calltrace on the machine with cs35l41 codec
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
In Progress
|
Medium
|
Hui Wang | ||
Jammy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The cs35l41 codec driver was backported to Jammy kernel a couple of
months ago, recently the Jammy kernel was adopted as the hwe kernel
for OEM machines and with this kernel the UBSAN calltrace was seen,
need to backport these 2 patches. Kinetic kernel already has the
patches, so this SRU is only for Jammy kernel.
[Impact]
Install the 5.15 hwe kernel on the machines with cs35l41
codec, after booting and check the dmesg, there is a UBSAN calltrace.
[Fix]
Backport 2 patches from mainlie kernel to fix this problem.
[Test]
boot the patched kernel on the machine, check the dmesg, there
is no UBSAN calltrace, and test the audio functions, all input
and output devices coudl work as well as before.
[Where problems could occur]
The patch only affects the cirruslogic asoc codec driver, if it
could introduce the regression, it will be on the machines with
cs codec, and it will make the audio driver initialization fail
and make the system lose the audio function. But this possibility
is very low, we tested the patches on many oem machines, all
worked well.
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in linux (Ubuntu Jammy): | |
importance: | Undecided → Medium |
status: | New → In Progress |
description: | updated |
Changed in linux (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-jammy removed: verification-needed-jammy |
tags: |
added: verification-done-jammy removed: verification-needed-jammy |
tags: |
added: verification-done-focal verification-done-jammy removed: verification-needed-focal verification-needed-jammy |
This bug is awaiting verification that the linux/5.15.0-57.63 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!