summaryrefslogtreecommitdiff
path: root/drivers/misc/kernel_debugger.c
diff options
context:
space:
mode:
authorDan Rosenberg <drosenberg@vsecurity.com>2011-06-24 08:38:05 -0400
committerJaikumar Ganesh <jaikumar@google.com>2011-07-18 12:28:02 -0700
commit1752e5327a01247d605515dbba86ad32a493db93 (patch)
tree151d9c18e62535905763bcdb2f680156ddc835a2 /drivers/misc/kernel_debugger.c
parentcacfcdeb500046c3e5cc4d39824b3d5ddf8e4728 (diff)
Bluetooth: Prevent buffer overflow in l2cap config request
A remote user can provide a small value for the command size field in the command header of an l2cap configuration request, resulting in an integer underflow when subtracting the size of the configuration request header. This results in copying a very large amount of data via memcpy() and destroying the kernel heap. Check for underflow. Signed-off-by: Dan Rosenberg <drosenberg@vsecurity.com> Cc: stable <stable@kernel.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'drivers/misc/kernel_debugger.c')
0 files changed, 0 insertions, 0 deletions