commit 90fbe8b1fa081a99616ccd7760f5877fcafa35ef
Author: Alan Stern <email address hidden>
Date: Fri Feb 22 17:03:25 2008 -0500
usb-storage: don't access beyond the end of the sg buffer
This patch (as1038) fixes a bug in usb_stor_access_xfer_buf() and
usb_stor_set_xfer_buf() (the bug was originally found by Boaz
Harrosh): The routine must not attempt to write beyond the end of a
scatter-gather list or beyond the number of bytes requested.
This is the minimal 2.6.24 equivalent to as1035 +
as1037 (7084191d53b224b953c8e1db525ea6c31aca5fc7 "USB:
usb-storage: don't access beyond the end of the sg buffer" +
6d512a80c26d87f8599057c86dc920fbfe0aa3aa "usb-storage: update earlier
scatter-gather bug fix"). Mark Glines has confirmed that it fixes
his problem.
Signed-off-by: Alan Stern <email address hidden>
Cc: Mark Glines <email address hidden>
Cc: Boaz Harrosh <email address hidden>
Signed-off-by: Chris Wright <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Maybe a hint :
http:// www.kernel. org/pub/ linux/kernel/ v2.6/ChangeLog- 2.6.24. 4
commit 90fbe8b1fa081a9 9616ccd7760f587 7fcafa35ef
Author: Alan Stern <email address hidden>
Date: Fri Feb 22 17:03:25 2008 -0500
usb-storage: don't access beyond the end of the sg buffer
This patch (as1038) fixes a bug in usb_stor_ access_ xfer_buf( ) and stor_set_ xfer_buf( ) (the bug was originally found by Boaz
usb_
Harrosh): The routine must not attempt to write beyond the end of a
scatter-gather list or beyond the number of bytes requested.
This is the minimal 2.6.24 equivalent to as1035 + b953c8e1db525ea 6c31aca5fc7 "USB: d87f8599057c86d c920fbfe0aa3aa "usb-storage: update earlier
as1037 (7084191d53b224
usb-storage: don't access beyond the end of the sg buffer" +
6d512a80c26
scatter-gather bug fix"). Mark Glines has confirmed that it fixes
his problem.
Signed-off-by: Alan Stern <email address hidden>
Cc: Mark Glines <email address hidden>
Cc: Boaz Harrosh <email address hidden>
Signed-off-by: Chris Wright <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>