{"id":"CVE-2026-45872","summary":"scsi: smartpqi: Fix memory leak in pqi_report_phys_luns()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: smartpqi: Fix memory leak in pqi_report_phys_luns()\n\npqi_report_phys_luns() fails to release the rpl_list buffer when\nencountering an unsupported data format or when the allocation for\nrpl_16byte_wwid_list fails. These early returns bypass the cleanup logic,\nleading to memory leaks.\n\nConsolidate the error handling by adding an out_free_rpl_list label and use\ngoto statements to ensure rpl_list is consistently freed on failure.\n\nCompile tested only. Issue found using a prototype static analysis tool and\ncode review.","modified":"2026-06-27T11:54:54.134527845Z","published":"2026-05-27T12:15:52.133Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45872.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/41b37312bd9722af77ec7817ccf22d7a4880c289"},{"type":"WEB","url":"https://git.kernel.org/stable/c/454570434114e4862767f506a442a0f110b639b2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d52e13122d3771f753dd73ae6512fa01f58015cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e5579ebaadc7b699868dad0f591a7bf83cd647e1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f471ecfec093e39ef8fd08978413793087daa14d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fdf1188cfa80f88c9f18d58cb33d57ff40e70e26"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45872.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45872"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.7.5"}