Critical NULL Pointer Dereference Vulnerability in Linux Kernel - Debian Packages

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
Yes i
Medium
5.5

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Share this vulnerability

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.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback