← CVE Intelligence

CVE-2026-74291

ASoC: topology: Check PCM and DAI name strings before use PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: ASoC: topology: Check PCM and DAI name strings before use Topology objects store several PCM and DAI names in fixed-size UAPI arrays. Other topology parser paths validate these fields with bounded strnlen() checks before using them as C strings, but the PCM and DAI paths still pass some fixed-size arrays directly to strlen(), devm_kstrdup(), DAI lookup, and diagnostic prints. A malformed topology blob with a non-NUL-terminated PCM, DAI, or stream capability name can therefore make the parser read past the end of the fixed-size field. Reject unterminated PCM and DAI name fields before consuming them as C strings.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 64527e8a352968bda529f01df1c9dd5fe581ff04 before c405b07246bf179e9457de57501c3470175b165e; affected 64527e8a352968bda529f01df1c9dd5fe581ff04 before 473f7d25d93e80db526a9d05887f0071abdc6d9b; affected 64527e8a352968bda529f01df1c9dd5fe581ff04 before 5c2537cf24d673956b4e58029001667f89586fa2; affected 64527e8a352968bda529f01df1c9dd5fe581ff04 before ba37b62ed0a443b8e23f53a7477e7f2537fd34c7; affected 64527e8a352968bda529f01df1c9dd5fe581ff04 before b7e44d1986d6671342c19b82192189ca5db5dab7
Linux / Linuxaffected 4.6; unaffected 0 before 4.6; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through *

CWE

No CWE identifiers supplied.

References