In the Linux kernel, the following vulnerability has been resolved:
remoteproc: qcom: Fix leak when custom dump_segments addition fails
Free allocated minidump_region name in qcom_add_minidump_segments() when failing before adding the region to dump_segments. Otherwise, the name is not tracked and is never freed by qcom_minidump_cleanup().
Return error when adding to dump_segments fails.