CVE-2023-52697

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

25 Sep 2025, 16:29

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/582231a8c4f73ac153493687ecc1bed853e9c9ef - () https://git.kernel.org/stable/c/582231a8c4f73ac153493687ecc1bed853e9c9ef - Patch
References () https://git.kernel.org/stable/c/a410d58117d6da4b7d41f3c91365f191d006bc3d - () https://git.kernel.org/stable/c/a410d58117d6da4b7d41f3c91365f191d006bc3d - Patch
References () https://git.kernel.org/stable/c/e38e252dbceeef7d2f848017132efd68e9ae1416 - () https://git.kernel.org/stable/c/e38e252dbceeef7d2f848017132efd68e9ae1416 - Patch
First Time Linux
Linux linux Kernel
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1
CWE NVD-CWE-Other

21 Nov 2024, 08:40

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/582231a8c4f73ac153493687ecc1bed853e9c9ef - () https://git.kernel.org/stable/c/582231a8c4f73ac153493687ecc1bed853e9c9ef -
References () https://git.kernel.org/stable/c/a410d58117d6da4b7d41f3c91365f191d006bc3d - () https://git.kernel.org/stable/c/a410d58117d6da4b7d41f3c91365f191d006bc3d -
References () https://git.kernel.org/stable/c/e38e252dbceeef7d2f848017132efd68e9ae1416 - () https://git.kernel.org/stable/c/e38e252dbceeef7d2f848017132efd68e9ae1416 -
Summary
  • (es) En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: ASoC: Intel: sof_sdw_rt_sdca_jack_common: ctx->headset_codec_dev = NULL sof_sdw_rt_sdca_jack_exit() son usados por diferentes códecs, y algunos de ellos usan el mismo nombre dai. Por ejemplo, rt712 y rt713 usan "rt712-sdca-aif1" y sof_sdw_rt_sdca_jack_exit(). Como resultado, mc_dailink_exit_loop() llamará dos veces a sof_sdw_rt_sdca_jack_exit(). Establecer ctx->headset_codec_dev = NULL; después de put_device(ctx->headset_codec_dev); para evitar que ctx->headset_codec_dev se coloque dos veces.

17 May 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-17 15:15

Updated : 2025-09-25 16:29


NVD link : CVE-2023-52697

Mitre link : CVE-2023-52697

CVE.ORG link : CVE-2023-52697


JSON object : View

Products Affected

linux

  • linux_kernel