CVE Database›Document archive›CVE-2022-50040

CVE-2022-50040

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

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · June 18, 2025

Updated · June 30, 2026

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.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified