NetSight
high7.1

CVE-2022-49249

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…

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.14 before 5.15.33
from 5.16 before 5.16.19
from 5.17 before 5.17.2

Weakness classification

References