CVE-2022-50837 Details
Description
In the Linux kernel, the following vulnerability has been resolved: net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path If dsa_tag_8021q_setup() fails, for example due to the inability of the device to install a VLAN, the tag_8021q context of the switch will leak. Make sure it is freed on the error path.
A vulnerability exists in the Linux kernel's DSA (Distributed Switch Architecture) tag 8021Q handling. When the function 'dsa_tag_8021q_setup()' fails—such as when a device cannot install a VLAN—the context associated with the 8021Q tag can leak. This leak occurs because the context is not properly freed before the function exits on error. The issue has been addressed by modifying the registration function to ensure that the context is released if an error occurs during setup.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux kernel's official website.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/09f30f394e832ed09859b6a80fdd20668a9104ff | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/14ed46a13aba42a6ddd85de6f6274090df3586a5 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/39691d51af99f80efb9e365f94b8e0c791fa1a2f | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e095493091e850d5292ad01d8fbf5cde1d89ac53 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion