Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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).

Announced Group revision 1
Original source ↗

CVE-2026-43459

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-43459

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "e894efef9ac7c10b7727798dcc711cccf07569f9",
        "lessThan": "bf80a89da97285d9b877e0c6995e870d46b8025c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e894efef9ac7c10b7727798dcc711cccf07569f9",
        "lessThan": "3887e514978d28216246360b46a9cb534969eb5a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e894efef9ac7c10b7727798dcc711cccf07569f9",
        "lessThan": "231568afbc0cd25b8fb2a94ebf9738eabe1cf007",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e894efef9ac7c10b7727798dcc711cccf07569f9",
        "lessThan": "317a9298c54bb00319da73e5a7179f00e67fcbdf",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e894efef9ac7c10b7727798dcc711cccf07569f9",
        "lessThan": "eab71e11ce2447c1e01809cbc11eab4234cf8dc8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e894efef9ac7c10b7727798dcc711cccf07569f9",
        "lessThan": "7d33e6140945482a07f8089ee86e13e02553ffdb",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e894efef9ac7c10b7727798dcc711cccf07569f9",
        "lessThan": "c054f0607c8bb1b1aa529bc109e4149298a1cccd",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e894efef9ac7c10b7727798dcc711cccf07569f9",
        "lessThan": "95bc5c225513fc3c4ce169563fb5e3929fbb938b",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "sound/soc/soc-core.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.20"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.20",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.253",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.203",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.167",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.130",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.78",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.19",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19.9",
        "versionType": "semver",
        "lessThanOrEqual": "6.19.*"
      },
      {
        "status": "unaffected",
        "version": "7.0",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "sound/soc/soc-core.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-43459

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#40080 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement