Critical NULL Pointer Dereference Vulnerability in Linux Kernel - Debian Packages
Summary
CVE-2022-49582: 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... Affects linux versions < 5.18.16-1. Fixed in 5.18.16-1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of the Debian operating system, responsible for managing hardware and system resources. It provides essential services for all other parts of the system, including process management, memory management, and device control. The kernel is crucial for system stability and security, making any vulnerabilities within it particularly concerning.
Vulnerability Detail
The vulnerability identified as CVE-2022-49582 arises from a NULL pointer dereference in the Linux kernel's DSA (Distributed Switch Architecture) subsystem. Specifically, the issue occurs in the function dsa_port_reset_vlan_filtering, where the 'ds' iterator variable inadvertently overwrites the 'dp' argument. This can lead to dereferencing an invalid pointer when switches with global VLAN filtering exit a VLAN-aware bridge, potentially causing system crashes or unpredictable behavior.
How To Fix
Minimum fixed version
5.18.16-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade linux
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the patch as soon as it becomes available.
Conclusion
CVE-2022-49582 presents a significant risk to systems running affected versions of the Linux kernel in Debian. Users are strongly encouraged to update their packages to the fixed version 5.18.16-1 to mitigate this vulnerability. Regular monitoring and prompt updates are essential for maintaining system security.
See every vulnerability recorded for linux →
FAQ
CVE-2022-49582 is a vulnerability in the Linux kernel that can lead to a NULL pointer dereference, potentially causing system instability.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
The consequences may include system crashes or unpredictable behavior, especially for switches with global VLAN filtering.
While there are no specific workarounds, it is advisable to monitor your system closely and apply the update as soon as possible.
Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities using just a manifest file like package-lock.json.
Related vulnerabilities
Recent vulnerabilities recorded for linux.