What’s Vulnerable › Vulnerabilities

CVE-2022-50040: net: dsa: sja1105: fix buffer overflow in sja1105_setup_devlink_regions()

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.138, 5.15.63, 5.19.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50040 or the next vulnerability affects your stack