CVE-2022-49582
Last modified
CVE-2022-49582 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: net: dsa: fix NULL pointer dereference in dsa_port_reset_vlan_filtering The "ds" iterator variable used in dsa_port_reset_vlan_filtering() -> dsa_switch_for_each_port() overwrites the "dp" received as argument, which is later used to call dsa_port_vlan_filtering() proper. As a result, switches which do enter that code path (the ones with vlan_filtering_is_global=true) will dereference an invalid dp in dsa_port_reset_vlan_filtering() after leaving a VLAN-aware bridge. Use a dedicated "other_dp" iterator variable to avoid this from happening.. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: net: dsa: fix NULL pointer dereference in dsa_port_reset_vlan_filtering The "ds" iterator variable used in dsa_port_reset_vlan_filtering() -> dsa_switch_for_each_port() overwrites the "dp" received as argument, which is later used to call dsa_port_vlan_filtering() proper. As a result, switches which do enter that code path (the ones with vlan_filtering_is_global=true) will dereference an invalid dp in dsa_port_reset_vlan_filtering() after leaving a VLAN-aware bridge. Use a dedicated "other_dp" iterator variable to avoid this from happening.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.16, < 5.18.15 | — |
| Linux | Linux Kernel | 5.19 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-49582?
How severe is CVE-2022-49582?
How do I fix CVE-2022-49582?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-49577In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2022-49578In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2022-49579In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2022-4958A vulnerability classified as problematic has been found in …5.4
- CVE-2022-49580In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2022-49581In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49583In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49584In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49585In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2022-49586In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2022-49587In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2022-49588In the Linux kernel, the following vulnerability has been re…4.7
Are you affected by CVE-2022-49582?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
