summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2026-07-07 13:26:45 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-07-10 15:16:07 +0200
commiteb6cd6d3d8abeac5d7e8251b898067184afdad8a (patch)
treecbe8d5c01592dfaf58354afaa2f3222d9b7f4f3e /tools/perf/scripts/python/stackcollapse.py
parentce8101c331956bbd3e20681331dfd22eb7c1c1ea (diff)
usb: xusbatm: don't rely on id table pointer arithmetic
The current code is broken when dynamic ID is involved; in such cases usb_device_id parameter of probe lives on the heap and the pointer arithmetic will get an index that is wildly out of bound. xusbatm initialize the USB device IDs dynamically so it can just use driver_info too. Even with conversion, xusbatm still cannot support dynamic IDs, so also set no_dynamic_id. Signed-off-by: Gary Guo <gary@garyguo.net> Link: https://patch.msgid.link/20260707-usb_dyn_id_uaf-v2-6-632dcf3adfba@garyguo.net 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