Linux
ASoC: codecs: hdac_hdmi: Validate written enum value
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4a3478debf36c0aa0cf0860daec245b13cd4448f, < 216336418c007c4b44c650acf2fd3d2de5bb81e8
- >= 4a3478debf36c0aa0cf0860daec245b13cd4448f, < bc464a6a9e352daa17b1636c090cf3185710b9a0
- >= 4a3478debf36c0aa0cf0860daec245b13cd4448f, < 8cbf24714d6b3f553fc959632c9781176a73a9a7
- >= 4a3478debf36c0aa0cf0860daec245b13cd4448f, < 7f02e9064b6f84e7f93c72f134306271eb4f7de4
- >= 4a3478debf36c0aa0cf0860daec245b13cd4448f, < 9131e4b023e0db5764680034bdc94aeae0b0f33d
- >= 4a3478debf36c0aa0cf0860daec245b13cd4448f, < d8961b5c7889b6ecc00f1409d36826df1665df27
- >= 4a3478debf36c0aa0cf0860daec245b13cd4448f, < 0b08baeccdcf52fad328ad645f5b4fbee04eea34
Fixed in 216336418c007c4b44c650acf2fd3d2de5bb81e8, bc464a6a9e352daa17b1636c090cf3185710b9a0, 8cbf24714d6b3f553fc959632c9781176a73a9a7, 7f02e9064b6f84e7f93c72f134306271eb4f7de4, 9131e4b023e0db5764680034bdc94aeae0b0f33d, d8961b5c7889b6ecc00f1409d36826df1665df27, 0b08baeccdcf52fad328ad645f5b4fbee04eea34
- 4.6
Fixed in 0, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 216336418c007c4b44c650acf2fd3d2de5bb81e8 or bc464a6a9e352daa17b1636c090cf3185710b9a0 or 8cbf24714d6b3f553fc959632c9781176a73a9a7 or 7f02e9064b6f84e7f93c72f134306271eb4f7de4 or 9131e4b023e0db5764680034bdc94aeae0b0f33d or d8961b5c7889b6ecc00f1409d36826df1665df27 or 0b08baeccdcf52fad328ad645f5b4fbee04eea34 or later.
Upgrade Linux to 0 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.