CVE-2026-43459

ASoC: soc-core: flush delayed work before removing DAIs and widgets

State
Published
Severity
7.3 High
Published
May 8, 2026
Updated
Oct 19, 2026
Reserved
May 1, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ASoC: soc-core: flush delayed work before removing DAIs and widgets

When a sound card is unbound while a PCM stream is open, a use-after-free can occur in snd_soc_dapm_stream_event(), called from the close_delayed_work workqueue handler.

During unbind, snd_soc_unbind_card() flushes delayed work and then calls soc_cleanup_card_resources(). Inside cleanup, snd_card_disconnect_sync() releases all PCM file descriptors, and the resulting PCM close path can call snd_soc_dapm_stream_stop() which schedules new delayed work with a pmdown_time timer delay. Since this happens after the flush in snd_soc_unbind_card(), the new work is not caught. soc_remove_link_components() then frees DAPM widgets before this work fires, leading to the use-after-free.

The existing flush in soc_free_pcm_runtime() also cannot help as it runs after soc_remove_link_components() has already freed the widgets.

Add a flush in soc_cleanup_card_resources() after snd_card_disconnect_sync() (after which no new PCM closes can schedule further delayed work) and before soc_remove_link_dais() and soc_remove_link_components() (which tear down the structures the delayed work accesses).

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • e894efef9ac7c10b7727798dcc711cccf07569f9 to before bf80a89da97285d9b877e0c6995e870d46b8025cAffected
  • e894efef9ac7c10b7727798dcc711cccf07569f9 to before 3887e514978d28216246360b46a9cb534969eb5aAffected
  • e894efef9ac7c10b7727798dcc711cccf07569f9 to before 231568afbc0cd25b8fb2a94ebf9738eabe1cf007Affected
  • e894efef9ac7c10b7727798dcc711cccf07569f9 to before 317a9298c54bb00319da73e5a7179f00e67fcbdfAffected
  • e894efef9ac7c10b7727798dcc711cccf07569f9 to before eab71e11ce2447c1e01809cbc11eab4234cf8dc8Affected
  • e894efef9ac7c10b7727798dcc711cccf07569f9 to before 7d33e6140945482a07f8089ee86e13e02553ffdbAffected
  • e894efef9ac7c10b7727798dcc711cccf07569f9 to before c054f0607c8bb1b1aa529bc109e4149298a1cccdAffected
  • e894efef9ac7c10b7727798dcc711cccf07569f9 to before 95bc5c225513fc3c4ce169563fb5e3929fbb938bAffected
LinuxLinux
  • 4.20Affected
  • before 4.20Not affected
  • 5.10.253 through 5.10.*Not affected
  • 5.15.203 through 5.15.*Not affected
  • 6.1.167 through 6.1.*Not affected
  • 6.6.130 through 6.6.*Not affected
  • 6.12.78 through 6.12.*Not affected
  • 6.18.19 through 6.18.*Not affected
  • 6.19.9 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.