net: sparx5: switchdev: fix possible NULL pointer dereference in Kernel

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001804: net: sparx5: switchdev: fix possible NULL pointer dereference. Affects Kernel versions >= 10615907e9b51c9ae92f3a6ecabd01c482f20f32, < b375ea083fa649092cd016ac1f89a2d1fd8f8e8b. No fix is published. 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 Kernel is a critical component of the Linux operating system that manages the communication between hardware and software. It provides essential services and functions for the proper functioning of the system. The vulnerability affects the switchdev functionality in the sparx5 driver of the Kernel.

Vulnerability Detail

The vulnerability in the sparx5 switchdev functionality of the Kernel could lead to a NULL pointer dereference. This means that a pointer, which should point to a valid memory location, instead points to NULL. If not properly handled, this can result in a crash or unexpected behavior of the system. The vulnerability was introduced in version v5.15 of the Kernel and has been fixed in version v5.15.33.

How To Fix

No fixed version is published for this vulnerability.

To fix the vulnerability, it is recommended to update the Linux Kernel to version v5.15.33 or later. This can be done by downloading the updated Kernel source code from the official Git repository and compiling it according to the system's specifications. Alternatively, users can wait for their Linux distribution to provide an updated package containing the fixed Kernel version.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in the sparx5 switchdev functionality of the Kernel could lead to a NULL pointer dereference, potentially causing a crash or unexpected behavior. It is recommended to update the Linux Kernel to version v5.15.33 or later to fix the vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability could potentially lead to a crash or unexpected behavior of the system.

You can use the Vulert playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.

At the time of this report, there is no known exploit for this vulnerability. However, it is always recommended to apply security patches promptly to mitigate any potential risks.

It is not recommended to manually patch the vulnerability without updating the Kernel. The fix provided in the updated Kernel version includes necessary changes and improvements to address the vulnerability effectively.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix the vulnerability, it is recommended to update the Linux Kernel to version v5.15.33 or later. This can be done by downloading the updated Kernel source code from the official Git repository and compiling it according to the system's specifications. Alternatively, users can wait for their Linux distribution to provide an updated package containing the fixed Kernel version.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.