A memory leak vulnerability exists in the Linux kernel's smartpqi SCSI driver due to improper cleanup in the pqi_report_phys_luns() function. (CVE-2026-45872)
A memory leak vulnerability exists in the Linux kernel's smartpqi SCSI driver due to improper cleanup in the pqi_report_phys_luns() function. The function fails to free allocated memory when encountering unsupported data formats or allocation failures, leading to resource leaks. This issue was identified through static analysis and code review and has been fixed by consolidating error handling to ensure consistent memory release.
AI Analysis
Technical Summary
The Linux kernel smartpqi driver contained a memory leak in the pqi_report_phys_luns() function. Specifically, when the function encounters an unsupported data format or fails to allocate memory for rpl_16byte_wwid_list, it returns early without freeing the rpl_list buffer. This bypass of cleanup logic causes memory leaks. The fix involved adding a unified error handling label and using goto statements to guarantee that rpl_list is freed on all failure paths. The vulnerability is classified under CWE-401 (Improper Release of Memory).
Potential Impact
The vulnerability results in a memory leak within the kernel driver, which can degrade system stability or availability over time due to resource exhaustion. There is no impact on confidentiality or integrity. The CVSS vector indicates local attack vector with low complexity and low privileges required, no user interaction, and an impact limited to availability.
Mitigation Recommendations
A fix is available as the vulnerability has been resolved in the Linux kernel source code by consolidating error handling to ensure proper memory release. Users should update to the fixed kernel version once released. Patch status is not explicitly confirmed in the provided data; therefore, check the official Linux kernel advisories or vendor updates for the exact patched versions and apply updates accordingly.
A memory leak vulnerability exists in the Linux kernel's smartpqi SCSI driver due to improper cleanup in the pqi_report_phys_luns() function. (CVE-2026-45872)
Description
A memory leak vulnerability exists in the Linux kernel's smartpqi SCSI driver due to improper cleanup in the pqi_report_phys_luns() function. The function fails to free allocated memory when encountering unsupported data formats or allocation failures, leading to resource leaks. This issue was identified through static analysis and code review and has been fixed by consolidating error handling to ensure consistent memory release.
CVSS v3.1
Score 5.5medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel smartpqi driver contained a memory leak in the pqi_report_phys_luns() function. Specifically, when the function encounters an unsupported data format or fails to allocate memory for rpl_16byte_wwid_list, it returns early without freeing the rpl_list buffer. This bypass of cleanup logic causes memory leaks. The fix involved adding a unified error handling label and using goto statements to guarantee that rpl_list is freed on all failure paths. The vulnerability is classified under CWE-401 (Improper Release of Memory).
Potential Impact
The vulnerability results in a memory leak within the kernel driver, which can degrade system stability or availability over time due to resource exhaustion. There is no impact on confidentiality or integrity. The CVSS vector indicates local attack vector with low complexity and low privileges required, no user interaction, and an impact limited to availability.
Mitigation Recommendations
A fix is available as the vulnerability has been resolved in the Linux kernel source code by consolidating error handling to ensure proper memory release. Users should update to the fixed kernel version once released. Patch status is not explicitly confirmed in the provided data; therefore, check the official Linux kernel advisories or vendor updates for the exact patched versions and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8frc-mrh9-rmfg
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-45872"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a3ef7f027e9c79719035c52
Added to database: 06/26/2026, 22:06:40 UTC
Last enriched: 06/26/2026, 22:50:40 UTC
Last updated: 07/31/2026, 19:24:49 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.