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.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a410d58117d6da4b7d41f3c91365f191d006bc3d",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "sound/soc/intel/boards/sof_sdw_rt_sdca_jack_common.c"
},
"id": "CVE-2023-52697-021e8e12",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"268301329510358795602687712594664559160",
"289139211793773579354949716473235328770",
"274504138999937174086636295478964336800",
"5707105841147788846904052981578008187"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@582231a8c4f73ac153493687ecc1bed853e9c9ef",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "sof_sdw_rt_sdca_jack_exit",
"file": "sound/soc/intel/boards/sof_sdw_rt_sdca_jack_common.c"
},
"id": "CVE-2023-52697-1c6eafda",
"signature_type": "Function",
"digest": {
"length": 270.0,
"function_hash": "250947169721050230445251503249072859380"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@582231a8c4f73ac153493687ecc1bed853e9c9ef",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "sound/soc/intel/boards/sof_sdw_rt_sdca_jack_common.c"
},
"id": "CVE-2023-52697-1e5105e4",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"268301329510358795602687712594664559160",
"289139211793773579354949716473235328770",
"274504138999937174086636295478964336800",
"5707105841147788846904052981578008187"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e38e252dbceeef7d2f848017132efd68e9ae1416",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "sof_sdw_rt_sdca_jack_exit",
"file": "sound/soc/intel/boards/sof_sdw_rt_sdca_jack_common.c"
},
"id": "CVE-2023-52697-6098163b",
"signature_type": "Function",
"digest": {
"length": 270.0,
"function_hash": "250947169721050230445251503249072859380"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e38e252dbceeef7d2f848017132efd68e9ae1416",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "sound/soc/intel/boards/sof_sdw_rt_sdca_jack_common.c"
},
"id": "CVE-2023-52697-ea6a28ab",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"268301329510358795602687712594664559160",
"289139211793773579354949716473235328770",
"274504138999937174086636295478964336800",
"5707105841147788846904052981578008187"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a410d58117d6da4b7d41f3c91365f191d006bc3d",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "sof_sdw_rt_sdca_jack_exit",
"file": "sound/soc/intel/boards/sof_sdw_rt_sdca_jack_common.c"
},
"id": "CVE-2023-52697-fac92bc9",
"signature_type": "Function",
"digest": {
"length": 270.0,
"function_hash": "250947169721050230445251503249072859380"
}
}
]