Kernel NULL Pointer Dereference Vulnerability in Linux Package

linux Updated 02 Oct 2025

Summary

18/06/2025
N/A
Yes i
Unrated
Not published

CVE-2022-50054: In the Linux kernel, the following vulnerability has been resolved: iavf: Fix NULL pointer dereference in iavf_get_link_ksettings Fix possible NULL pointer dereference, due to freeing of adapter->vf_res in iavf_init_get_... Affects linux versions < 6.0.2-1. Fixed in 6.0.2-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 Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It is widely used across various platforms, including servers, desktops, and embedded systems. This vulnerability affects the iavf driver, which is responsible for Intel Ethernet devices, specifically in handling virtual functions. The vulnerability arises from improper handling of resources, leading to potential system crashes or instability.

Vulnerability Detail

In the Linux kernel, a NULL pointer dereference vulnerability was identified in the iavf driver, specifically in the function iavf_get_link_ksettings. This issue was introduced by a previous commit that incorrectly freed the adapter's resources under certain error conditions. When the system attempts to access these freed resources, it results in a kernel panic, causing the system to crash. The vulnerability can be exploited when the netdev is still registered, allowing for calls to netlink operations, which can lead to a denial of service.

How To Fix

Minimum fixed version

6.0.2-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. It is recommended to apply the patch as soon as it is available to mitigate the risk.

Conclusion

The CVE-2022-50054 vulnerability in the Linux kernel's iavf driver poses a significant risk due to its potential to cause system crashes. It is crucial for users to update their systems to the patched version to mitigate this risk. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-50054 is a vulnerability in the Linux kernel's iavf driver that can lead to a NULL pointer dereference, resulting in a kernel panic.

Exploitation of this vulnerability can cause system crashes, leading to potential downtime and loss of service.

If you are using a version of the Linux kernel prior to 6.0.2-1, your system may be vulnerable. You can check your kernel version using the command 'uname -r'.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing a manifest file like package-lock.json.

Detailed information about CVE-2022-50054 can be found in the official CVE database and security advisories related to the Linux kernel.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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