CVE-2022-50646

published 9 Dec 2025 · updated 12 Nov 2026

scsi: hpsa: Fix possible memory leak in hpsa_init_one()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fc998d0a7d65672f0812f11cd0ec4bbe4f8f8507, Kernel 0aa7be66168b1e84b2581ffff3ccb54a6c804a1e, Kernel 9c9ff300e0de07475796495d86f449340d454a0c and 11 more.

In the Linux kernel, the following vulnerability has been resolved: scsi: hpsa: Fix possible memory leak in hpsa_init_one() The hpda_alloc_ctlr_info() allocates h and its field reply_map. However, in hpsa_init_one(), if alloc_percpu() failed, the hpsa_init_one() jumps to clean1 directly, which frees h and leaks the h->reply_map. Fix by calling hpda_free_ctlr_info() to release h->replay_map and h instead free h directly.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=8b834bff1b73dce46f4e9f5e84af6f73fed8b0ef <fc998d0a7d65672f0812f11cd0ec4bbe4f8f8507, >=8b834bff1b73dce46f4e9f5e84af6f73fed8b0ef <0aa7be66168b1e84b2581ffff3ccb54a6c804a1e, >=8b834bff1b73dce46f4e9f5e84af6f73fed8b0ef <9c9ff300e0de07475796495d86f449340d454a0c, >=8b834bff1b73dce46f4e9f5e84af6f73fed8b0ef <bfe10a1d9fbccdf39f8449d62509f070d8aaaac1, >=8b834bff1b73dce46f4e9f5e84af6f73fed8b0ef <c808edbf580bfc454671cbe66e9d7c2e938e7601, >=8b834bff1b73dce46f4e9f5e84af6f73fed8b0ef <f4d1c14e8b404766ff2bb8644bb19443d73965de, >=8b834bff1b73dce46f4e9f5e84af6f73fed8b0ef <f8fc2f18652917cdcc89cb23f3a1b7cb6e119c5e, =1edd825c11f8ed2c409d6fb6b3d90a042cbf738d, =4.16, >=4.14.63 <4.15fc998d0a7d65672f0812f11cd0ec4bbe4f8f8507, 0aa7be66168b1e84b2581ffff3ccb54a6c804a1e, 9c9ff300e0de07475796495d86f449340d454a0c, bfe10a1d9fbccdf39f8449d62509f070d8aaaac1, c808edbf580bfc454671cbe66e9d7c2e938e7601, f4d1c14e8b404766ff2bb8644bb19443d73965de, f8fc2f18652917cdcc89cb23f3a1b7cb6e119c5e, 4.15
linux-kernel: Kernel>=4.20.0 <5.4.229, >=5.11.0 <5.15.86, >=5.16.0 <6.0.16, >=5.5.0 <5.10.163, >=6.1.0 <6.1.2, >=4.16.0 <4.19.2705.4.229, 5.15.86, 6.0.16, 5.10.163, 6.1.2, 4.19.270

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50646 severity on Zeptric[![CVE-2022-50646](https://zeptric.io/badge/cve/CVE-2022-50646.svg)](https://zeptric.io/cve/CVE-2022-50646)