
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49582 is a vulnerability in the Linux kernel's Distributed Switch Architecture (DSA) subsystem. The issue involves a NULL pointer dereference in the dsa_port_reset_vlan_filtering function. The vulnerability was discovered when the 'ds' iterator variable used in dsa_port_reset_vlan_filtering() -> dsa_switch_for_each_port() overwrites the 'dp' received as argument (Kernel Commit).
The vulnerability occurs when switches with vlan_filtering_is_global=true enter a specific code path, resulting in dereferencing an invalid dp in dsa_port_reset_vlan_filtering() after leaving a VLAN-aware bridge. The issue stems from a variable overwrite problem where the iterator variable overwrites the function argument. According to Ubuntu's security assessment, this vulnerability has been assigned a CVSS 3 Severity Score of 5.5 (Medium) (Ubuntu Security).
When exploited, this vulnerability can lead to a NULL pointer dereference in the Linux kernel's networking subsystem, specifically affecting systems using the Distributed Switch Architecture (DSA) functionality. This could potentially result in system crashes or denial of service conditions.
The vulnerability requires specific conditions to be exploited, particularly affecting switches with vlan_filtering_is_global=true when handling VLAN-aware bridge operations. The issue is triggered during normal network operations when leaving a VLAN-aware bridge.
The issue has been fixed by introducing a dedicated 'other_dp' iterator variable to avoid the variable overwrite problem. The fix was implemented in the Linux kernel through a patch that modifies the net/dsa/port.c file. The patch has been backported to various maintained kernel versions (Kernel Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."