Skip to main content

Linux Kernel CVE-2022-49535

HIGH
Use After Free (CWE-416)
2025-02-26 416baaa9-dc9f-4396-8d5f-8c081fb06d67
8.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain FC fabric adjacency
  2. Delivery
    Send error ELS response to FLOGI/PLOGI
  3. Exploit
    Trigger non-zero return in lpfc failure handler
  4. Execution
    Race dev-loss-evt work item
  5. Persist
    Dereference freed ndlp node
  6. Impact
    Kernel panic or memory corruption

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires: (1) the target Linux system must have an lpfc-compatible Emulex or Broadcom Fibre Channel HBA installed and the lpfc kernel module loaded; (2) the system must be actively connected to and participating in a Fibre Channel fabric; (3) the attacker must have adjacency on that FC fabric - either as a rogue fabric switch, a compromised FC-attached host, or a legitimate fabric participant able to send error ELS responses; (4) a race condition must be won where dev-loss-evt work is pending at the precise moment FLOGI/PLOGI failure handling decrements the ndlp reference count. Conditions limiting exploitation: no internet exposure (AV:A only), requires specialized FC hardware on the victim, race timing required, and no standard authentication to the FC fabric may be bypassed to reach the driver. Systems without lpfc HBAs or not connected to FC fabrics are completely unaffected.

Impact

The NVD-assigned CVSS 3.1 score of 8.8 (AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) reflects worst-case kernel UAF impact, but several factors temper real-world risk. First, AV:A limits exposure to entities on the same Fibre Channel fabric - this is not an internet-reachable vulnerability. Second, reliably triggering the race between FLOGI/PLOGI failure handling and dev-loss-evt work requires precise timing, suggesting AC:H may be more accurate than the assigned AC:L; this assessment uses AC:H. Third, EPSS of 0.03% at the 8th percentile is consistent with a niche kernel driver bug with no known weaponized exploit - no KEV listing confirms this. The combination of AV:A scope restriction, race-condition complexity, and extremely low EPSS suggests the realistic exploitation risk is substantially lower than the raw CVSS score implies. The primary realistic impact is kernel panic (denial of service) rather than code execution, though UAF in kernel space cannot categorically exclude privilege escalation. Priority should be moderate in FC-attached enterprise Linux environments; low in environments without lpfc Fibre Channel HBAs.

Exploit ScenarioDerived

An attacker with a rogue or compromised host on the same Fibre Channel SAN fabric could send malformed or error-inducing ELS responses to a vulnerable Linux host's FLOGI or PLOGI requests, causing those operations to return non-zero status. If dev-loss-evt work is concurrently pending on the targeted ndlp node - a condition that can arise during normal fabric event processing - the race results in a use-after-free dereference when lpfc_dev_loss_tmo_handler() subsequently accesses the already-freed node, most likely producing a kernel panic. No public proof-of-concept exploit code is known at the time of this analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Aug 04, 2026

Use-after-free memory corruption in the Linux kernel's lpfc Fibre Channel driver exposes systems with Emulex/Broadcom FC HBAs to potential kernel-level code execution or denial of service. The flaw resides in the FLOGI and PLOGI ELS (Extended Link Services) failure-handling paths, where premature node (ndlp) deallocation races with pending dev-loss-evt work items, causing subsequent dereference of freed kernel memory. No public exploit has been identified and EPSS is extremely low at 0.03% (8th percentile), but the C:H/I:H/A:H impact potential in kernel space keeps this a meaningful priority for Fibre Channel-attached Linux environments. Multiple SUSE kernel advisories issued through 2025 confirm the patch has been backported to enterprise distributions.

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 18:28 CVSS 7.8

RemediationAI

