CVE-2026-45872

scsi: smartpqi: Fix memory leak in pqi_report_phys_luns()

published May 27, 2026

CVSS
—
EPSS
0%
Percentile
6.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00171 · 6.1th percentile
Published
2026-05-27T12:15Z
EPSS history
Timeline
  • 27 MAY 12:15Z
    scsi: smartpqi: Fix memory leak in pqi_report_phys_luns()
    cvelistv5