[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100704-CVE-2023-53666-62bb@gregkh>
Date: Tue, 7 Oct 2025 17:21:25 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53666: ASoC: codecs: wcd938x: fix missing mbhc init error handling
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ASoC: codecs: wcd938x: fix missing mbhc init error handling
MBHC initialisation can fail so add the missing error handling to avoid
dereferencing an error pointer when later configuring the jack:
Unable to handle kernel paging request at virtual address fffffffffffffff8
pc : wcd_mbhc_start+0x28/0x380 [snd_soc_wcd_mbhc]
lr : wcd938x_codec_set_jack+0x28/0x48 [snd_soc_wcd938x]
Call trace:
wcd_mbhc_start+0x28/0x380 [snd_soc_wcd_mbhc]
wcd938x_codec_set_jack+0x28/0x48 [snd_soc_wcd938x]
snd_soc_component_set_jack+0x28/0x8c [snd_soc_core]
qcom_snd_wcd_jack_setup+0x7c/0x19c [snd_soc_qcom_common]
sc8280xp_snd_init+0x20/0x2c [snd_soc_sc8280xp]
snd_soc_link_init+0x28/0x90 [snd_soc_core]
snd_soc_bind_card+0x628/0xbfc [snd_soc_core]
snd_soc_register_card+0xec/0x104 [snd_soc_core]
devm_snd_soc_register_card+0x4c/0xa4 [snd_soc_core]
sc8280xp_platform_probe+0xf0/0x108 [snd_soc_sc8280xp]
The Linux kernel CVE team has assigned CVE-2023-53666 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.15 with commit bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3 and fixed in 5.15.123 with commit 5a34d252052b5da743ef82591c860fc947384d4e
Issue introduced in 5.15 with commit bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3 and fixed in 6.1.42 with commit bb241ae928c694e365c30c888c9eb02dcc812dfd
Issue introduced in 5.15 with commit bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3 and fixed in 6.4.7 with commit 31ee704c84c4bf4df8521ef1478c161f710d0f94
Issue introduced in 5.15 with commit bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3 and fixed in 6.5 with commit 7dfae2631bfbdebecd35fe7b472ab3cc95c9ed66
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2023-53666
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
sound/soc/codecs/wcd938x.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/5a34d252052b5da743ef82591c860fc947384d4e
https://git.kernel.org/stable/c/bb241ae928c694e365c30c888c9eb02dcc812dfd
https://git.kernel.org/stable/c/31ee704c84c4bf4df8521ef1478c161f710d0f94
https://git.kernel.org/stable/c/7dfae2631bfbdebecd35fe7b472ab3cc95c9ed66
Powered by blists - more mailing lists