{"id":"CVE-2026-53350","state":"PUBLISHED","title":"ASoC: wm_adsp: Fix NULL dereference when removing firmware controls","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: wm_adsp: Fix NULL dereference when removing firmware controls\n\nIn wm_adsp_control_remove() check that the priv pointer is not NULL\nbefore attempting to cleanup what it points to.\n\nWhen cs_dsp creates a control it calls wm_adsp_control_add_cb() so that\nwm_adsp can create its own private control data. There are two cases\nwhere private data is not created:\n\n1. The control is a SYSTEM control, so an ALSA control is not created.\n\n2. The codec driver has registered a control_add() callback that\n   hides the control, so wm_adsp_control_add() is not called.\n\nWhen cs_dsp_remove destroys its control list it calls\nwm_adsp_control_remove() for each control. But wm_adsp_control_remove()\nwas attempting to cleanup the private data pointed to by cs_ctl->priv\nwithout checking the pointer for NULL.","publishedAt":"2026-07-01T13:32:27.975Z","updatedAt":"2026-10-15T01:23:18.550Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0700bc2fb94c28459f57a10d2ee2c7ef4cb70862","status":"affected","lessThan":"5ee9bbe2af2f373e08d3017f9aef2f2eaf29fbc3","versionType":"git"},{"version":"0700bc2fb94c28459f57a10d2ee2c7ef4cb70862","status":"affected","lessThan":"10def23b67b42679d5b1a356e1a6f3498bd188c3","versionType":"git"},{"version":"0700bc2fb94c28459f57a10d2ee2c7ef4cb70862","status":"affected","lessThan":"2f1be283aa777d655525d000d16474b7e7d015ea","versionType":"git"},{"version":"0700bc2fb94c28459f57a10d2ee2c7ef4cb70862","status":"affected","lessThan":"12e579b889624ec54a201d98fdff975de556c731","versionType":"git"},{"version":"0700bc2fb94c28459f57a10d2ee2c7ef4cb70862","status":"affected","lessThan":"6effd6f7b0ba1f5d1df702b2ef7460bcc215e9b7","versionType":"git"},{"version":"0700bc2fb94c28459f57a10d2ee2c7ef4cb70862","status":"affected","lessThan":"7d3fb78b550301e43fdc60312aed733069694426","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/codecs/wm_adsp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"6.1.176","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.143","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.94","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.36","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/codecs/wm_adsp.c"]}],"references":["https://git.kernel.org/stable/c/5ee9bbe2af2f373e08d3017f9aef2f2eaf29fbc3","https://git.kernel.org/stable/c/10def23b67b42679d5b1a356e1a6f3498bd188c3","https://git.kernel.org/stable/c/2f1be283aa777d655525d000d16474b7e7d015ea","https://git.kernel.org/stable/c/12e579b889624ec54a201d98fdff975de556c731","https://git.kernel.org/stable/c/6effd6f7b0ba1f5d1df702b2ef7460bcc215e9b7","https://git.kernel.org/stable/c/7d3fb78b550301e43fdc60312aed733069694426","https://cert-portal.siemens.com/productcert/html/ssa-784472.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53350.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53350","state":"PUBLISHED","datePublished":"2026-07-01T13:32:27.975Z","dateUpdated":"2026-10-15T01:23:18.550Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.399Z"},"containers":{"cna":{"title":"ASoC: wm_adsp: Fix NULL dereference when removing firmware controls","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: wm_adsp: Fix NULL dereference when removing firmware controls\n\nIn wm_adsp_control_remove() check that the priv pointer is not NULL\nbefore attempting to cleanup what it points to.\n\nWhen cs_dsp creates a control it calls wm_adsp_control_add_cb() so that\nwm_adsp can create its own private control data. There are two cases\nwhere private data is not created:\n\n1. The control is a SYSTEM control, so an ALSA control is not created.\n\n2. The codec driver has registered a control_add() callback that\n   hides the control, so wm_adsp_control_add() is not called.\n\nWhen cs_dsp_remove destroys its control list it calls\nwm_adsp_control_remove() for each control. But wm_adsp_control_remove()\nwas attempting to cleanup the private data pointed to by cs_ctl->priv\nwithout checking the pointer for NULL."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0700bc2fb94c28459f57a10d2ee2c7ef4cb70862","status":"affected","lessThan":"5ee9bbe2af2f373e08d3017f9aef2f2eaf29fbc3","versionType":"git"},{"version":"0700bc2fb94c28459f57a10d2ee2c7ef4cb70862","status":"affected","lessThan":"10def23b67b42679d5b1a356e1a6f3498bd188c3","versionType":"git"},{"version":"0700bc2fb94c28459f57a10d2ee2c7ef4cb70862","status":"affected","lessThan":"2f1be283aa777d655525d000d16474b7e7d015ea","versionType":"git"},{"version":"0700bc2fb94c28459f57a10d2ee2c7ef4cb70862","status":"affected","lessThan":"12e579b889624ec54a201d98fdff975de556c731","versionType":"git"},{"version":"0700bc2fb94c28459f57a10d2ee2c7ef4cb70862","status":"affected","lessThan":"6effd6f7b0ba1f5d1df702b2ef7460bcc215e9b7","versionType":"git"},{"version":"0700bc2fb94c28459f57a10d2ee2c7ef4cb70862","status":"affected","lessThan":"7d3fb78b550301e43fdc60312aed733069694426","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/codecs/wm_adsp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"6.1.176","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.143","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.94","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.36","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/codecs/wm_adsp.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5ee9bbe2af2f373e08d3017f9aef2f2eaf29fbc3"},{"url":"https://git.kernel.org/stable/c/10def23b67b42679d5b1a356e1a6f3498bd188c3"},{"url":"https://git.kernel.org/stable/c/2f1be283aa777d655525d000d16474b7e7d015ea"},{"url":"https://git.kernel.org/stable/c/12e579b889624ec54a201d98fdff975de556c731"},{"url":"https://git.kernel.org/stable/c/6effd6f7b0ba1f5d1df702b2ef7460bcc215e9b7"},{"url":"https://git.kernel.org/stable/c/7d3fb78b550301e43fdc60312aed733069694426"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-07-01T13:32:27.975Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.176"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.6.143"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.12.94"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.18.36"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"7.0.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-15T01:23:18.550Z"},"x_adpType":"supplier"}]}}}