The primary fix is applying the upstream kernel patches available at https://git.kernel.org/stable/c/10663ebec0ad5c78493a0dd34c9ee4d73d7ca0df, https://git.kernel.org/stable/c/577a942df3de2666f6947bdd3a5c9e8d30073424, and https://git.kernel.org/stable/c/c7dc74ab7975c9b96284abfe4cca756d75fa4604. SUSE Linux Enterprise users should apply the relevant SUSE-SU-2025 advisories listed in the references; exact updated kernel package versions are documented per-advisory at https://www.suse.com/support/update/. The patched-release kernel version is not independently pinned in the NVD CPE data - confirm the specific fixed kernel version against your distribution's errata. As a compensating control where patching is delayed, restricting FC zone membership to trusted initiator/target pairs reduces the attack surface by limiting which fabric-adjacent nodes can send error responses that trigger FLOGI/PLOGI failures. Disabling the lpfc driver entirely is not a practical workaround in storage-dependent environments. There are no known side effects to the upstream fix itself.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The lpfc driver (cpe:2.3:o:linux:linux_kernel) manages Emulex/Broadcom Fibre Channel Host Bus Adapters. During fabric discovery, the kernel exchanges FLOGI (Fabric Login) and PLOGI (Port Login) ELS frames with FC fabric nodes. Each discovered node is tracked via a nodelist structure (ndlp) whose lifecycle is governed by a reference count. CWE-416 (Use After Free) manifests here in two code paths: (1) in lpfc_issue_els_flogi(), a non-zero return triggers an ndlp reference decrement intended to free the node, but if dev-loss-evt work is already enqueued against that ndlp, the structure is freed before the work handler runs, leaving a dangling pointer; (2) identically in lpfc_cmpl_els_plogi(), a failed PLOGI completion triggers node removal without checking for pending dev-loss-evt, causing lpfc_dev_loss_tmo_handler() to dereference the freed ndlp. The root cause is missing guard logic - the fix adds a pending-work check before decrementing the reference count in FLOGI, PLOGI, PRLI, and ADISC handlers. The adjacent-network CVSS attack vector reflects that triggering these login failures requires presence on the Fibre Channel fabric.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 8.8 HIGH
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

AV:A matches FC-fabric-only reach; AC:H reflects race-condition dependency; PR:N for unauthenticated FC fabric peer; C/I/A:H for kernel UAF.

3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Aug 04, 2026 - 10:41 vuln.today
v2 - CVSS changed
CVSS changed
Aug 04, 2026 - 10:23 NVD
7.8 (HIGH) 8.8 (HIGH)
Patch released
Mar 28, 2026 - 18:28 nvd
Patch available
CVE Published
Feb 26, 2025 - 07:01 nvd
HIGH 7.8

DescriptionCVE.org

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 reference count is decremented to trigger the release of the nodelist structure. However, if there is a prior registration or dev-loss-evt work pending, the node may be released prematurely. When dev-loss-evt completes, the released node is referenced causing a use-after-free null pointer dereference.

Similarly, when processing non-zero ELS PLOGI completion status in lpfc_cmpl_els_plogi(), the ndlp flags are checked for a transport registration before triggering node removal. If dev-loss-evt work is pending, the node may be released prematurely and a subsequent call to lpfc_dev_loss_tmo_handler() results in a use after free ndlp dereference.

Add test for pending dev-loss before decrementing the node reference count for FLOGI, PLOGI, PRLI, and ADISC handling.

Executive ViewAI

Why It Matters

