Vulnerabilities · 2022 · Linux
CVE-2022-50040
Linux Kernel vulnerability
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.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/7983e1e44cb322eba6af84160b6d18df80603fb8 · Patch
- git.kernel.org/stable/c/79f86b862416126a2e826cb74224180d6625a32f · Patch
- git.kernel.org/stable/c/e84c6321f3578c38cb3c24258db91a92672b17a8 · Patch
- git.kernel.org/stable/c/fd8e899cdb5ecaf8e8ee73854a99e10807eef1de · Patch
- nvd.nist.gov/vuln/detail/CVE-2022-50040
- cve.org/CVERecord?id=CVE-2022-50040
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.