net: dsa: sja1105: fix buffer overflow in sja1105_setup_devlink_regions() (Linux Linux)

CVE-2022-50040
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.28 % · percentile 21 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: net: dsa: sja1105: fix buffer overflow in sja1105_setup_devlink_regions() If an error occurs in dsa_devlink_region_create(), then 'priv->regions' array will be accessed by negative index '-1'. Found by Linux Verification Center (linuxtesting.org) with SVACE.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected bf425b82059e0b0752c0026353c1902112200837 < 7983e1e44cb322eba6af84160b6d18df80603fb8 ; affected bf425b82059e0b0752c0026353c1902112200837 < e84c6321f3578c38cb3c24258db91a92672b17a8 ; affected bf425b82059e0b0752c0026353c1902112200837 < 79f86b862416126a2e826cb74224180d6625a32f ; affected bf425b82059e0b0752c0026353c1902112200837 < fd8e899cdb5ecaf8e8ee73854a99e10807eef1de
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.10.138 ≤ 5.10.* ; unaffected 5.15.63 ≤ 5.15.* ; unaffected 5.19.4 ≤ 5.19.* ; unaffected 6.0 ≤ *

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