In the Linux kernel, the following vulnerability has been resolved:
ASoC: codecs: wcd937x: fix a potential memory leak in wcd937xsoccodec_probe()
When sndsocdapmnewcontrols() or sndsocdapmaddroutes() fails, wcd937xsoccodecprobe() returns without releasing 'wcd937x->clshinfo', which is allocated by wcdclshctrlalloc. Add wcdclshctrlfree() to prevent potential memory leak.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b573e04116fd33b9143fa276bbab2f0afad0a1ae",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "sound/soc/codecs/wcd937x.c"
},
"id": "CVE-2025-37941-2b693dbe",
"digest": {
"line_hashes": [
"202444921487342822091270239315397560069",
"22936978024689033656755352455958504054",
"111307192977389072819994141088437022233",
"183270898359684183505514930622807479097",
"38063281795584261927607384533753254273",
"89680593285408346510849654551365368833",
"141636529331071643770251595939248990429",
"336308802710601320765508449779611461354"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aafb5325aca3e806b3ea3707402189263473d257",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "wcd937x_soc_codec_probe",
"file": "sound/soc/codecs/wcd937x.c"
},
"id": "CVE-2025-37941-46ae54b5",
"digest": {
"length": 2595.0,
"function_hash": "263931715108470149245352444589044423426"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aafb5325aca3e806b3ea3707402189263473d257",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "sound/soc/codecs/wcd937x.c"
},
"id": "CVE-2025-37941-51716fb3",
"digest": {
"line_hashes": [
"202444921487342822091270239315397560069",
"22936978024689033656755352455958504054",
"111307192977389072819994141088437022233",
"183270898359684183505514930622807479097",
"38063281795584261927607384533753254273",
"89680593285408346510849654551365368833",
"141636529331071643770251595939248990429",
"336308802710601320765508449779611461354"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b573e04116fd33b9143fa276bbab2f0afad0a1ae",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "wcd937x_soc_codec_probe",
"file": "sound/soc/codecs/wcd937x.c"
},
"id": "CVE-2025-37941-790f7a8f",
"digest": {
"length": 2595.0,
"function_hash": "263931715108470149245352444589044423426"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3e330acf4efd63876d673c046cd073a1d4ed57a8",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "sound/soc/codecs/wcd937x.c"
},
"id": "CVE-2025-37941-b54b7094",
"digest": {
"line_hashes": [
"202444921487342822091270239315397560069",
"22936978024689033656755352455958504054",
"111307192977389072819994141088437022233",
"183270898359684183505514930622807479097",
"38063281795584261927607384533753254273",
"89680593285408346510849654551365368833",
"141636529331071643770251595939248990429",
"336308802710601320765508449779611461354"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@acadb2e2b3c5b9977a843a3a94fece9bdcf6aea1",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "wcd937x_soc_codec_probe",
"file": "sound/soc/codecs/wcd937x.c"
},
"id": "CVE-2025-37941-bfccf978",
"digest": {
"length": 2595.0,
"function_hash": "263931715108470149245352444589044423426"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3e330acf4efd63876d673c046cd073a1d4ed57a8",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "wcd937x_soc_codec_probe",
"file": "sound/soc/codecs/wcd937x.c"
},
"id": "CVE-2025-37941-d050206f",
"digest": {
"length": 2595.0,
"function_hash": "263931715108470149245352444589044423426"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@acadb2e2b3c5b9977a843a3a94fece9bdcf6aea1",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "sound/soc/codecs/wcd937x.c"
},
"id": "CVE-2025-37941-e9d46782",
"digest": {
"line_hashes": [
"202444921487342822091270239315397560069",
"22936978024689033656755352455958504054",
"111307192977389072819994141088437022233",
"183270898359684183505514930622807479097",
"38063281795584261927607384533753254273",
"89680593285408346510849654551365368833",
"141636529331071643770251595939248990429",
"336308802710601320765508449779611461354"
],
"threshold": 0.9
},
"deprecated": false
}
]