CVE-2022-49251

ASoC: codecs: va-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: va-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
  • 908e6b1df26efc9d2df70c9a7bf4f5eae5c5702f to before 966408e37d84b762d11978b7bfb03fff0c6222adAffected
  • 908e6b1df26efc9d2df70c9a7bf4f5eae5c5702f to before 4a799972a283ab4ec031041304d7e2d34e1a16ebAffected
  • 908e6b1df26efc9d2df70c9a7bf4f5eae5c5702f to before c0099bbf8bc85d30c4cf38220fca3c8d4253fa7fAffected
  • 908e6b1df26efc9d2df70c9a7bf4f5eae5c5702f to before 0ea5eff7c6063a8f124188424f8e4c6727f35051Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not 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.