diff options
author | Rivaldo Hong <rivaldo.hong@arm.com> | 2023-02-08 14:50:06 +0900 |
---|---|---|
committer | Guus Sliepen <gsliepen@google.com> | 2023-03-07 23:11:56 +0000 |
commit | 1fd929204d47d8509f61db9a19cc1063b0812768 (patch) | |
tree | 0b12ab0e94b53f21563f2789072622d6ed4138c1 /mali_kbase/mali_kbase.h | |
parent | 3698713c5d71c740e0b740729ea135c040441f24 (diff) | |
download | gpu-1fd929204d47d8509f61db9a19cc1063b0812768.tar.gz |
GPUSWERRATA-1564 and GPUSWERRATA-1527android-13.0.0_r0.77android-13.0.0_r0.75android-13.0.0_r0.74android-13.0.0_r0.73android-gs-raviole-5.10-android13-qpr2android-gs-pantah-5.10-android13-qpr2android-gs-lynx-5.10-android13-qpr2-bandroid-gs-bluejay-5.10-android13-qpr2
GPUSWERRATA-1564: Freed imported user memory can be accessed via vmap
GPUSWERRATA-1527: Userspace can trigger a data abort by using protected memory for kmap/kbase_vmap(), which can lead to DoS
Change-Id: I326d1a25cbbfb2574c48a6328ba5b0549bc14100
Provenance: https://code.ipdelivery.arm.com/c/GPU/mali-ddk/+/4939
Bug: 270579983
Signed-off-by: Guus Sliepen <gsliepen@google.com>
Diffstat (limited to 'mali_kbase/mali_kbase.h')
-rw-r--r-- | mali_kbase/mali_kbase.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/mali_kbase/mali_kbase.h b/mali_kbase/mali_kbase.h index b04cf94..0a8267b 100644 --- a/mali_kbase/mali_kbase.h +++ b/mali_kbase/mali_kbase.h @@ -447,19 +447,6 @@ static inline void kbase_free_user_buffer( } } -/** - * kbase_mem_copy_from_extres() - Copy from external resources. - * - * @kctx: kbase context within which the copying is to take place. - * @buf_data: Pointer to the information about external resources: - * pages pertaining to the external resource, number of - * pages to copy. - * - * Return: 0 on success, error code otherwise. - */ -int kbase_mem_copy_from_extres(struct kbase_context *kctx, - struct kbase_debug_copy_buffer *buf_data); - #if !MALI_USE_CSF int kbase_process_soft_job(struct kbase_jd_atom *katom); int kbase_prepare_soft_job(struct kbase_jd_atom *katom); |