Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-49249

ASoC: codecs: wc938x: fix accessing array out of bounds for enum type

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e8ba1e05bdc016700c85fad559a812c2e795442f to < adafea71b49ec4dbc44e0b84ec6eb602004a7a08affected
  • e8ba1e05bdc016700c85fad559a812c2e795442f to < f03c0c94186d5876857132d97e28f20cdc100bdcaffected
  • e8ba1e05bdc016700c85fad559a812c2e795442f to < d09aee1b1da196be11ed86dd4897f228f2487613affected
  • e8ba1e05bdc016700c85fad559a812c2e795442f to < cc587b7c8fbbe128f6bd0dad025a0caea5e6d164affected

Linux Linux

Default version status: affected

  • 5.14affected
  • 0 to < 5.14unaffected
  • 5.15.33 to ≤ 5.15.*unaffected
  • 5.16.19 to ≤ 5.16.*unaffected
  • 5.17.2 to ≤ 5.17.*unaffected
  • 5.18 to ≤ *unaffected

References