mbox series

[net,v2,0/3] bluetooth: validate packet boundary carefully

Message ID 20190321061208.16163-1-xiyou.wangcong@gmail.com
Headers show
Series bluetooth: validate packet boundary carefully | expand

Message

Cong Wang March 21, 2019, 6:12 a.m. UTC
This patchset fixes the out-of-bound access in bluetooth stack.
Although it is large, all of them follow the same pattern, so
it should not be hard to review. I try to group them as much as
I can.

Please check each patch for details.

Cong Wang (3):
  bluetooth: validate HCI_EVENT_PKT packet carefully
  bluetooth: validate HCI_EV_LE_META packet carefully
  bluetooth: validate HCI_EV_CMD_COMPLETE packet carefully

 net/bluetooth/hci_event.c | 627 +++++++++++++++++++++++++++++++-------
 1 file changed, 520 insertions(+), 107 deletions(-)