CVE-2026-45872

Source
https://cve.org/CVERecord?id=CVE-2026-45872
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45872.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-45872
Downstream
Published
2026-05-27T12:15:52.133Z
Modified
2026-06-27T11:54:54.134527845Z
Summary
scsi: smartpqi: Fix memory leak in pqi_report_phys_luns()
Details

In the Linux kernel, the following vulnerability has been resolved:

scsi: smartpqi: Fix memory leak in pqireportphys_luns()

pqireportphysluns() fails to release the rpllist buffer when encountering an unsupported data format or when the allocation for rpl16bytewwid_list fails. These early returns bypass the cleanup logic, leading to memory leaks.

Consolidate the error handling by adding an outfreerpllist label and use goto statements to ensure rpllist is consistently freed on failure.

Compile tested only. Issue found using a prototype static analysis tool and code review.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45872.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
28ca6d876c5a375094847606046e0bf5d044d9b4
Fixed
f471ecfec093e39ef8fd08978413793087daa14d
Fixed
fdf1188cfa80f88c9f18d58cb33d57ff40e70e26
Fixed
d52e13122d3771f753dd73ae6512fa01f58015cb
Fixed
e5579ebaadc7b699868dad0f591a7bf83cd647e1
Fixed
454570434114e4862767f506a442a0f110b639b2
Fixed
41b37312bd9722af77ec7817ccf22d7a4880c289

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45872.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.165
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.128
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.75
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.14
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45872.json"