CVE-2022-50646

Linux Kernel 4.16.0-6.1.2 Memory Leak in hpsa_init_one()

Title source: llm
STIX 2.1

Description

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.

Scores

EPSS 0.0018
EPSS Percentile 8.2%

Details

Status published
Products (24)
linux/Kernel 4.16.0 - 4.19.270linux
linux/Kernel 4.20.0 - 5.4.229linux
linux/Kernel 5.11.0 - 5.15.86linux
linux/Kernel 5.16.0 - 6.0.16linux
linux/Kernel 5.5.0 - 5.10.163linux
linux/Kernel 6.1.0 - 6.1.2linux
Linux/Linux < 4.16
Linux/Linux 1edd825c11f8ed2c409d6fb6b3d90a042cbf738d
Linux/Linux 4.14.63 - 4.15
Linux/Linux 4.16
... and 14 more
Published Dec 09, 2025
Tracked Since Feb 18, 2026