CVE-2022-50040
HighIn 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.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-787CVE-2022-50040 is a Out-of-bounds Write vulnerability
What is Out-of-bounds Write?
The product writes data past the end or before the beginning of the intended buffer. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.10
and later are affected. Fixed in
5.10.138,
5.15.63,
5.19.4,
6.0
and their respective stable series.
References
The following references provide additional information about CVE-2022-50040 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/7983e1e44cb322eba6af84160b6d18df80603fb8
-
PatchKernel patch commithttps://git.kernel.org/stable/c/79f86b862416126a2e826cb74224180d6625a32f
-
PatchKernel patch commithttps://git.kernel.org/stable/c/e84c6321f3578c38cb3c24258db91a92672b17a8
Frequently asked questions
-
What is CVE-2022-50040?
CVE-2022-50040 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Out-of-bounds Write flaw (CWE-787) . It affects Linux kernel versions from 5.10 onward and has been patched in 5.10.138, 5.15.63, 5.19.4 and others. CVE-2022-50040 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-50040?
CVE-2022-50040 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2022-50040?
Yes — CVE-2022-50040 has been patched. Fixed versions include 5.10.138, 5.15.63, 5.19.4 and others. If you are running Linux kernel 5.10 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-50040 actively exploited?
No — CVE-2022-50040 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Out-of-bounds Write (CWE-787)?
The product writes data past the end or before the beginning of the intended buffer. View CWE-787 on MITRE CWE →