CVE-2026-45872
scsi: smartpqi: Fix memory leak in pqi_report_phys_luns()
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.
INFO
Published Date :
May 27, 2026, 2:17 p.m.
Last Modified :
June 25, 2026, 9:06 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel.
- Ensure the smartpqi driver is updated.
- Restart relevant services or the system.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-45872.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-45872 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-45872
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-45872 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-45872 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jun. 25, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-401 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.4 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.128 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.75 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.165 Added Reference Type kernel.org: https://git.kernel.org/stable/c/41b37312bd9722af77ec7817ccf22d7a4880c289 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/454570434114e4862767f506a442a0f110b639b2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d52e13122d3771f753dd73ae6512fa01f58015cb Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e5579ebaadc7b699868dad0f591a7bf83cd647e1 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f471ecfec093e39ef8fd08978413793087daa14d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/fdf1188cfa80f88c9f18d58cb33d57ff40e70e26 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '28ca6d876c5a375094847606046e0bf5d044d9b4', 'lessThan': 'f471ecfec093e39ef8fd08978413793087daa14d', 'versionType': 'git'}, {'status': 'affected', 'version': '28ca6d876c5a375094847606046e0bf5d044d9b4', 'lessThan': 'fdf1188cfa80f88c9f18d58cb33d57ff40e70e26', 'versionType': 'git'}, {'status': 'affected', 'version': '28ca6d876c5a375094847606046e0bf5d044d9b4', 'lessThan': 'd52e13122d3771f753dd73ae6512fa01f58015cb', 'versionType': 'git'}, {'status': 'affected', 'version': '28ca6d876c5a375094847606046e0bf5d044d9b4', 'lessThan': 'e5579ebaadc7b699868dad0f591a7bf83cd647e1', 'versionType': 'git'}, {'status': 'affected', 'version': '28ca6d876c5a375094847606046e0bf5d044d9b4', 'lessThan': '454570434114e4862767f506a442a0f110b639b2', 'versionType': 'git'}, {'status': 'affected', 'version': '28ca6d876c5a375094847606046e0bf5d044d9b4', 'lessThan': '41b37312bd9722af77ec7817ccf22d7a4880c289', 'versionType': 'git'}], 'programFiles': ['drivers/scsi/smartpqi/smartpqi_init.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.165', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.128', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.75', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.14', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.4', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/scsi/smartpqi/smartpqi_init.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 27, 2026
Action Type Old Value New Value 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. Added Reference https://git.kernel.org/stable/c/41b37312bd9722af77ec7817ccf22d7a4880c289 Added Reference https://git.kernel.org/stable/c/454570434114e4862767f506a442a0f110b639b2 Added Reference https://git.kernel.org/stable/c/d52e13122d3771f753dd73ae6512fa01f58015cb Added Reference https://git.kernel.org/stable/c/e5579ebaadc7b699868dad0f591a7bf83cd647e1 Added Reference https://git.kernel.org/stable/c/f471ecfec093e39ef8fd08978413793087daa14d Added Reference https://git.kernel.org/stable/c/fdf1188cfa80f88c9f18d58cb33d57ff40e70e26