mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Merge tag 'LA.UM.9.14.r1-24900-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/kernel/msm-5.4 into android13-5.4-lahaina
"LA.UM.9.14.r1-24900-LAHAINA.QSSI14.0" * tag 'LA.UM.9.14.r1-24900-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/kernel/msm-5.4: qcedev: fix UAF in qcedev_smmu msm: cvp: OOB write fix due to integer underflow msm: eva: Adding kref count for cvp_get_inst_from_id msm: kgsl: Fix error handling during drawctxt switch msm_ipa: EoGRE Multi tunnel support usb: dwc3: Fix dwc3 version and revisions in remote wakeup path usb: gadget: f_cdev: Add remote wakeup capability from notify_serial_state power: reset: qcom-dload-mode: nodump mode error handling firmware: qcom_scm: Add a call for getting dload mode msm: kgsl: Fix error handling during drawctxt switch power: reset: qcom-dload-mode: support for nodump mode defconfig: sdxlemur: Enable nodump support for sdxlemur PCI: Disable L0s support for SDX65 with QPS615 on CPE platform msm: adsprpc: use-after-free (UAF) in global maps UPSTREAM: xhci: prepare for operation without shared HCD rpmsg: glink: Get reference of channel objects in rx path msm_ipa: Tunnel Config structure changes soc: qcom: mdt_loader: add bound checks for headers BACKPORT: media: venus: hfi: add checks in capabilities from firmware Change-Id: Idae516c9223cb306b362ad22f031735cd856d59f
This commit is contained in:
commit
ea1c711e8f
21 changed files with 387 additions and 220 deletions
|
|
@ -350,8 +350,12 @@ int qcedev_check_and_map_buffer(void *handle,
|
|||
return 0;
|
||||
|
||||
unmap:
|
||||
if (!found)
|
||||
if (!found) {
|
||||
qcedev_unmap_buffer(handle, mem_client, binfo);
|
||||
mutex_lock(&qce_hndl->registeredbufs.lock);
|
||||
list_del(&binfo->list);
|
||||
mutex_unlock(&qce_hndl->registeredbufs.lock);
|
||||
}
|
||||
|
||||
error:
|
||||
kfree(binfo);
|
||||
|
|
|
|||
Loading…
Reference in a new issue