Critical NULL Pointer Dereference in Linux Kernel - Debian Packages

linux Updated 02 Oct 2025

Summary

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

CVE-2022-49184: In the Linux kernel, the following vulnerability has been resolved: net: sparx5: switchdev: fix possible NULL pointer dereference As the possible failure of the allocation, devm_kzalloc() may return NULL pointer. Affects linux versions < 5.17.3-1. Fixed in 5.17.3-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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of the Debian operating system, responsible for managing system resources and facilitating communication between hardware and software. It is a highly versatile and widely used open-source platform that supports a variety of applications and services. The vulnerability identified as CVE-2022-49184 affects the switchdev functionality within the kernel, specifically in the sparx5 driver, which is responsible for managing network switches. This vulnerability can lead to system instability and potential crashes if not addressed promptly.

Vulnerability Detail

CVE-2022-49184 is a vulnerability in the Linux kernel where a possible NULL pointer dereference may occur due to the failure of the devm_kzalloc() memory allocation function. If the allocation fails, it returns a NULL pointer, which, if dereferenced, can lead to a system crash or unexpected behavior. This vulnerability is particularly concerning for systems relying on the sparx5 switchdev functionality, as it could disrupt network operations and compromise system integrity.

How To Fix

Minimum fixed version

5.17.3-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 mentioned for this vulnerability. However, users are advised to monitor their systems for any unusual behavior and apply the patch as soon as it is available.

Conclusion

CVE-2022-49184 is a significant vulnerability in the Linux kernel that can lead to serious system issues if not addressed. Users of Debian 12 and 13 are strongly encouraged to update their kernel packages to the fixed version to ensure system stability and security. Monitoring tools like Vulert can assist in identifying vulnerabilities in your applications.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49184 is a vulnerability in the Linux kernel that can lead to a NULL pointer dereference, potentially causing system crashes.

If exploited, this vulnerability can lead to system instability and crashes, particularly affecting network operations managed by the sparx5 driver.

You should update your Linux kernel to version 5.17.3-1 or later to mitigate the vulnerability.

Currently, there are no specific workarounds available. It is recommended to apply the patch as soon as possible.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using a manifest file like package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

5.17.3-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