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 integer would result in array out of bounds access on platforms like aarch64 where…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.27%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.1 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- EPSS
- 0.27% probability · 19th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-125
- Affected
- linux/linux kernel
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
References
- https://git.kernel.org/stable/c/adafea71b49ec4dbc44e0b84ec6eb602004a7a08Patch
- https://git.kernel.org/stable/c/cc587b7c8fbbe128f6bd0dad025a0caea5e6d164Patch
- https://git.kernel.org/stable/c/d09aee1b1da196be11ed86dd4897f228f2487613Patch
- https://git.kernel.org/stable/c/f03c0c94186d5876857132d97e28f20cdc100bdcPatch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.