{"id":"CVE-2026-43459","aliases":["CVE-2026-43459"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: soc-core: flush delayed work before removing DAIs and widgets","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: soc-core: flush delayed work before removing DAIs and widgets\n\nWhen a sound card is unbound while a PCM stream is open, a\nuse-after-free can occur in snd_soc_dapm_stream_event(), called from\nthe close_delayed_work workqueue handler.\n\nDuring unbind, snd_soc_unbind_card() flushes delayed work and then\ncalls soc_cleanup_card_resources(). Inside cleanup,\nsnd_card_disconnect_sync() releases all PCM file descriptors, and\nthe resulting PCM close path can call snd_soc_dapm_stream_stop()\nwhich schedules new delayed work with a pmdown_time timer delay.\nSince this happens after the flush in snd_soc_unbind_card(), the\nnew work is not caught. soc_remove_link_components() then frees\nDAPM widgets before this work fires, leading to the use-after-free.\n\nThe existing flush in soc_free_pcm_runtime() also cannot help as it\nruns after soc_remove_link_components() has already freed the widgets.\n\nAdd a flush in soc_cleanup_card_resources() after\nsnd_card_disconnect_sync() (after which no new PCM closes can\nschedule further delayed work) and before soc_remove_link_dais()\nand soc_remove_link_components() (which tear down the structures the\ndelayed work accesses).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: soc-core: flush delayed work before removing DAIs and widgets\n\nWhen a sound card is unbound while a PCM stream is open, a\nuse-after-free can occur in snd_soc_dapm_stream_event(), called from\nthe close_delayed_work workqueue handler.\n\nDuring unbind, snd_soc_unbind_card() flushes delayed work and then\ncalls soc_cleanup_card_resources(). Inside cleanup,\nsnd_card_disconnect_sync() releases all PCM file descriptors, and\nthe resulting PCM close path can call snd_soc_dapm_stream_stop()\nwhich schedules new delayed work with a pmdown_time timer delay.\nSince this happens after the flush in snd_soc_unbind_card(), the\nnew work is not caught. soc_remove_link_components() then frees\nDAPM widgets before this work fires, leading to the use-after-free.\n\nThe existing flush in soc_free_pcm_runtime() also cannot help as it\nruns after soc_remove_link_components() has already freed the widgets.\n\nAdd a flush in soc_cleanup_card_resources() after\nsnd_card_disconnect_sync() (after which no new PCM closes can\nschedule further delayed work) and before soc_remove_link_dais()\nand soc_remove_link_components() (which tear down the structures the\ndelayed work accesses).","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nASoC: soc-core: vaciar trabajo retrasado antes de eliminar DAIs y widgets\n\nCuando una tarjeta de sonido se desvincula mientras un flujo PCM está abierto, puede ocurrir un uso después de liberación en snd_soc_dapm_stream_event(), llamado desde el gestor de la cola de trabajo close_delayed_work.\n\nDurante la desvinculación, snd_soc_unbind_card() vacía el trabajo retrasado y luego llama a soc_cleanup_card_resources(). Dentro de la limpieza, snd_card_disconnect_sync() libera todos los descriptores de archivo PCM, y la ruta de cierre PCM resultante puede llamar a snd_soc_dapm_stream_stop() que programa nuevo trabajo retrasado con un retardo de temporizador pmdown_time. Dado que esto ocurre después del vaciado en snd_soc_unbind_card(), el nuevo trabajo no es capturado. soc_remove_link_components() luego libera los widgets DAPM antes de que este trabajo se active, lo que lleva al uso después de liberación.\n\nEl vaciado existente en soc_free_pcm_runtime() tampoco puede ayudar ya que se ejecuta después de que soc_remove_link_components() ya ha liberado los widgets.\n\nAñadir un vaciado en soc_cleanup_card_resources() después de snd_card_disconnect_sync() (después de lo cual ningún nuevo cierre PCM puede programar más trabajo retrasado) y antes de soc_remove_link_dais() y soc_remove_link_components() (que desmantelan las estructuras a las que accede el trabajo retrasado).","source":"nvd"}],"published":"2026-05-08T14:22:22.651Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"e894efef9ac7c10b7727798dcc711cccf07569f9","fixed":"bf80a89da97285d9b877e0c6995e870d46b8025c","status":"affected"},{"type":"git","introduced":"e894efef9ac7c10b7727798dcc711cccf07569f9","fixed":"3887e514978d28216246360b46a9cb534969eb5a","status":"affected"},{"type":"git","introduced":"e894efef9ac7c10b7727798dcc711cccf07569f9","fixed":"231568afbc0cd25b8fb2a94ebf9738eabe1cf007","status":"affected"},{"type":"git","introduced":"e894efef9ac7c10b7727798dcc711cccf07569f9","fixed":"317a9298c54bb00319da73e5a7179f00e67fcbdf","status":"affected"},{"type":"git","introduced":"e894efef9ac7c10b7727798dcc711cccf07569f9","fixed":"eab71e11ce2447c1e01809cbc11eab4234cf8dc8","status":"affected"},{"type":"git","introduced":"e894efef9ac7c10b7727798dcc711cccf07569f9","fixed":"7d33e6140945482a07f8089ee86e13e02553ffdb","status":"affected"},{"type":"git","introduced":"e894efef9ac7c10b7727798dcc711cccf07569f9","fixed":"c054f0607c8bb1b1aa529bc109e4149298a1cccd","status":"affected"},{"type":"git","introduced":"e894efef9ac7c10b7727798dcc711cccf07569f9","fixed":"95bc5c225513fc3c4ce169563fb5e3929fbb938b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.20","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.20","status":"unaffected"},{"type":"semver","introduced":"5.10.253","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.167","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.78","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.19","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.9","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.20","fixed":"5.10.253"},{"status":"affected","introduced":"5.11","fixed":"5.15.203"},{"status":"affected","introduced":"5.16","fixed":"6.1.167"},{"status":"affected","introduced":"6.2","fixed":"6.6.130"},{"status":"affected","introduced":"6.7","fixed":"6.12.78"},{"status":"affected","introduced":"6.13","fixed":"6.18.19"},{"status":"affected","introduced":"6.19","fixed":"6.19.9"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/bf80a89da97285d9b877e0c6995e870d46b8025c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3887e514978d28216246360b46a9cb534969eb5a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/231568afbc0cd25b8fb2a94ebf9738eabe1cf007","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/317a9298c54bb00319da73e5a7179f00e67fcbdf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eab71e11ce2447c1e01809cbc11eab4234cf8dc8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d33e6140945482a07f8089ee86e13e02553ffdb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c054f0607c8bb1b1aa529bc109e4149298a1cccd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/95bc5c225513fc3c4ce169563fb5e3929fbb938b","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:17:35.638Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43459","url":"https://www.cve.org/CVERecord?id=CVE-2026-43459","licence":"CVE Terms of Use","modified":"2026-10-19T19:26:37.236Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43459","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43459","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.081Z","epss":{"score":0.00147,"percentile":0.04118,"date":"2026-12-01T12:00:22.000Z"}}