# CVE-2023-52697: ASoC: Intel: sof_sdw_rt_sdca_jack_common: ctx->headset_codec_dev = NULL

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-05-17T14:27:29.232Z
- Modified: 2026-06-17T06:43:22.163Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ASoC: Intel: sof_sdw_rt_sdca_jack_common: ctx->headset_codec_dev = NULL

sof_sdw_rt_sdca_jack_exit() are used by different codecs, and some of
them use the same dai name.
For example, rt712 and rt713 both use "rt712-sdca-aif1" and
sof_sdw_rt_sdca_jack_exit().
As a result, sof_sdw_rt_sdca_jack_exit() will be called twice by
mc_dailink_exit_loop(). Set ctx->headset_codec_dev = NULL; after
put_device(ctx->headset_codec_dev); to avoid ctx->headset_codec_dev
being put twice.

(As written by CVE List.)

## Affected

- Linux Linux: from 5360c67046385f90406ec17e367ba9aeb42d5459 before a410d58117d6da4b7d41f3c91365f191d006bc3d; from 5360c67046385f90406ec17e367ba9aeb42d5459 before 582231a8c4f73ac153493687ecc1bed853e9c9ef; from 5360c67046385f90406ec17e367ba9aeb42d5459 before e38e252dbceeef7d2f848017132efd68e9ae1416; 6.5 (not affected: before 6.5; from 6.6.14 up to 6.6.*; from 6.7.2 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 6.5 before 6.6.14; from 6.7 before 6.7.2

## References

- <https://git.kernel.org/stable/c/a410d58117d6da4b7d41f3c91365f191d006bc3d> (patch)
- <https://git.kernel.org/stable/c/582231a8c4f73ac153493687ecc1bed853e9c9ef> (patch)
- <https://git.kernel.org/stable/c/e38e252dbceeef7d2f848017132efd68e9ae1416> (patch)

## Sources

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

---

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