CVE-2022-49249 ASoC: codecs: wc938x: fix accessing array out of bounds for enum type
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.14
해결 버전
- 5.14 미만
- 5.15.33 이상
- 5.16.19 이상
- 5.17.2 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/adafea71b49ec4dbc44e0b84ec6eb602004a7a08 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/cc587b7c8fbbe128f6bd0dad025a0caea5e6d164 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d09aee1b1da196be11ed86dd4897f228f2487613 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f03c0c94186d5876857132d97e28f20cdc100bdc (새 창)