CVE-2022-49249

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

HIGH 7.1

En bref

Source
NVD
EPSS
EPSS 0.27 % · centile 20 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected e8ba1e05bdc016700c85fad559a812c2e795442f < adafea71b49ec4dbc44e0b84ec6eb602004a7a08 ; affected e8ba1e05bdc016700c85fad559a812c2e795442f < f03c0c94186d5876857132d97e28f20cdc100bdc ; affected e8ba1e05bdc016700c85fad559a812c2e795442f < d09aee1b1da196be11ed86dd4897f228f2487613 ; affected e8ba1e05bdc016700c85fad559a812c2e795442f < cc587b7c8fbbe128f6bd0dad025a0caea5e6d164
Linux · Linuxaffected 5.14 ; unaffected 0 < 5.14 ; unaffected 5.15.33 ≤ 5.15.* ; unaffected 5.16.19 ≤ 5.16.* ; unaffected 5.17.2 ≤ 5.17.* ; unaffected 5.18 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD