Null Pointer Dereference Vulnerability in Linux Kernel (CVE-2022-49535)
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.