]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: hci_core: Fix not checking skb length on hci_scodata_packet
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 8 Oct 2024 15:33:15 +0000 (11:33 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 14 Nov 2024 20:30:14 +0000 (15:30 -0500)
commit59437cbb5781227567dec226aaa88c66a09ccc5a
tree631f7c69bd4faa458af7dcc37970a033fc0dc95d
parent3fe288a8214e7dd784d1f9b7c9e448244d316b47
Bluetooth: hci_core: Fix not checking skb length on hci_scodata_packet

This fixes not checking if skb really contains an SCO header otherwise
the code may attempt to access some uninitilized/invalid memory past the
valid skb->data.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_core.c