summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-ring.c
diff options
context:
space:
mode:
authorSarah Sharp2009-11-04 07:02:22 +0100
committerGreg Kroah-Hartman2009-11-18 01:46:34 +0100
commitd94c05e33d9212ee67b8d4998f984cc71df8168b (patch)
tree9973d10bb0e1730af6145655fec4cde3a79a54c2 /drivers/usb/host/xhci-ring.c
parentUSB: cdc_acm: Fix memory leak after hangup (diff)
downloadkernel-qcow2-linux-d94c05e33d9212ee67b8d4998f984cc71df8168b.tar.gz
kernel-qcow2-linux-d94c05e33d9212ee67b8d4998f984cc71df8168b.tar.xz
kernel-qcow2-linux-d94c05e33d9212ee67b8d4998f984cc71df8168b.zip
USB: xhci: Fix bug memory free after failed initialization.
If the xHCI driver fails during the memory initialization, xhci->ir_set may not be a valid pointer. Check that it points to valid DMA'able memory before writing to that address during the memory freeing process. Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
0 files changed, 0 insertions, 0 deletions