aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/pseries/reconfig.c
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2009-01-20 00:27:57 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-01-22 13:55:02 -0500
commite2fe154e918276e900067a9d1d3a6a963faee041 (patch)
tree22936f2b3784c4d89c4f1e2263b528167f42e683 /arch/powerpc/platforms/pseries/reconfig.c
parent12da401e0d616f738c8b8a368d1f63f365cc78e4 (diff)
p54usb: fix nasty use after free
In theory, the firmware acks the received a data frame, before signaling the driver to free it again. However Artur Skawina <art.08.09@gmail.com> has shown that it can happen in reverse order as well. This is very bad and could lead to memory corruptions, oopses and panics. Thanks to Artur Skawina <art.08.09@gmail.com> for reporting and debugging this issue. Signed-off-by: Christian Lamparter <chunkeey@web.de> Tested-by: Artur Skawina <art.08.09@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'arch/powerpc/platforms/pseries/reconfig.c')
0 files changed, 0 insertions, 0 deletions