CVE-2026-45872

scsi: smartpqi: Fix memory leak in pqi_report_phys_luns()

MEDIUM
5.5
CVSS Score
Published: May 27, 2026 at 12:15 PM UTC
Updated: June 27, 2026 at 11:41 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.16 ≤ v < 6.1.1655.16 ≤ v < 6.12.755.16 ≤ v < 6.18.145.16 ≤ v < 6.19.45.16 ≤ v < 6.6.1285.16 ≤ v < 7.06.13 ≤ v < 6.18.146.19 ≤ v < 6.19.46.2 ≤ v < 6.6.1286.7 ≤ v < 6.12.7528ca6d876c5a375094847606046e0bf5d044d9b45.16
Vendor states this is fixed in 41b37312bd9722af77ec7817ccf22d7a4880c289 (fixed)
Vendor states this is fixed in 454570434114e4862767f506a442a0f110b639b2 (fixed)
Vendor states this is fixed in d52e13122d3771f753dd73ae6512fa01f58015cb (fixed)
Vendor states this is fixed in e5579ebaadc7b699868dad0f591a7bf83cd647e1 (fixed)
Vendor states this is fixed in f471ecfec093e39ef8fd08978413793087daa14d (fixed)
Vendor states this is fixed in fdf1188cfa80f88c9f18d58cb33d57ff40e70e26 (fixed)
Vendor states this is fixed in 5.16 (unaffected)
Vendor states this is fixed in 6.1.165 (unaffected)
Vendor states this is fixed in 6.12.75 (unaffected)
Vendor states this is fixed in 6.18.14 (unaffected)
Vendor states this is fixed in 6.19.4 (unaffected)
Vendor states this is fixed in 6.6.128 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card