Buffer overflow in Linux

CVE-2022-50040

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.003, 22.1th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions bf425b82059e0b0752c0026353c1902112200837, 5.10, 0
  • Linux Kernel — versions 6.0

Weakness classification (CWE)

References