CVEvulnerability
CVE-2022-49251
7.1 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2025-02-26
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Weaknesses
- CWE-125
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.
Affected configurations
• linux linux kernel (>= 5.11 < 5.15.33)
• linux linux kernel (>= 5.16 < 5.16.19)
• linux linux kernel (>= 5.17 < 5.17.2)
Related
Weakness · CWE (1)
- CWE-125 Out-of-bounds Read weakness
References
- https://git.kernel.org/stable/c/0ea5eff7c6063a8f124188424f8e4c6727f35051 Patch
- https://git.kernel.org/stable/c/4a799972a283ab4ec031041304d7e2d34e1a16eb Patch
- https://git.kernel.org/stable/c/966408e37d84b762d11978b7bfb03fff0c6222ad Patch
- https://git.kernel.org/stable/c/c0099bbf8bc85d30c4cf38220fca3c8d4253fa7f Patch