diff options
| author | Soumya Managoli <quic_c_smanag@quicinc.com> | 2023-05-16 15:38:11 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2023-06-06 23:05:30 -0700 |
| commit | dcbd3bb3fe42809cd5ee45a551fbb934e17bedfd (patch) | |
| tree | 052b042c5b7fbc004e3f2f4cecad49827da6ada0 /kernel_headers.py | |
| parent | 67cbee5bbfcf5fafd18a1a0a64ea40ca1a1b12be (diff) | |
ASoC: msm-pcm-q6-v2: Add dsp buf check
Current logic copies user buf size of data
from the avail dsp buf at a given offset.
If this offset returned from DSP in READ_DONE event
goes out of bounds or is corrupted, then it can lead to
out of bounds DSP buffer access, resulting in memory fault.
Fix is to add check for this buf offset, if it is within
the buf size range.
Change-Id: Ia81bf25a5a32a69c39dce7589c96bff99b9452f0
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
Diffstat (limited to 'kernel_headers.py')
0 files changed, 0 insertions, 0 deletions
