CVE-2026-45872
scsi: smartpqi: Fix memory leak in pqi_report_phys_luns()
MEDIUM 5.5
At a glance
- Source
- NVD
- EPSS
- EPSS 0.17 % · percentile 6 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-401 — Missing Release of Memory after Effective Lifetime
References
- https://git.kernel.org/stable/c/f471ecfec093e39ef8fd08978413793087daa14d
- https://git.kernel.org/stable/c/fdf1188cfa80f88c9f18d58cb33d57ff40e70e26
- https://git.kernel.org/stable/c/d52e13122d3771f753dd73ae6512fa01f58015cb
- https://git.kernel.org/stable/c/e5579ebaadc7b699868dad0f591a7bf83cd647e1
- https://git.kernel.org/stable/c/454570434114e4862767f506a442a0f110b639b2
- https://git.kernel.org/stable/c/41b37312bd9722af77ec7817ccf22d7a4880c289
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2026-32338
- GCVE · GCVE-0-2026-45872
CERT-FR advisories
- CERTFR-2026-AVI-1372 — Multiples vulnérabilités dans les produits SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1335 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1064 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0954 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0861 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0831 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.165cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.6.128cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.7 < 6.12.75cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.13 < 6.18.14cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.19 < 6.19.4
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 28ca6d876c5a375094847606046e0bf5d044d9b4 < f471ecfec093e39ef8fd08978413793087daa14d ; affected 28ca6d876c5a375094847606046e0bf5d044d9b4 < fdf1188cfa80f88c9f18d58cb33d57ff40e70e26 ; affected 28ca6d876c5a375094847606046e0bf5d044d9b4 < d52e13122d3771f753dd73ae6512fa01f58015cb ; affected 28ca6d876c5a375094847606046e0bf5d044d9b4 < e5579ebaadc7b699868dad0f591a7bf83cd647e1 ; affected 28ca6d876c5a375094847606046e0bf5d044d9b4 < 454570434114e4862767f506a442a0f110b639b2 ; affected 28ca6d876c5a375094847606046e0bf5d044d9b4 < 41b37312bd9722af77ec7817ccf22d7a4880c289 |
| Linux · Linux | affected 5.16 ; unaffected 0 < 5.16 ; unaffected 6.1.165 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.* ; unaffected 6.12.75 ≤ 6.12.* ; unaffected 6.18.14 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |