ASoC: codecs: rt1011: Use component to get the dapm context in spk_mode_put
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ASoC: codecs: rt1011: Use component to get the dapm context in spk_mode_put
The correct helper to use in rt1011_recv_spk_mode_put() to retrieve the DAPM context is snd_soc_component_to_dapm(), from kcontrol we will receive NULL pointer.
From the CVE record · Linux
The Linux kernel’s rt1011 audio codec uses the wrong helper to retrieve the DAPM context in rt1011_recv_spk_mode_put(), resulting in a NULL pointer. The input does not specify an attacker action, its impact, or whether exploitation requires network access, authentication, or user interaction.
Engineers running the Linux kernel should check whether their build includes the rt1011 audio codec; affected versions are not specified.