{"id":"CVE-2022-50837","published":"2025-12-30T12:10:57Z","modified":"2026-05-11T19:26:04Z","title":"net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path\n\nIf dsa_tag_8021q_setup() fails, for example due to the inability of the\ndevice to install a VLAN, the tag_8021q context of the switch will leak.\nMake sure it is freed on the error path.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00238,"percentile":0.14667,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/09f30f394e832ed09859b6a80fdd20668a9104ff","tags":[]},{"url":"https://git.kernel.org/stable/c/39691d51af99f80efb9e365f94b8e0c791fa1a2f","tags":[]},{"url":"https://git.kernel.org/stable/c/14ed46a13aba42a6ddd85de6f6274090df3586a5","tags":[]},{"url":"https://git.kernel.org/stable/c/e095493091e850d5292ad01d8fbf5cde1d89ac53","tags":[]}],"priority":{"score":2.9,"factors":[{"name":"EPSS percentile","points":2.93}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 328621f6131f667c5c328bb72d45442fd76efb81, < 09f30f394e832ed09859b6a80fdd20668a9104ff",">= 328621f6131f667c5c328bb72d45442fd76efb81, < 39691d51af99f80efb9e365f94b8e0c791fa1a2f",">= 328621f6131f667c5c328bb72d45442fd76efb81, < 14ed46a13aba42a6ddd85de6f6274090df3586a5",">= 328621f6131f667c5c328bb72d45442fd76efb81, < e095493091e850d5292ad01d8fbf5cde1d89ac53"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"euvd":{"id":"EUVD-2022-55861","exploited":false,"provenance":"source"}}