Back
CVE-2022-49249
ASoC: codecs: wc938x: fix accessing array out of bounds for enum type
High7.1EPSS 0.27%
- Published
- Updated
- Reserved
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: wc938x: 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. Fix this by using enumerated items instead of integers.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.27% · top 80% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Weakness
Affected products
- affected e8ba1e05bdc016700c85fad559a812c2e795442f – < adafea71b49ec4dbc44e0b84ec6eb602004a7a08
- affected e8ba1e05bdc016700c85fad559a812c2e795442f – < f03c0c94186d5876857132d97e28f20cdc100bdc
- affected e8ba1e05bdc016700c85fad559a812c2e795442f – < d09aee1b1da196be11ed86dd4897f228f2487613
- affected e8ba1e05bdc016700c85fad559a812c2e795442f – < cc587b7c8fbbe128f6bd0dad025a0caea5e6d164
- affected 5.14
- unaffected < 5.14
- unaffected 5.15.33 – ≤ 5.15.*
- unaffected 5.16.19 – ≤ 5.16.*
- unaffected 5.17.2 – ≤ 5.17.*
- unaffected 5.18 – ≤ *
References (4)
- https://git.kernel.org/stable/c/adafea71b49ec4dbc44e0b84ec6eb602004a7a08 (opens in a new tab)
- https://git.kernel.org/stable/c/f03c0c94186d5876857132d97e28f20cdc100bdc (opens in a new tab)
- https://git.kernel.org/stable/c/d09aee1b1da196be11ed86dd4897f228f2487613 (opens in a new tab)
- https://git.kernel.org/stable/c/cc587b7c8fbbe128f6bd0dad025a0caea5e6d164 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-49249)Record last updated .