headset_codec_dev = NULL; after put_device(ctx->headset_codec_dev); to avoid ctx->headset_codec_dev being put twice. "> headset_codec_dev,=,NULL;,after put_device(ctx->headset_codec_dev);,to,avoid,ctx->headset_codec_dev being,put,twice. "> SecuritySpace - CVE-2023-52697
 
 
 Vulnerability   
Search   
    Search 324607 CVE descriptions
and 146377 test descriptions,
access 10,000+ cross references.
Tests   CVE   All  

CVE ID:CVE-2023-52697
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.
Test IDs: None available
Cross References: Common Vulnerability Exposure (CVE) ID: CVE-2023-52697
https://git.kernel.org/stable/c/582231a8c4f73ac153493687ecc1bed853e9c9ef
https://git.kernel.org/stable/c/582231a8c4f73ac153493687ecc1bed853e9c9ef
https://git.kernel.org/stable/c/a410d58117d6da4b7d41f3c91365f191d006bc3d
https://git.kernel.org/stable/c/a410d58117d6da4b7d41f3c91365f191d006bc3d
https://git.kernel.org/stable/c/e38e252dbceeef7d2f848017132efd68e9ae1416
https://git.kernel.org/stable/c/e38e252dbceeef7d2f848017132efd68e9ae1416




© 1998-2025 E-Soft Inc. All rights reserved.