Back
CVE-2022-50040
net: dsa: sja1105: fix buffer overflow in sja1105_setup_devlink_regions()
High7.8EPSS 0.28%
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Timeline
ID reserved
By Linux
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.28% · top 79% of all CVEs (8 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
- affected bf425b82059e0b0752c0026353c1902112200837 – < 7983e1e44cb322eba6af84160b6d18df80603fb8
- affected bf425b82059e0b0752c0026353c1902112200837 – < e84c6321f3578c38cb3c24258db91a92672b17a8
- affected bf425b82059e0b0752c0026353c1902112200837 – < 79f86b862416126a2e826cb74224180d6625a32f
- affected bf425b82059e0b0752c0026353c1902112200837 – < fd8e899cdb5ecaf8e8ee73854a99e10807eef1de
- affected 5.10
- unaffected < 5.10
- unaffected 5.10.138 – ≤ 5.10.*
- unaffected 5.15.63 – ≤ 5.15.*
- unaffected 5.19.4 – ≤ 5.19.*
- unaffected 6.0 – ≤ *
References (4)
- https://git.kernel.org/stable/c/7983e1e44cb322eba6af84160b6d18df80603fb8 (opens in a new tab)
- https://git.kernel.org/stable/c/e84c6321f3578c38cb3c24258db91a92672b17a8 (opens in a new tab)
- https://git.kernel.org/stable/c/79f86b862416126a2e826cb74224180d6625a32f (opens in a new tab)
- https://git.kernel.org/stable/c/fd8e899cdb5ecaf8e8ee73854a99e10807eef1de (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-50040)Record last updated .