summaryrefslogtreecommitdiff
path: root/geoip.conf
blob: 43c6238bf158942454056996ded0f039148b612e (plain)
1
2
geolite.maxmind.com
cryptoism.org
='40'>40space:mode:
authorLu Baolu <baolu.lu@linux.intel.com>2017-01-03 18:28:46 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-03 17:37:32 +0100
commit2b985467371a58ae44d76c7ba12b0951fee6ed98 (patch)
treedf6c8bbae1e165624af259bb8de5c1d77a4aeb60
parent28bedb5ae463b9f7e5195cbc93f1795e374bdef8 (diff)
usb: xhci: fix possible wild pointer
handle_cmd_completion() frees a command structure which might be still referenced by xhci->current_cmd. This might cause problem when xhci->current_cmd is accessed after that. A real-life case could be like this. The host takes a very long time to respond to a command, and the command timer is fired at the same time when the command completion event arrives. The command completion handler frees xhci->current_cmd before the timer function can grab xhci->lock. Afterward, timer function grabs the lock and go ahead with checking and setting members of xhci->current_cmd. Cc: <stable@vger.kernel.org> # v3.16+ Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat