{"id":"CVE-2026-53350","summary":"ASoC: wm_adsp: Fix NULL dereference when removing firmware controls","details":"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-\u003epriv\nwithout checking the pointer for NULL.","modified":"2026-07-08T08:09:46.829315261Z","published":"2026-07-01T13:32:27.975Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53350.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/10def23b67b42679d5b1a356e1a6f3498bd188c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/12e579b889624ec54a201d98fdff975de556c731"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2f1be283aa777d655525d000d16474b7e7d015ea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ee9bbe2af2f373e08d3017f9aef2f2eaf29fbc3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6effd6f7b0ba1f5d1df702b2ef7460bcc215e9b7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7d3fb78b550301e43fdc60312aed733069694426"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53350.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53350"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0700bc2fb94c28459f57a10d2ee2c7ef4cb70862"},{"fixed":"5ee9bbe2af2f373e08d3017f9aef2f2eaf29fbc3"},{"fixed":"10def23b67b42679d5b1a356e1a6f3498bd188c3"},{"fixed":"2f1be283aa777d655525d000d16474b7e7d015ea"},{"fixed":"12e579b889624ec54a201d98fdff975de556c731"},{"fixed":"6effd6f7b0ba1f5d1df702b2ef7460bcc215e9b7"},{"fixed":"7d3fb78b550301e43fdc60312aed733069694426"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53350.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.176"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.143"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.94"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.36"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53350.json"}}],"schema_version":"1.7.5"}