android_kernel_xiaomi_sm8350/drivers/bus/mhi
Krishna chaitanya chundru 6df00291cb bus: mhi: Fix potential out-of-bound access
In mhi_sat_isvalid_header function if the length is less than
the size of header then there can be out-of-bound access.

So fix the len check in the function.

Change-Id: I80f1556557b1bf2f30c07f6377bd6e3db48712b3
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
(cherry picked from commit d7601393dc)
2024-03-11 03:17:56 -07:00
..
controllers mhi: cntrl: Update device MMIO region length for MHI core 2020-08-04 17:30:14 -07:00
core bus: mhi: misc: Add check for dev_rp if it is iommu range or not 2023-08-09 20:06:22 -07:00
devices bus: mhi: Fix potential out-of-bound access 2024-03-11 03:17:56 -07:00
Makefile