{"id":"CVE-2023-52697","summary":"ASoC: Intel: sof_sdw_rt_sdca_jack_common: ctx-\u003eheadset_codec_dev = NULL","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: Intel: sof_sdw_rt_sdca_jack_common: ctx-\u003eheadset_codec_dev = NULL\n\nsof_sdw_rt_sdca_jack_exit() are used by different codecs, and some of\nthem use the same dai name.\nFor example, rt712 and rt713 both use \"rt712-sdca-aif1\" and\nsof_sdw_rt_sdca_jack_exit().\nAs a result, sof_sdw_rt_sdca_jack_exit() will be called twice by\nmc_dailink_exit_loop(). Set ctx-\u003eheadset_codec_dev = NULL; after\nput_device(ctx-\u003eheadset_codec_dev); to avoid ctx-\u003eheadset_codec_dev\nbeing put twice.","modified":"2026-04-02T09:43:15.294063Z","published":"2024-05-17T14:27:29.232Z","related":["SUSE-SU-2024:2135-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20249-1","USN-6818-2","USN-6819-2"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52697.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/582231a8c4f73ac153493687ecc1bed853e9c9ef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a410d58117d6da4b7d41f3c91365f191d006bc3d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e38e252dbceeef7d2f848017132efd68e9ae1416"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52697.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52697"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5360c67046385f90406ec17e367ba9aeb42d5459"},{"fixed":"a410d58117d6da4b7d41f3c91365f191d006bc3d"},{"fixed":"582231a8c4f73ac153493687ecc1bed853e9c9ef"},{"fixed":"e38e252dbceeef7d2f848017132efd68e9ae1416"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52697.json"}}],"schema_version":"1.7.5"}