CVE-2023-52697

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

State
Published
Severity
Not scored
Published
May 17, 2024
Updated
May 11, 2026
Reserved
Mar 7, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5360c67046385f90406ec17e367ba9aeb42d5459 to before a410d58117d6da4b7d41f3c91365f191d006bc3dAffected
  • 5360c67046385f90406ec17e367ba9aeb42d5459 to before 582231a8c4f73ac153493687ecc1bed853e9c9efAffected
  • 5360c67046385f90406ec17e367ba9aeb42d5459 to before e38e252dbceeef7d2f848017132efd68e9ae1416Affected
LinuxLinux
  • 6.5Affected
  • before 6.5Not affected
  • 6.6.14 through 6.6.*Not affected
  • 6.7.2 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.