{"id":"CVE-2022-50837","aliases":["CVE-2022-50837"],"related":[],"kind":"vulnerability","state":"published","title":"net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2025-12-30T12:10:57.049Z","modified":"2026-06-17T05:24:16.323Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"328621f6131f667c5c328bb72d45442fd76efb81","fixed":"09f30f394e832ed09859b6a80fdd20668a9104ff","status":"affected"},{"type":"git","introduced":"328621f6131f667c5c328bb72d45442fd76efb81","fixed":"39691d51af99f80efb9e365f94b8e0c791fa1a2f","status":"affected"},{"type":"git","introduced":"328621f6131f667c5c328bb72d45442fd76efb81","fixed":"14ed46a13aba42a6ddd85de6f6274090df3586a5","status":"affected"},{"type":"git","introduced":"328621f6131f667c5c328bb72d45442fd76efb81","fixed":"e095493091e850d5292ad01d8fbf5cde1d89ac53","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/09f30f394e832ed09859b6a80fdd20668a9104ff","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/39691d51af99f80efb9e365f94b8e0c791fa1a2f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/14ed46a13aba42a6ddd85de6f6274090df3586a5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e095493091e850d5292ad01d8fbf5cde1d89ac53","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50837","url":"https://www.cve.org/CVERecord?id=CVE-2022-50837","licence":"CVE Terms of Use","modified":"2026-05-11T19:26:04.353Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50837","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50837","licence":"Public domain","modified":"2026-06-17T05:24:16.323Z"}],"updatedAt":"2026-11-25T22:58:21.374Z","epss":{"score":0.00255,"percentile":0.1818,"date":"2026-12-02T12:00:21.000Z"}}