summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAndrey Strachuk <strochuk@ispras.ru>2022-07-18 19:00:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-27 14:38:13 +0200
commitc3ffc9c4ca44bfe9562166793d133e1fb0630ea6 (patch)
treee95f7bd26c271141dde8611e54382904da557bca /tools/perf/scripts/python/stackcollapse.py
parentfe3cc0cebe6091675c8bacd94e232a3203b939b8 (diff)
usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdns3_gadget_ep_enable()
If 'ep' is NULL, result of ep_to_cdns3_ep(ep) is invalid pointer and its dereference with priv_ep->cdns3_dev may cause panic. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 7733f6c32e36 ("usb: cdns3: Add Cadence USB3 DRD Driver") Acked-by: Peter Chen <peter.chen@kernel.org> Signed-off-by: Andrey Strachuk <strochuk@ispras.ru> Link: https://lore.kernel.org/r/20220718160052.4188-1-strochuk@ispras.ru 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