Bug 2373488 (CVE-2022-50040) - CVE-2022-50040 kernel: net: dsa: sja1105: fix buffer overflow in sja1105_setup_devlink_regions()
Summary: CVE-2022-50040 kernel: net: dsa: sja1105: fix buffer overflow in sja1105_setu...
Keywords:
Status: NEW
Alias: CVE-2022-50040
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-18 12:05 UTC by OSIDB Bzimport
Modified: 2025-06-19 23:47 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-18 12:05:14 UTC
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.

Comment 1 Avinash Hanwate 2025-06-19 23:39:40 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061842-CVE-2022-50040-08fa@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.