android_kernel_samsung_sm86.../drivers
Yash Upadhyay d6d05fba0b msm: camera: cdm: Prevention from OOB on virtual cdm write
Adds proper sanity on virtual cdm right operation to avoid
OOB register space access. After getting the mapped buffers
through cam_mem_get_cpu_buf() in kernel, userspace is still
able to access those buffers. So, the validation of offsets
and sizes does not have any advantage if userspace can alter
those parameters after we have validated them. That's why we
copied the information in kernel before we validate that.

CRs-Fixed: 3778045
Change-Id: I3b53549419b40a92333263e29d93220577d691e9
Signed-off-by: Yash Upadhyay <quic_yupadhya@quicinc.com>
2024-04-19 09:17:36 +05:30
..
cam_cdm msm: camera: cdm: Prevention from OOB on virtual cdm write 2024-04-19 09:17:36 +05:30
cam_core msm: camera: isp: Handle Error Injection Framework HW-done data 2024-02-14 19:29:46 +05:30
cam_cpas msm: camera: cpas: Update QOS value for volcano camera 2024-03-07 16:44:08 +05:30
cam_cre msm: camera: cre: Fix null pointer dereference in CRE driver 2024-01-24 06:05:13 -08:00
cam_cust msm: camera: common: Added missing NULL Checks 2023-10-14 17:54:09 +05:30
cam_fd Merge "msm: camera: isp: validation of cmd_buf support" into camera-kernel.lnx.7.0 2023-10-09 21:59:54 -07:00
cam_icp msm: camera: icp: Avoid resource leak during comp bind failure 2024-03-11 17:38:41 +05:30
cam_isp msm: camera: tfe: Skip overwrite bw limiter for TFE WMs 2024-04-05 10:07:59 +05:30
cam_jpeg msm: camera: jpeg: Use spin lock irqsave to avoid preemption 2024-02-01 21:58:42 -08:00
cam_lrme Merge "msm: camera: isp: validation of cmd_buf support" into camera-kernel.lnx.7.0 2023-10-09 21:59:54 -07:00
cam_ope msm: camera: common: Fix possible OOB reads and writes operation 2023-10-06 15:26:34 +05:30
cam_presil msm: camera: isp: Send ife process frame event for presil 2022-07-15 16:36:12 -07:00
cam_req_mgr msm: camera: memmgr: Add refcount to track umd in use buffers 2024-04-06 16:44:21 +08:00
cam_sensor_module Merge "msm: camera: csiphy: Expand CSIPHY Onthego support" into camera-kernel.lnx.7.0 2024-04-01 01:58:29 -07:00
cam_smmu msm: camera: smmu: Early PF detection 2023-05-20 10:06:15 -07:00
cam_sync msm: camera: sync: Prevent double lock/unlock on fence object 2024-03-11 21:47:16 -07:00
cam_utils Merge "msm: camera: common: Increase num usecase variable" into camera-kernel.lnx.7.0 2024-02-25 22:47:38 -08:00
camera_main.c msm: camera: common: changes to handle err in bazel build 2023-08-03 16:50:00 -07:00
camera_main.h Catch up diff 2022-11-16 14:14:20 -08:00