CVE-2025-39930
published high CVSS 3.1 · 8.4ASoC: simple-card-utils: Don't use __free(device_node) at graph_util_parse_dai()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe03f8d14191142849abad62307d4128afd304521 to < 146e25625378f7d4463acbd1ffbd975f3332a806 · 142a386a805809e21361976d566392bcd07870b8 to < 16a49e3fda339aa552cde7f2cdbb25b91426cb8a · 419d1918105e5d9926ab02f1f834bb416dc76f65 to < 232a32e8a7e9be8a2ee238df9b5304eed2f4e195 · 419d1918105e5d9926ab02f1f834bb416dc76f65 to < de74ec718e0788e1998eb7289ad07970e27cae27 · 6.6.130 to < 6.6.135 · 6.12.78 to < 6.12.82 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.6.135 through 6.6.* (unaffected · semver) · 6.12.82 through 6.12.* (unaffected · semver) · 6.14.2 through 6.14.* (unaffected · semver) · 6.15 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | plucky | bpftool | Advisory build | 7.6.0+6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-aws-cloud-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | plucky | linux-aws-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-aws-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-azure-cloud-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-azure-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-azure-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-bpf-dev | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-22-generic-64k | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-22 | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-cloud-tools-common | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-gcp-headers-6.14.0-1008 | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-gcp-tools-6.14.0-1008 | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-22 | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-22-generic-64k | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-image-6.14.0-1007-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-image-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-22-generic-64k | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-lib-rust-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-libc-dev | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-22-generic-64k | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-ipu6-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-ipu7-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-iwlwifi-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-iwlwifi-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-usbio-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-vision-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-oracle-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-oracle-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-perf | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-raspi-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-raspi-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-realtime-cloud-tools-6.14.0-1004 | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-realtime-headers-6.14.0-1004 | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-realtime-tools-6.14.0-1004 | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-source-6.14.0 | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-tools-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-tools-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-tools-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-tools-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: simple-card-utils: Don't use __free(device_node) at graph_util_parse_dai() commit 419d1918105e ("ASoC: simple-card-utils: use __free(device_node) for device node") uses __free(device_node) for dlc->of_node, but we need to keep it while driver is in use. Don't use __free(device_node) in graph_util_parse_dai().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code is a device-tree platform driver reached only through the local driver model — probe/deferred-probe, sysfs bind/unbind of `asoc-audio-graph-card[2]`, or module unload; there is no network, adjacent-network, or physical-access path to `graph_util_parse_dai()`, and exploiting the resulting freed `device_node` requires a local heap spray (msgsnd/xattr/keyring) in the same kmalloc cache. AC:L - The lost reference is unconditional — every successful parse stores `dlc->of_node` while `__free(device_node)` drops the ref, and every `simple_util_clean_reference()` call issues a matching extra `of_node_put()`. There is no race to win and no memory-layout precondition; `snd_soc_get_dlc()` returning `-EPROBE_DEFER` makes the sequence repeat deterministically on each probe retry, and bind/unbind cycles reproduce it at will. PR:N - No credential, capability, or namespace check exists anywhere on the path — the refcount is dropped by the kernel's own deferred-probe machinery at boot, before any user session exists, so the freed/underflowed `device_node` state is reached with zero privileges. Deliberate re-triggering via sysfs unbind would need root, but that is not required for the vulnerable condition to arise. UI:N - The audio graph card probes automatically from the device tree at boot and the deferred-probe retries run unattended; no administrator or victim action, mount, or file open is needed for the extra `of_node_put()` to fire. S:U - The corrupted `device_node`, its kobject, and the OF tree all belong to the kernel's own security authority, and the faulting code runs in the same kernel context. No VM, IOMMU, or sandbox boundary is crossed. C:H - This is a premature release/use-after-free of a `struct device_node` that remains reachable through `dlc->of_node`, the OF tree, and the codec's `device->of_node`; once the slab is reclaimed, `of_property_read_*()`, `%pOF` formatting of `full_name`, and phandle lookups read back attacker-sprayed heap contents, and the pre-free splat already leaks kernel pointers and a full stack trace via `dump_stack()`. I:H - A reclaimed `device_node` yields a control-flow hijack primitive through the embedded `fwnode_handle.ops` table dereferenced by `fwnode_call_int_op()` and through `kobj.ktype->release` invoked on the next `of_node_put()`, while the `suppliers`/`consumers` list heads and `parent`/`child`/`sibling` links give arbitrary-write via list manipulation during device-link and tree operations. A:H - The refcount underflow produces an `ERROR: detected bad of_node_put()` splat plus `dump_stack()`, then a `refcount_t: underflow; use-after-free` WARN — an outright panic under `panic_on_warn`, common on automotive and hardened production kernels. With `OF_DYNAMIC` overlay nodes the node is genuinely `kfree()`d while still attached to the live device tree, so the next traversal oopses and the audio card fails to bind.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e03f8d14191142849abad62307d4128afd304521 to < 146e25625378f7d4463acbd1ffbd975f3332a806 (affected · git)142a386a805809e21361976d566392bcd07870b8 to < 16a49e3fda339aa552cde7f2cdbb25b91426cb8a (affected · git)419d1918105e5d9926ab02f1f834bb416dc76f65 to < 232a32e8a7e9be8a2ee238df9b5304eed2f4e195 (affected · git)419d1918105e5d9926ab02f1f834bb416dc76f65 to < de74ec718e0788e1998eb7289ad07970e27cae27 (affected · git)6.6.130 to < 6.6.135 (affected · semver)6.12.78 to < 6.12.82 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.6.135 through 6.6.* (unaffected · semver)6.12.82 through 6.12.* (unaffected · semver)6.14.2 through 6.14.* (unaffected · semver)6.15 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
ASoC: simple-card-utils: Don't use __free(device_node) at graph_util_parse_dai()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6e0199199a17dae68d8932cb8eb046fda5fba3b2118fde03bb2bc10c2fffeb74
- Ingested
- 23 Sep 2026, 08:47:06 UTC
- Source record
- Official CVE record