CVE-2022-50837

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

published December 30, 2025

CVSS
—
EPSS
0%
Percentile
14.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00238 · 14.0th percentile
Published
2025-12-30T12:10Z
EPSS history
Timeline
  • 30 DEC 12:10Z
    net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path
    cvelistv5