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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2025-10-07T15:21:24.490Z
- **Modified:** 2026-06-17T06:45:49.753Z

## Who should check

- Anyone running Linux \>= bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3, \< 5a34d252052b5da743ef82591c860fc947384d4e; \>= bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3, \< bb241ae928c694e365c30c888c9eb02dcc812dfd; \>= bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3, \< 31ee704c84c4bf4df8521ef1478c161f710d0f94; \>= bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3, \< 7dfae2631bfbdebecd35fe7b472ab3cc95c9ed66
- Anyone running Linux 5.15

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

## Affected and fixed versions

- Linux: \>= bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3, \< 5a34d252052b5da743ef82591c860fc947384d4e; \>= bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3, \< bb241ae928c694e365c30c888c9eb02dcc812dfd; \>= bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3, \< 31ee704c84c4bf4df8521ef1478c161f710d0f94; \>= bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3, \< 7dfae2631bfbdebecd35fe7b472ab3cc95c9ed66 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 7dfae2631bfbdebecd35fe7b472ab3cc95c9ed66 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53666. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53666.md
Affected: Linux >= bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3, < 5a34d252052b5da743ef82591c860fc947384d4e; >= bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3, < bb241ae928c694e365c30c888c9eb02dcc812dfd; >= bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3, < 31ee704c84c4bf4df8521ef1478c161f710d0f94; >= bcee7ed09b8e70b65d5c04f…
Fixed in: Linux 5a34d252052b5da743ef82591c860fc947384d4e, Linux 31ee704c84c4bf4df8521ef1478c161f710d0f94, Linux 7dfae2631bfbdebecd35fe7b472ab3cc95c9ed66

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53666 being exploited?

There is no confirmed exploitation: CVE-2023-53666 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53666?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53666?

Linux \>= bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3, \< 5a34d252052b5da743ef82591c860fc947384d4e; \>= bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3, \< bb241ae928c694e365c30c888c9eb02dcc812dfd; \>= bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3, \< 31ee704c84c4bf4df8521ef1478c161f710d0f94; \>= bcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3, \< 7dfae2631bfbdebecd35fe7b472ab3cc95c9ed66; Linux 5.15.

### Is there a fix for CVE-2023-53666?

Yes. Fixed in Linux 5a34d252052b5da743ef82591c860fc947384d4e, Linux 31ee704c84c4bf4df8521ef1478c161f710d0f94, Linux 7dfae2631bfbdebecd35fe7b472ab3cc95c9ed66. Upgrade Linux to 7dfae2631bfbdebecd35fe7b472ab3cc95c9ed66 or later.

### How do I check if I'm affected by CVE-2023-53666?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53666>

HTML: <https://flawdb.com/CVE-2023-53666> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53666>
