APPLIED: [SRU][Jammy][PATCH 0/2] alsa: soc: the kernel print UBSAN calltrace on the machine with cs35l41 codec
Stefan Bader
stefan.bader at canonical.com
Fri Nov 11 11:45:53 UTC 2022
On 10.11.22 02:25, Hui Wang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1996121
>
> 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 mainline 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.
>
>
> Hui Wang (2):
> ASoC: cs35l41: Add one more variable in the debug log
> ASoC: cs35l41: Fix an out-of-bounds access in otp_packed_element_t
>
> include/sound/cs35l41.h | 1 -
> sound/soc/codecs/cs35l41-lib.c | 18 +++++++++---------
> 2 files changed, 9 insertions(+), 10 deletions(-)
>
Applied to jammy:linux/master-next. Thanks.
-Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20221111/d98414c9/attachment.sig>
More information about the kernel-team
mailing list