ASoC: topology: Check PCM and DAI name strings before use
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d09dad8dff862c4b5aac48b1223e512074ffeb08, Kernel 473f7d25d93e80db526a9d05887f0071abdc6d9b, Kernel 5c2537cf24d673956b4e58029001667f89586fa2 and 8 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=64527e8a352968bda529f01df1c9dd5fe581ff04 <d09dad8dff862c4b5aac48b1223e512074ffeb08, >=64527e8a352968bda529f01df1c9dd5fe581ff04 <473f7d25d93e80db526a9d05887f0071abdc6d9b, >=64527e8a352968bda529f01df1c9dd5fe581ff04 <5c2537cf24d673956b4e58029001667f89586fa2, >=64527e8a352968bda529f01df1c9dd5fe581ff04 <b7e44d1986d6671342c19b82192189ca5db5dab7, >=64527e8a352968bda529f01df1c9dd5fe581ff04 <ba37b62ed0a443b8e23f53a7477e7f2537fd34c7, >=64527e8a352968bda529f01df1c9dd5fe581ff04 <c405b07246bf179e9457de57501c3470175b165e, =4.6 | d09dad8dff862c4b5aac48b1223e512074ffeb08, 473f7d25d93e80db526a9d05887f0071abdc6d9b, 5c2537cf24d673956b4e58029001667f89586fa2, b7e44d1986d6671342c19b82192189ca5db5dab7, ba37b62ed0a443b8e23f53a7477e7f2537fd34c7, c405b07246bf179e9457de57501c3470175b165e |
| linux-kernel: Kernel | >=6.13.0 <6.18.53, >=6.19.0 <7.1.5, >=6.2.0 <6.6.158, >=6.7.0 <6.12.111, >=4.6.0 <6.1.191 | 6.18.53, 7.1.5, 6.6.158, 6.12.111, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket