# CVE-2023-53666: ASoC: codecs: wcd938x: fix missing mbhc init error handling

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-10-07T15:21:24.490Z
- Modified: 2026-06-17T06:45:49.753Z
- Assigned by: Linux

## 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]

(As written by CVE List.)

## Affected

- Linux Linux: from bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3 before 5a34d252052b5da743ef82591c860fc947384d4e; from bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3 before bb241ae928c694e365c30c888c9eb02dcc812dfd; from bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3 before 31ee704c84c4bf4df8521ef1478c161f710d0f94; from bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3 before 7dfae2631bfbdebecd35fe7b472ab3cc95c9ed66; 5.15 (not affected: before 5.15; from 5.15.123 up to 5.15.*; from 6.1.42 up to 6.1.*; from 6.4.7 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: from 5.15 before 5.15.123; from 5.16 before 6.1.42; from 6.2 before 6.4.7; 6.5

## References

- <https://git.kernel.org/stable/c/5a34d252052b5da743ef82591c860fc947384d4e> (patch)
- <https://git.kernel.org/stable/c/bb241ae928c694e365c30c888c9eb02dcc812dfd> (patch)
- <https://git.kernel.org/stable/c/31ee704c84c4bf4df8521ef1478c161f710d0f94> (patch)
- <https://git.kernel.org/stable/c/7dfae2631bfbdebecd35fe7b472ab3cc95c9ed66> (patch)

## Sources

- CVE List: [CVE-2023-53666](https://www.cve.org/CVERecord?id=CVE-2023-53666), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53666](https://nvd.nist.gov/vuln/detail/CVE-2023-53666), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53666 · Whole record: https://cve.day/CVE-2023-53666.json · Rebuilt by cve.day 2026-11-25T22:58:34.993Z
