Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-49812

5.5 · MEDIUM
Published May 1, 2025 linux CWE-401 EPSS 0.20% (10th pctl)

Overview

CVE-2022-49812 is a medium-severity vulnerability affecting linux linux_kernel. 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:

bridge: switchdev: Fix memory leaks when changing VLAN protocol

The bridge driver can offload VLANs to the underlying hardware either

via switchdev or the 8021q driver. When the former is used, the VLAN is

marked in the bridge driver with the 'BR_VLFLAG_ADDED_BY_SWITCHDEV'

private flag.

To avoid the memory leaks mentioned in the cited commit, the bridge

driver will try to delete a VLAN via the 8021q driver if the VLAN is not

marked with the previously mentioned flag.

When the VLAN protocol of the bridge changes, switchdev drivers are

notified via the 'SWITCHDEV_ATTR_ID_BRIDGE_VLAN_PROTOCOL' attribute, but

the 8021q driver is also called to add the existing VLANs with the new

protocol and delete them with the old protocol.

In case the VLANs were offloaded via switchdev, the above behavior is

both redundant and buggy. Redundant because the VLANs are already

programmed in hardware and drivers that support VLAN protoc

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.0.1, < 5.10.157 Affected

Frequently Asked Questions

What is CVE-2022-49812?

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

How severe is CVE-2022-49812?

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-49812?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-49812?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-49812 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.