summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2021-10-25 13:45:31 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-12 15:02:56 +0100
commit7b0e356189327287d0eb98ec081bd6dd97068cd3 (patch)
tree69c97022718838720b0ccb376c2c295432c36f41 /tools/perf/scripts/python/stackcollapse.py
parent278484ae93297b1bb1ce755f9d3b6d95a48c7d47 (diff)
comedi: vmk80xx: fix bulk-buffer overflow
commit 78cdfd62bd54af615fba9e3ca1ba35de39d3871d upstream. The driver is using endpoint-sized buffers but must not assume that the tx and rx buffers are of equal size or a malicious device could overflow the slab-allocated receive buffer when doing bulk transfers. Fixes: 985cafccbf9b ("Staging: Comedi: vmk80xx: Add k8061 support") Cc: stable@vger.kernel.org # 2.6.31 Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Link: https://lore.kernel.org/r/20211025114532.4599-5-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions