CVE-2026-45872
MEDIUMscsi: smartpqi: Fix memory leak in pqi_report_phys_luns()
Title source: cnaDescription
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.
References (6)
Core 6
Core References
Scores
CVSS v3
5.5
EPSS
0.0017
EPSS Percentile
6.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-401
Status
published
Products (20)
linux/Kernel
5.16.0 - 6.1.165linux
linux/Kernel
6.13.0 - 6.18.14linux
linux/Kernel
6.19.0 - 6.19.4linux
linux/Kernel
6.2.0 - 6.6.128linux
linux/Kernel
6.7.0 - 6.12.75linux
Linux/Linux
< 5.16
Linux/Linux
28ca6d876c5a375094847606046e0bf5d044d9b4 - 41b37312bd9722af77ec7817ccf22d7a4880c289
Linux/Linux
28ca6d876c5a375094847606046e0bf5d044d9b4 - 454570434114e4862767f506a442a0f110b639b2
Linux/Linux
28ca6d876c5a375094847606046e0bf5d044d9b4 - d52e13122d3771f753dd73ae6512fa01f58015cb
Linux/Linux
28ca6d876c5a375094847606046e0bf5d044d9b4 - e5579ebaadc7b699868dad0f591a7bf83cd647e1
... and 10 more
Published
May 27, 2026
Tracked Since
May 27, 2026