Vulnerability in Linux

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() 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.

Published · last modified .

EPSS exploit prediction

EPSS 0.002, 12.6th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 1edd825c11f8ed2c409d6fb6b3d90a042cbf738d, 4.16, 6.2

References