summaryrefslogtreecommitdiff
path: root/kernel/time/timer.c
diff options
context:
space:
mode:
authorSoumya Managoli <quic_c_smanag@quicinc.com>2023-01-06 14:37:20 +0530
committerMichael Bestas <mkbestas@lineageos.org>2023-06-09 14:04:15 +0200
commitd6038d6da57f766f4c9bb946a107e48617b414ff (patch)
tree1ec296c923ee40f95fbe0bf1151755fe3df8fb71 /kernel/time/timer.c
parent0d7a6c301af8851542a9ec66a7dab571a979c057 (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: I7753cc6db394704dbb959477150141d42b836bef Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
Diffstat (limited to 'kernel/time/timer.c')
0 files changed, 0 insertions, 0 deletions