On Tue, 22 Nov 2022 01:57:51 +0000, Yuan Can wrote: > 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. > > > [...] Applied to 6.2/scsi-queue, thanks! [1/1] scsi: hpsa: Fix possible memory leak in hpsa_init_one() https://git.kernel.org/mkp/scsi/c/9c9ff300e0de -- Martin K. Petersen Oracle Linux Engineering