In the Linux kernel, the following vulnerability has been resolved:
scsi: pm8001: Fix memory leak in pm8001chipfwflashupdate_req()
In pm8001chipfwflashupdatebuild(), if pm8001chipfwflashupdatebuild() fails, the struct fwcontrolex allocated must be freed.