← CVE Intelligence

CVE-2023-52697

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 5360c67046385f90406ec17e367ba9aeb42d5459 before a410d58117d6da4b7d41f3c91365f191d006bc3d; affected 5360c67046385f90406ec17e367ba9aeb42d5459 before 582231a8c4f73ac153493687ecc1bed853e9c9ef; affected 5360c67046385f90406ec17e367ba9aeb42d5459 before e38e252dbceeef7d2f848017132efd68e9ae1416
Linux / Linuxaffected 6.5; unaffected 0 before 6.5; unaffected 6.6.14 through 6.6.*; unaffected 6.7.2 through 6.7.*; unaffected 6.8 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.