CVE-2022-50040

published 18 Jun 2025 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7983e1e44cb322eba6af84160b6d18df80603fb8, Kernel 79f86b862416126a2e826cb74224180d6625a32f, Kernel e84c6321f3578c38cb3c24258db91a92672b17a8 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.10, >=bf425b82059e0b0752c0026353c1902112200837 <7983e1e44cb322eba6af84160b6d18df80603fb8, >=bf425b82059e0b0752c0026353c1902112200837 <79f86b862416126a2e826cb74224180d6625a32f, >=bf425b82059e0b0752c0026353c1902112200837 <e84c6321f3578c38cb3c24258db91a92672b17a8, >=bf425b82059e0b0752c0026353c1902112200837 <fd8e899cdb5ecaf8e8ee73854a99e10807eef1de7983e1e44cb322eba6af84160b6d18df80603fb8, 79f86b862416126a2e826cb74224180d6625a32f, e84c6321f3578c38cb3c24258db91a92672b17a8, fd8e899cdb5ecaf8e8ee73854a99e10807eef1de

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50040 severity on Zeptric[![CVE-2022-50040](https://zeptric.io/badge/cve/CVE-2022-50040.svg)](https://zeptric.io/cve/CVE-2022-50040)