Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9b68da75 authored by Ben Seri's avatar Ben Seri Committed by minz1
Browse files

Bluetooth: Properly check L2CAP config option output buffer length

upstream e860d2c904d1a9f38a24eb44c9f34b8f915a6ea3 from
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git



Validate the output buffer length for L2CAP config requests and responses
to avoid overflowing the stack buffer used for building the option blocks.

Change-Id: I8f6498a250d8cfc13a11db01be67d4afc86edaf3
Cc: stable@vger.kernel.org
Signed-off-by: default avatarBen Seri <ben@armis.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4712c9d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment