aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorMathias Nyman <[email protected]>2024-01-25 17:27:34 +0200
committerGreg Kroah-Hartman <[email protected]>2024-01-27 16:28:35 -0800
commita54a594d72f25b08f39d743880a76721fba9ae77 (patch)
tree6b7c64c97f8aa79f6a2753e374145a4ff22926ca /scripts/gdb/linux/vmalloc.py
parent9dc292413c56a2d01e34787d3fc4a76635e4a498 (diff)
xhci: fix possible null pointer dereference at secondary interrupter removal
Don't try to remove a secondary interrupter that is known to be invalid. Also check if the interrupter is valid inside the spinlock that protects the array of interrupters. Found by smatch static checker Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/linux-usb/[email protected]/ Fixes: c99b38c41234 ("xhci: add support to allocate several interrupters") Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions