CVE-2022-50837

published 30 Dec 2025 · updated 11 May 2026

net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 09f30f394e832ed09859b6a80fdd20668a9104ff, Kernel 14ed46a13aba42a6ddd85de6f6274090df3586a5, Kernel 39691d51af99f80efb9e365f94b8e0c791fa1a2f and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=328621f6131f667c5c328bb72d45442fd76efb81 <09f30f394e832ed09859b6a80fdd20668a9104ff, >=328621f6131f667c5c328bb72d45442fd76efb81 <14ed46a13aba42a6ddd85de6f6274090df3586a5, >=328621f6131f667c5c328bb72d45442fd76efb81 <39691d51af99f80efb9e365f94b8e0c791fa1a2f, >=328621f6131f667c5c328bb72d45442fd76efb81 <e095493091e850d5292ad01d8fbf5cde1d89ac5309f30f394e832ed09859b6a80fdd20668a9104ff, 14ed46a13aba42a6ddd85de6f6274090df3586a5, 39691d51af99f80efb9e365f94b8e0c791fa1a2f, e095493091e850d5292ad01d8fbf5cde1d89ac53

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50837 severity on Zeptric[![CVE-2022-50837](https://zeptric.io/badge/cve/CVE-2022-50837.svg)](https://zeptric.io/cve/CVE-2022-50837)