Menu

Star on GitHub · 3.4k

CVE-2022-49808

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: net: dsa: don't leak tagger-owned storage on switch driver unbind In the initial commit dc452a471dba ("net: dsa: introduce tagg…

Published May 1, 2025EPSS 0.17%

Overview

CVE-2022-49808 is a medium-severity vulnerability. It was published on May 1, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

net: dsa: don't leak tagger-owned storage on switch driver unbind

In the initial commit dc452a471dba ("net: dsa: introduce tagger-owned

storage for private and shared data"), we had a call to

tag_ops->disconnect(dst) issued from dsa_tree_free(), which is called at

tree teardown time.

There were problems with connecting to a switch tree as a whole, so this

got reworked to connecting to individual switches within the tree. In

this process, tag_ops->disconnect(ds) was made to be called only from

switch.c (cross-chip notifiers emitted as a result of dynamic tag proto

changes), but the normal driver teardown code path wasn't replaced with

anything.

Solve this problem by adding a function that does the opposite of

dsa_switch_setup_tag_protocol(), which is called from the equivalent

spot in dsa_switch_teardown(). The positioning here also ensures that we

won't have any use-after-free in tagging protocol (*rcv) ops, since

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-49808?

CVE-2022-49808 is a medium-severity vulnerability. It was published on May 1, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-49808?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-49808?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-49808?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49808 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2022

View all
Watch the demo →