CVE-2022-49249

Source
https://cve.org/CVERecord?id=CVE-2022-49249
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49249.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49249
Downstream
Related
Published
2025-02-26T01:56:07.215Z
Modified
2026-03-12T03:24:55.458455Z
Summary
ASoC: codecs: wc938x: fix accessing array out of bounds for enum type
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49249.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e8ba1e05bdc016700c85fad559a812c2e795442f
Fixed
adafea71b49ec4dbc44e0b84ec6eb602004a7a08
Fixed
f03c0c94186d5876857132d97e28f20cdc100bdc
Fixed
d09aee1b1da196be11ed86dd4897f228f2487613
Fixed
cc587b7c8fbbe128f6bd0dad025a0caea5e6d164

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49249.json"