Files
linux/drivers
Johan Hovold 57062aa13e Bluetooth: qca: fix info leak when fetching fw build id
commit cda0d6a198e2a7ec6f176c36173a57bdd8af7af2 upstream.

Add the missing sanity checks and move the 255-byte build-id buffer off
the stack to avoid leaking stack data through debugfs in case the
build-info reply is malformed.

Fixes: c0187b0bd3 ("Bluetooth: btqca: Add support to read FW build version for WCN3991 BTSoC")
Cc: stable@vger.kernel.org	# 5.12
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-05-17 11:56:23 +02:00
..
2024-05-17 11:56:10 +02:00
2024-05-17 11:56:08 +02:00
2024-04-10 16:28:23 +02:00
2024-05-17 11:56:20 +02:00
2024-02-05 20:12:47 +00:00
2024-04-03 15:19:45 +02:00
2024-03-26 18:21:00 -04:00