ASoC: codecs: hdac_hdmi: Validate written enum value
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4a3478debf36c0aa0cf0860daec245b13cd4448f · < d8961b5c7889b6ecc00f1409d36826df1665df27| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ASoC: codecs: hdac_hdmi: Validate written enum value
hdac_hdmi_set_pin_port_mux() uses the written enum value to index the texts array before calling snd_soc_dapm_put_enum_double(), which validates that the value is within the enum item range.
An out-of-range value can therefore make the driver read past the texts array before the helper rejects the write. Move the lookup after the helper has accepted the value.
From the CVE record · Linux
The Linux kernel's hdac_hdmi codec driver reads past an array when an out-of-range enum value is written, before the value is rejected. The input does not specify whether an attacker can trigger this remotely or locally, or whether authentication or user interaction is required.
Engineers running Linux kernels with the hdac_hdmi codec driver should check their systems; affected versions are not specified.