Description
In the Linux kernel, the following vulnerability has been resolved:

scsi: smartpqi: Fix memory leak in pqi_report_phys_luns()

pqi_report_phys_luns() fails to release the rpl_list buffer when
encountering an unsupported data format or when the allocation for
rpl_16byte_wwid_list fails. These early returns bypass the cleanup logic,
leading to memory leaks.

Consolidate the error handling by adding an out_free_rpl_list label and use
goto statements to ensure rpl_list is consistently freed on failure.

Compile tested only. Issue found using a prototype static analysis tool and
code review.
Published: 2026-05-27
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises in the smartpqi driver for SCSI devices in the Linux kernel. A failure to release the rpl_list buffer during the pqi_report_phys_luns() routine, when encountering unsupported data formats or when allocation for rpl_16byte_wwid_list fails, leads to a memory leak. The lack of cleanup on early return paths means allocated memory is not reclaimed until deallocation or a system reboot, potentially exhausting kernel memory over time and degrading system stability.

Affected Systems

Linux kernel implementations that include the smartpqi SCSI driver, such as the generic Linux distributions using the upstream kernel.

Risk and Exploitability

The failure is triggered by SCSI operations that invoke the problematic routine and does not provide remote code execution or privilege escalation. It can only be exploited locally by an attacker with the ability to repeatedly call the routine to accumulate memory pressure, thereby compromising system availability. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Given the lack of a CVSS score, the risk is considered moderate for availability in environments with long‑running SCSI workloads.

Generated by OpenCVE AI on May 27, 2026 at 17:44 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that introduces out_free_rpl_list and ensures rpl_list is freed on failures as referenced in the commit logs.
  • Reboot the system to load the patched kernel.
  • Monitor kernel memory usage patterns for SCSI operations and verify the absence of repeated allocation failures.

Generated by OpenCVE AI on May 27, 2026 at 17:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 27 May 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: scsi: smartpqi: Fix memory leak in pqi_report_phys_luns() pqi_report_phys_luns() fails to release the rpl_list buffer when encountering an unsupported data format or when the allocation for rpl_16byte_wwid_list fails. These early returns bypass the cleanup logic, leading to memory leaks. Consolidate the error handling by adding an out_free_rpl_list label and use goto statements to ensure rpl_list is consistently freed on failure. Compile tested only. Issue found using a prototype static analysis tool and code review.
Title scsi: smartpqi: Fix memory leak in pqi_report_phys_luns()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-27T12:15:52.133Z

Reserved: 2026-05-13T15:03:33.081Z

Link: CVE-2026-45872

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-27T14:17:00.670

Modified: 2026-05-27T14:48:31.480

Link: CVE-2026-45872

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-27T17:45:33Z

Weaknesses