summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2024-04-30 19:07:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-17 12:15:10 +0200
commit02f05ed44b71152d5e11d29be28aed91c0489b4e (patch)
tree5b82bca8a71ff8c412d671a9648851cad9e13b3a /lib/debugobjects.c
parent6f6e73e1f6d3c7097ce60e04f7bb94806f0eba35 (diff)
Bluetooth: qca: add missing firmware sanity checks
commit 2e4edfa1e2bd821a317e7d006517dcf2f3fac68d upstream. Add the missing sanity checks when parsing the firmware files before downloading them to avoid accessing and corrupting memory beyond the vmalloced buffer. Fixes: 83e81961ff7e ("Bluetooth: btqca: Introduce generic QCA ROME support") Cc: stable@vger.kernel.org # 4.10 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>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions