Null Pointer Dereference Vulnerability in Linux Kernel (CVE-2022-49535)

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
No i
Unrated
Not published

CVE-2022-49535: In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Fix null pointer dereference after failing to issue FLOGI and PLOGI If lpfc_issue_els_flogi() fails and returns non-zero status, the node re... Affects linux versions 5.10.103-1 – 6.9.9-1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of Linux operating systems, managing hardware resources and providing essential services for applications. It is widely used in servers, desktops, and embedded systems. This vulnerability affects the SCSI lpfc driver, which is responsible for managing Fibre Channel connections. The issue arises from improper handling of node reference counts, leading to potential system instability and security risks.

Vulnerability Detail

CVE-2022-49535 is a vulnerability in the Linux kernel's lpfc driver that can lead to a null pointer dereference. This occurs when the function lpfc_issue_els_flogi() fails, resulting in the premature release of a node structure. If there are pending events related to device loss, the released node may be accessed after it has been freed, causing a use-after-free condition. This can lead to system crashes or exploitation by malicious actors, compromising system integrity and availability.

How To Fix

No fixed version is published for this vulnerability.

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

Conclusion

CVE-2022-49535 is a critical vulnerability in the Linux kernel's lpfc driver that can lead to serious security risks due to null pointer dereference. It is essential to update to the patched version to ensure system stability and security. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the integrity of your applications.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49535 is a vulnerability in the Linux kernel's lpfc driver that can lead to a null pointer dereference, potentially causing system crashes.

If exploited, this vulnerability can lead to system instability, crashes, or unauthorized access, compromising the security of your system.

You should update your Linux package to version 5.18.5-1 or later to apply the necessary security patches.

As of now, there are no publicly known exploits for CVE-2022-49535, but it is advisable to patch the vulnerability to prevent potential exploitation.

You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using a manifest file like package-lock.json. You can check your application for vulnerabilities using the Vulert playground without signing up.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

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