CVE-2022-50837
published 2025-12-30CVE-2022-50837: 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…
PriorityP418medium5.3
EPSS
0.21%
11.1th percentile
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.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.4-1 (bookworm) | linux 6.1.4-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 328621f6131f667c5c328bb72d45442fd76efb81 < 09f30f394e832ed09859b6a80fdd20668a9104ff | 09f30f394e832ed09859b6a80fdd20668a9104ff |
| linux | linux | >= 328621f6131f667c5c328bb72d45442fd76efb81 < 39691d51af99f80efb9e365f94b8e0c791fa1a2f | 39691d51af99f80efb9e365f94b8e0c791fa1a2f |
| linux | linux | >= 328621f6131f667c5c328bb72d45442fd76efb81 < 14ed46a13aba42a6ddd85de6f6274090df3586a5 | 14ed46a13aba42a6ddd85de6f6274090df3586a5 |
| linux | linux | >= 328621f6131f667c5c328bb72d45442fd76efb81 < e095493091e850d5292ad01d8fbf5cde1d89ac53 | e095493091e850d5292ad01d8fbf5cde1d89ac53 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 5.15.0 < 5.15.86 | 5.15.86 |
| linux | linux_kernel | >= 5.16.0 < 6.0.16 | 6.0.16 |
| linux | linux_kernel | >= 6.1.0 < 6.1.2 | 6.1.2 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path
osv·2025-12-30
CVE-2022-50837 net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path
net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path
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.
GHSA
GHSA-6jwx-qgw3-m69w: 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
ghsa_unreviewed·2025-12-30
CVE-2022-50837 GHSA-6jwx-qgw3-m69w: 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
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.
OSV
CVE-2022-50837: 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 d
osv·2025-12-30
CVE-2022-50837 CVE-2022-50837: 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 d
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.
Red Hat
kernel: net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path
vendor_redhat·2025-12-30
CVE-2022-50837 kernel: net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path
kernel: net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 8) - Not affected
Package
Debian
CVE-2022-50837: linux - In the Linux kernel, the following vulnerability has been resolved: net: dsa: t...
vendor_debian·2022
CVE-2022-50837 CVE-2022-50837: linux - In the Linux kernel, the following vulnerability has been resolved: net: dsa: t...
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.
Scope: local
bookworm: resolved (fixed in 6.1.4-1)
bullseye: resolved
forky: resolved (fixed in 6.1.4-1)
sid: resolved (fixed in 6.1.4-1)
trixie: resolved (fixed in 6.1.4-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2022-50837 kernel: net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path
bugzilla·2025-12-30
CVE-2022-50837 CVE-2022-50837 kernel: net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path
CVE-2022-50837 kernel: net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path
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.
Discussion:
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025123018-CVE-2022-50837-c470@gregkh/T
Wiz
CVE-2022-50837 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 5.3
CVE-2022-50837 [MEDIUM] CVE-2022-50837 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2022-50837 :
Linux Debian vulnerability analysis and mitigation
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.
Source : NVD
Published December 30, 2025
CNA Score N/A
Affected Technologies
Linux Debian
Linux Ubuntu
Has Public Exploit No
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Probability Percentile (EPSS) 7.4
Exploitation Probability (EPSS) N/A
Affected packages and libraries
linux-hwe-5.15
linux-intel-iotg-5.15
Sources
NVD
Debian 12, 13,
2025-12-30
Published