Bug 2426207 (CVE-2022-50837) - CVE-2022-50837 kernel: net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path
Summary: CVE-2022-50837 kernel: net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021...
Keywords:
Status: NEW
Alias: CVE-2022-50837
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-30 13:16 UTC by OSIDB Bzimport
Modified: 2026-06-29 18:18 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-30 13:16:29 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.