diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2024-04-30 19:07:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-17 12:15:10 +0200 |
commit | 02f05ed44b71152d5e11d29be28aed91c0489b4e (patch) | |
tree | 5b82bca8a71ff8c412d671a9648851cad9e13b3a /scripts/generate_rust_analyzer.py | |
parent | 6f6e73e1f6d3c7097ce60e04f7bb94806f0eba35 (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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions