In the Linux kernel, the following vulnerability has been resolved: scsi: hpsa: Fix possible memory leak in hpsainitone() The hpdaallocctlrinfo() allocates h and its field replymap. However, in hpsainitone(), if allocpercpu() failed, the hpsainitone() jumps to clean1 directly, which frees h and leaks the h->replymap. Fix by calling hpdafreectlrinfo() to release h->replaymap and h instead free h directly.