Back

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

Published Dec 30, 2025

Description

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 products

Remediation

No remediation recorded yet.

Weaknesses (0)

No CWE recorded.

References (10)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner Linux
Published Dec 30, 2025
Updated May 11, 2026
Reserved Dec 30, 2025
NVD
Status Deferred
Modified Jun 17, 2026
Red Hat
Severity n/a
Public date Dec 30, 2025
ENISA EUVD
Assigner Linux
Published Dec 30, 2025
Updated May 11, 2026
Exploited since n/a
EUVD-2022-55861