+30
−6
Loading
stable inclusion from stable-v5.15.159 commit ed53949cc92e28aaa3463d246942bda1fbb7f307 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9U3C7 CVE: CVE-2024-36880 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ed53949cc92e28aaa3463d246942bda1fbb7f307 --------------------------- 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: 83e81961 ("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> Conflicts: drivers/bluetooth/btqca.c [ecf6b2d9 not merged so the case ELF_TYPE_PATCH is not contained, and b91390f4e828f is not merged too, so they lead to context conflicts] Signed-off-by:
Yi Yang <yiyang13@huawei.com>