In the Linux kernel, the following vulnerability has been resolved: s390/dasd: Fix potential memleak in dasdeckdinit() dasd_reserve_req
is allocated before dasd_vol_info_req
, and it also needs to be freed before the error returns, just like the other cases in this function.