In the Linux kernel, the following vulnerability has been resolved:
ASoC: Intel: sofsdwrtsdcajackcommon: ctx->headsetcodec_dev = NULL
sofsdwrtsdcajackexit() 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 sofsdwrtsdcajackexit(). As a result, sofsdwrtsdcajackexit() will be called twice by mcdailinkexitloop(). Set ctx->headsetcodecdev = NULL; after putdevice(ctx->headsetcodecdev); to avoid ctx->headsetcodec_dev being put twice.
{ "vanir_signatures": [ { "id": "CVE-2023-52697-021e8e12", "deprecated": false, "digest": { "threshold": 0.9, "line_hashes": [ "268301329510358795602687712594664559160", "289139211793773579354949716473235328770", "274504138999937174086636295478964336800", "5707105841147788846904052981578008187" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a410d58117d6da4b7d41f3c91365f191d006bc3d", "target": { "file": "sound/soc/intel/boards/sof_sdw_rt_sdca_jack_common.c" }, "signature_type": "Line", "signature_version": "v1" }, { "id": "CVE-2023-52697-6098163b", "deprecated": false, "digest": { "function_hash": "250947169721050230445251503249072859380", "length": 270.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e38e252dbceeef7d2f848017132efd68e9ae1416", "target": { "file": "sound/soc/intel/boards/sof_sdw_rt_sdca_jack_common.c", "function": "sof_sdw_rt_sdca_jack_exit" }, "signature_type": "Function", "signature_version": "v1" }, { "id": "CVE-2023-52697-ea6a28ab", "deprecated": false, "digest": { "threshold": 0.9, "line_hashes": [ "268301329510358795602687712594664559160", "289139211793773579354949716473235328770", "274504138999937174086636295478964336800", "5707105841147788846904052981578008187" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e38e252dbceeef7d2f848017132efd68e9ae1416", "target": { "file": "sound/soc/intel/boards/sof_sdw_rt_sdca_jack_common.c" }, "signature_type": "Line", "signature_version": "v1" }, { "id": "CVE-2023-52697-fac92bc9", "deprecated": false, "digest": { "function_hash": "250947169721050230445251503249072859380", "length": 270.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a410d58117d6da4b7d41f3c91365f191d006bc3d", "target": { "file": "sound/soc/intel/boards/sof_sdw_rt_sdca_jack_common.c", "function": "sof_sdw_rt_sdca_jack_exit" }, "signature_type": "Function", "signature_version": "v1" } ] }