Ben Seri e860d2c904 Bluetooth: Properly check L2CAP config option output buffer length
Validate the output buffer length for L2CAP config requests and responses
to avoid overflowing the stack buffer used for building the option blocks.

Cc: stable@vger.kernel.org
Signed-off-by: Ben Seri <ben@armis.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-09-09 17:56:05 -07:00
..
2017-07-25 12:31:37 -07:00
2015-07-30 13:31:59 +02:00
2015-07-30 13:31:59 +02:00
2017-08-19 11:55:31 +02:00
2017-09-01 22:49:47 +02:00