Bug 2482157 (CVE-2026-45872) - CVE-2026-45872 kernel: scsi: smartpqi: Fix memory leak in pqi_report_phys_luns()
Summary: CVE-2026-45872 kernel: scsi: smartpqi: Fix memory leak in pqi_report_phys_luns()
Keywords:
Status: NEW
Alias: CVE-2026-45872
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-27 15:14 UTC by OSIDB Bzimport
Modified: 2026-05-28 03:43 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-27 15:14:01 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.