CVE-2022-49252

Summary

In the Linux kernel, the following vulnerability has been resolved:

ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type

Accessing enums using integer would result in array out of bounds access on platforms like aarch64 where sizeof(long) is 8 compared to enum size which is 4 bytes.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux4f692926f562ff48abfcca6b16f36ff8d57473b6 < eb15c6ea692fd88d70698d874d9a0d667fb4cde9affected
LinuxLinux4f692926f562ff48abfcca6b16f36ff8d57473b6 < 7e3629e256d1cabf801d00050550ade4d036cafeaffected
LinuxLinux4f692926f562ff48abfcca6b16f36ff8d57473b6 < aed43e92e4b9187029903880d5db608f7fa1c53caffected
LinuxLinux4f692926f562ff48abfcca6b16f36ff8d57473b6 < bcfe5f76cc4051ea3f9eb5d2c8ea621641f290a5affected
LinuxLinux5.12affected
LinuxLinux0 < 5.12unaffected
LinuxLinux5.15.33 <= 5.15.*unaffected
LinuxLinux5.16.19 <= 5.16.*unaffected
LinuxLinux5.17.2 <= 5.17.*unaffected
LinuxLinux5.18 <= *unaffected

Weaknesses

References