summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-11-18 17:37:21 +0000
committerMark Brown <broonie@kernel.org>2026-11-18 17:37:21 +0000
commitc07bf60ce5878dc3602d5271785589a7e5e1d1fa (patch)
treeb6d53cc72b404d011f62a6d082a5a3d5b1ab7ed2 /tools/perf/scripts/python
parent34430741db6b166f5bce6363c93ca6825758db63 (diff)
parent4c15e549b7ad03183d10826da91e9ddc207a02cd (diff)
ASoC: qcom: qdsp6: bound the compress ring by the DMA buffer
Julius Bairaktaris <julius@bairaktaris.de> says: q6apm-dai and q6asm-dai allocate a fixed 8 MiB DMA buffer when a compress stream opens and take the ring geometry from SNDRV_COMPRESS_SET_PARAMS without comparing it to that buffer. Their copy callbacks place each write() at the stream position modulo the ring size, so a user who can open the compress node and asks for a larger ring makes write() copy data of their choice past the buffer. Each patch rejects such a ring in set_params. I used Claude (Anthropic) to help write these patches. Link: https://patch.msgid.link/20261111080624.244291-1-julius@bairaktaris.de
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions