KEMBAR78
msm: eva: Copy back the validated size to avoid security issue (51e150e1) · Commits · CodeLinaro / la / kernel / msm-5.4 · GitLab
Skip to content
Commit 51e150e1 authored by Madhu Ananthula's avatar Madhu Ananthula Committed by Guang Yang
Browse files

msm: eva: Copy back the validated size to avoid security issue



As we are reading the packet from a shared queue, there is a
possibility to currupt the packet->size data of shared queue by
mallicious FW after validating it in the kernel driver.

Change-Id: I9bff8f2daa64054eada37de54fe3fa837d57b22a
Signed-off-by: default avatarAniruddh Sharma <quic_anirshar@quicinc.com>
Signed-off-by: default avatarMadhu Ananthula <quic_mananthu@quicinc.com>
parent 5340413e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment