CVE-2022-50827
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50827 is a memory leak vulnerability in the Linux kernel's SCSI lpfc driver, specifically within the lpfc_create_port() function. The flaw was introduced by commit 5e633302ace1 ("scsi: lpfc: vmid: Add support for VMID in mailbox command"), which added VMID resource allocations after scsi_host_alloc() but failed to call scsi_host_put() on the error path, resulting in a memory leak. The vulnerability affects Linux kernel versions from 5.14 onward, with fixes backported to stable releases 5.15.76, 6.0.6, and 6.1. It was published on December 30, 2025, and carries an EPSS score of 0.000170, indicating very low exploitation probability (Feedly, EUVD). No CVSS score has been assigned.

Technical details

The root cause is a missing resource cleanup on the error path in lpfc_create_port() (CWE-401: Missing Release of Memory after Effective Lifetime). When VMID resource allocations fail, the code branches to the out label, which returns NULL without calling scsi_host_put() to release the previously allocated SCSI host structure. The fix introduces a new out_free_vmid label to properly unwind VMID resources before falling through to out_put_shost, which exclusively handles the scsi_host_put() call — restoring the pre-VMID error-handling behavior. This is a local, kernel-level issue triggered only under specific allocation failure conditions (Feedly, EUVD).

Impact

The vulnerability results in a kernel memory leak when VMID resource allocation fails during port creation in the lpfc (Emulex LightPulse Fibre Channel) driver. Over time, repeated triggering of this code path could exhaust kernel memory, potentially degrading system stability or availability. There is no direct impact on confidentiality or integrity, and the vulnerability does not enable privilege escalation or remote code execution (Feedly).

Mitigation and workarounds

Apply the upstream kernel patches that introduce the out_free_vmid label fix. The fix has been backported to the following stable kernel versions: 5.15.76, 6.0.6, and 6.1 (mainline). Users running affected kernels (5.14 and later, prior to the fix commits) should update to a patched release. SUSE has also issued a security advisory (SUSE-2026-0350-1) addressing this and related kernel issues (Feedly, Linux Security).

Community reactions

Coverage of CVE-2022-50827 has been limited to routine vulnerability tracking by security aggregators such as VulDB, Vulners, and Tenable (Nessus plugin 281467), as well as a CISA weekly vulnerability summary for the week of December 29, 2025. No notable researcher commentary or significant community discussion has been identified (Feedly).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management