Organizations using Emulex/Broadcom Fibre Channel infrastructure on Linux face a serious security risk from a kernel-level vulnerability in the lpfc driver that could lead to server compromise or outage through privilege escalation or resource exhaustion. While no public exploit code has emerged, the high-severity flaw affects a critical component of many data center storage architectures and warrants immediate attention. Patches have been released and backported across enterprise Linux distributions, supporting a controlled remediation program without operational disruption.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Prevalence
Low
enterprise SAN hardware only, not present in commodity Linux deployments
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: High
Product Status
Container suse/sle-micro-rancher/5.2:latest Image SLES15-SP3-BYOS-Azure Image SLES15-SP3-HPC-BYOS-Azure Image SLES15-SP3-Micro-5-2-BYOS-Azure Image SLES15-SP3-Micro-5-2-BYOS-EC2-HVM Image SLES15-SP3-Micro-5-2-BYOS-GCE Image SLES15-SP3-SAPCAL-Azure Affected
Container suse/sle-micro-rancher/5.3:latest Container suse/sle-micro-rancher/5.4:latest Image SLES15-SP4-BYOS Image SLES15-SP4-BYOS-Azure Image SLES15-SP4-BYOS-EC2 Image SLES15-SP4-BYOS-GCE Image SLES15-SP4-CHOST-BYOS Image SLES15-SP4-CHOST-BYOS-Aliyun Image SLES15-SP4-CHOST-BYOS-Azure Image SLES15-SP4-CHOST-BYOS-EC2 Image SLES15-SP4-CHOST-BYOS-GCE Image SLES15-SP4-CHOST-BYOS-SAP-CCloud Image SLES15-SP4-HPC-BYOS Image SLES15-SP4-HPC-BYOS-Azure Image SLES15-SP4-HPC-BYOS-EC2 Image SLES15-SP4-HPC-BYOS-GCE Image SLES15-SP4-HPC-EC2 Image SLES15-SP4-HPC-GCE Image SLES15-SP4-Hardened-BYOS Image SLES15-SP4-Hardened-BYOS-Azure Image SLES15-SP4-Hardened-BYOS-EC2 Image SLES15-SP4-Hardened-BYOS-GCE Image SLES15-SP4-Manager-Proxy-4-3-BYOS Image SLES15-SP4-Manager-Proxy-4-3-BYOS-Azure Image SLES15-SP4-Manager-Proxy-4-3-BYOS-EC2 Image SLES15-SP4-Manager-Proxy-4-3-BYOS-GCE Image SLES15-SP4-Manager-Server-4-3-BYOS Image SLES15-SP4-Manager-Server-4-3-BYOS-Azure Image SLES15-SP4-Manager-Server-4-3-BYOS-EC2 Image SLES15-SP4-Manager-Server-4-3-BYOS-GCE Image SLES15-SP4-Micro-5-3 Image SLES15-SP4-Micro-5-3-BYOS Image SLES15-SP4-Micro-5-3-BYOS-Azure Image SLES15-SP4-Micro-5-3-BYOS-EC2 Image SLES15-SP4-Micro-5-3-BYOS-GCE Image SLES15-SP4-Micro-5-3-EC2 Image SLES15-SP4-Micro-5-4 Image SLES15-SP4-Micro-5-4-BYOS Image SLES15-SP4-Micro-5-4-BYOS-Azure Image SLES15-SP4-Micro-5-4-BYOS-EC2 Image SLES15-SP4-Micro-5-4-BYOS-GCE Image SLES15-SP4-Micro-5-4-EC2 Image SLES15-SP4-Micro-5-4-GCE Image SLES15-SP4-SAP Image SLES15-SP4-SAP-Azure Image SLES15-SP4-SAP-EC2 Image SLES15-SP4-SAP-GCE Image SLES15-SP4-SAPCAL Image SLES15-SP4-SAPCAL-Azure Image SLES15-SP4-SAPCAL-EC2 Image SLES15-SP4-SAPCAL-GCE Affected
Container suse/sle-micro/base-5.5:2.0.4-5.8.160 Image SLES15-SP5-BYOS-Azure Image SLES15-SP5-BYOS-EC2 Image SLES15-SP5-BYOS-GCE Image SLES15-SP5-CHOST-BYOS-Aliyun Image SLES15-SP5-CHOST-BYOS-Azure Image SLES15-SP5-CHOST-BYOS-EC2 Image SLES15-SP5-CHOST-BYOS-GCE Image SLES15-SP5-CHOST-BYOS-GDC Image SLES15-SP5-CHOST-BYOS-SAP-CCloud Image SLES15-SP5-EC2 Image SLES15-SP5-GCE Image SLES15-SP5-HPC-BYOS-Azure Image SLES15-SP5-HPC-BYOS-EC2 Image SLES15-SP5-HPC-BYOS-GCE Image SLES15-SP5-Hardened-BYOS-Azure Image SLES15-SP5-Hardened-BYOS-EC2 Image SLES15-SP5-Hardened-BYOS-GCE Image SLES15-SP5-Manager-Proxy-5-0-BYOS Image SLES15-SP5-Manager-Proxy-5-0-BYOS-Azure Image SLES15-SP5-Manager-Proxy-5-0-BYOS-EC2 Image SLES15-SP5-Manager-Proxy-5-0-BYOS-GCE Image SLES15-SP5-Manager-Server-5-0 Image SLES15-SP5-Manager-Server-5-0-Azure-llc Image SLES15-SP5-Manager-Server-5-0-Azure-ltd Image SLES15-SP5-Manager-Server-5-0-BYOS Image SLES15-SP5-Manager-Server-5-0-BYOS-Azure Image SLES15-SP5-Manager-Server-5-0-BYOS-EC2 Image SLES15-SP5-Manager-Server-5-0-BYOS-GCE Image SLES15-SP5-Manager-Server-5-0-EC2-llc Image SLES15-SP5-Manager-Server-5-0-EC2-ltd Image SLES15-SP5-Micro-5-5 Image SLES15-SP5-Micro-5-5-Azure Image SLES15-SP5-Micro-5-5-BYOS Image SLES15-SP5-Micro-5-5-BYOS-Azure Image SLES15-SP5-Micro-5-5-BYOS-EC2 Image SLES15-SP5-Micro-5-5-BYOS-GCE Image SLES15-SP5-Micro-5-5-EC2 Image SLES15-SP5-Micro-5-5-GCE Image SLES15-SP5-SAPCAL-Azure Image SLES15-SP5-SAPCAL-EC2 Image SLES15-SP5-SAPCAL-GCE Affected
Container suse/sle-micro/kvm-5.5:2.0.4-3.5.304 Affected
Container suse/sle-micro/rt-5.5:2.0.4-4.5.352 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy