Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-45872

scsi: smartpqi: Fix memory leak in pqi_report_phys_luns()

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 28ca6d876c5a375094847606046e0bf5d044d9b4 to < f471ecfec093e39ef8fd08978413793087daa14daffected
  • 28ca6d876c5a375094847606046e0bf5d044d9b4 to < fdf1188cfa80f88c9f18d58cb33d57ff40e70e26affected
  • 28ca6d876c5a375094847606046e0bf5d044d9b4 to < d52e13122d3771f753dd73ae6512fa01f58015cbaffected
  • 28ca6d876c5a375094847606046e0bf5d044d9b4 to < e5579ebaadc7b699868dad0f591a7bf83cd647e1affected
  • 28ca6d876c5a375094847606046e0bf5d044d9b4 to < 454570434114e4862767f506a442a0f110b639b2affected
  • 28ca6d876c5a375094847606046e0bf5d044d9b4 to < 41b37312bd9722af77ec7817ccf22d7a4880c289affected

Linux Linux

Default version status: affected

  • 5.16affected
  • 0 to < 5.16unaffected
  • 6.1.165 to ≤ 6.1.*unaffected
  • 6.6.128 to ≤ 6.6.*unaffected
  • 6.12.75 to ≤ 6.12.*unaffected
  • 6.18.14 to ≤ 6.18.*unaffected
  • 6.19.4 to ≤ 6.19.*unaffected
  • 7.0 to ≤ *unaffected

References