CVE-2022-49252

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

State
Published
Severity
Not scored
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4f692926f562ff48abfcca6b16f36ff8d57473b6 to before eb15c6ea692fd88d70698d874d9a0d667fb4cde9Affected
  • 4f692926f562ff48abfcca6b16f36ff8d57473b6 to before 7e3629e256d1cabf801d00050550ade4d036cafeAffected
  • 4f692926f562ff48abfcca6b16f36ff8d57473b6 to before aed43e92e4b9187029903880d5db608f7fa1c53cAffected
  • 4f692926f562ff48abfcca6b16f36ff8d57473b6 to before bcfe5f76cc4051ea3f9eb5d2c8ea621641f290a5Affected
LinuxLinux
  • 5.12Affected
  • before 5.12Not affected
  • 5.15.33 through 5.15.*Not affected
  • 5.16.19 through 5.16.*Not affected
  • 5.17.2 through 5.17.*Not affected
  • 5.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.