Files
linux-stable-mirror/net
Luiz Augusto von DentzandGreg Kroah-Hartman 74ee5e6352 Bluetooth: bnep: Fix out-of-bound access
[ Upstream commit 0f0639b4d6 ]

This fixes attempting to access past ethhdr.h_source, although it seems
intentional to copy also the contents of h_proto this triggers
out-of-bound access problems with the likes of static analyzer, so this
instead just copy ETH_ALEN and then proceed to use put_unaligned to copy
h_proto separetely.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-29 17:30:38 +02:00
..
2024-08-29 17:30:23 +02:00
2024-08-14 13:52:44 +02:00
2024-06-12 11:03:32 +02:00