CVE-2022-50646
published 2025-12-09CVE-2022-50646: 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()…
PriorityP419low5.5
EPSS
0.20%
10.4th percentile
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
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.4-1 (bookworm) | linux 6.1.4-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | — | — |
| linux | linux | >= 4.14.63 < 4.15 | 4.15 |
| linux | linux | >= 8b834bff1b73dce46f4e9f5e84af6f73fed8b0ef < f4d1c14e8b404766ff2bb8644bb19443d73965de | f4d1c14e8b404766ff2bb8644bb19443d73965de |
| linux | linux | >= 8b834bff1b73dce46f4e9f5e84af6f73fed8b0ef < f8fc2f18652917cdcc89cb23f3a1b7cb6e119c5e | f8fc2f18652917cdcc89cb23f3a1b7cb6e119c5e |
| linux | linux | >= 8b834bff1b73dce46f4e9f5e84af6f73fed8b0ef < c808edbf580bfc454671cbe66e9d7c2e938e7601 | c808edbf580bfc454671cbe66e9d7c2e938e7601 |
| linux | linux | >= 8b834bff1b73dce46f4e9f5e84af6f73fed8b0ef < bfe10a1d9fbccdf39f8449d62509f070d8aaaac1 | bfe10a1d9fbccdf39f8449d62509f070d8aaaac1 |
| linux | linux | >= 8b834bff1b73dce46f4e9f5e84af6f73fed8b0ef < fc998d0a7d65672f0812f11cd0ec4bbe4f8f8507 | fc998d0a7d65672f0812f11cd0ec4bbe4f8f8507 |
| linux | linux | >= 8b834bff1b73dce46f4e9f5e84af6f73fed8b0ef < 0aa7be66168b1e84b2581ffff3ccb54a6c804a1e | 0aa7be66168b1e84b2581ffff3ccb54a6c804a1e |
| linux | linux | >= 8b834bff1b73dce46f4e9f5e84af6f73fed8b0ef < 9c9ff300e0de07475796495d86f449340d454a0c | 9c9ff300e0de07475796495d86f449340d454a0c |
| linux | linux_kernel | >= 0 < 5.10.178-1 | 5.10.178-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 4.16.0 < 4.19.270 | 4.19.270 |
| linux | linux_kernel | >= 4.20.0 < 5.4.229 | 5.4.229 |
| linux | linux_kernel | >= 5.11.0 < 5.15.86 | 5.15.86 |
| linux | linux_kernel | >= 5.16.0 < 6.0.16 | 6.0.16 |
| linux | linux_kernel | >= 5.5.0 < 5.10.163 | 5.10.163 |
| linux | linux_kernel | >= 6.1.0 < 6.1.2 | 6.1.2 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: scsi: hpsa: Fix possible memory leak in hpsa_init_one()
vendor_redhat·2025-12-09·CVSS 5.5
CVE-2022-50646 [LOW] CWE-772 kernel: scsi: hpsa: Fix possible memory leak in hpsa_init_one()
kernel: scsi: hpsa: Fix possible memory leak in hpsa_init_one()
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Fix deferred
Package: kernel-rt (Red Hat Enterprise Linux 7) - Fix deferred
Package: kernel (Red Hat Enterprise Linux 8) - Fix def
Debian
CVE-2022-50646: linux - In the Linux kernel, the following vulnerability has been resolved: scsi: hpsa:...
vendor_debian·2022
CVE-2022-50646 CVE-2022-50646: linux - In the Linux kernel, the following vulnerability has been resolved: scsi: hpsa:...
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.
Scope: local
bookworm: resolved (fixed in 6.1.4-1)
bullseye: resolved (fixed in 5.10.178-1)
forky: resolved (fixed in 6.1.4-1)
sid: resolved (fixed in 6.1.4-1)
trixie: resolved (fixed in 6.1.4-1)
OSV
scsi: hpsa: Fix possible memory leak in hpsa_init_one()
osv·2025-12-09
CVE-2022-50646 scsi: hpsa: Fix possible memory leak in hpsa_init_one()
scsi: hpsa: Fix possible memory leak in hpsa_init_one()
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.
OSV
CVE-2022-50646: 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()
osv·2025-12-09
CVE-2022-50646 CVE-2022-50646: 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()
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.
GHSA
GHSA-23j2-8hh8-295f: 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
ghsa_unreviewed·2025-12-09
CVE-2022-50646 GHSA-23j2-8hh8-295f: 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
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.
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/0aa7be66168b1e84b2581ffff3ccb54a6c804a1ehttps://git.kernel.org/stable/c/9c9ff300e0de07475796495d86f449340d454a0chttps://git.kernel.org/stable/c/bfe10a1d9fbccdf39f8449d62509f070d8aaaac1https://git.kernel.org/stable/c/c808edbf580bfc454671cbe66e9d7c2e938e7601https://git.kernel.org/stable/c/f4d1c14e8b404766ff2bb8644bb19443d73965dehttps://git.kernel.org/stable/c/f8fc2f18652917cdcc89cb23f3a1b7cb6e119c5ehttps://git.kernel.org/stable/c/fc998d0a7d65672f0812f11cd0ec4bbe4f8f8507
2025-12-09
Published