Re: [PATCH] Bluetooth: btusb: validate QCA rampatch size
Laxman Acharya Padhya <[email protected]> Sat, 1 Aug 2026 00:37:38 +0545
| Newsgroups | org.kernel.vger.linux-bluetooth,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
Hi Luiz, I have not yet received confirmation from a Qualcomm engineer. Shuai, since you recently worked on this QCA rampatch path, could you please confirm whether requiring the firmware to contain both the complete device-specific rampatch header and the version structure at ver_offset is the correct size validation for all entries in qca_devices_table[]? The proposed minimum is: max_t(size_t, info->rampatch_hdr, info->ver_offset + sizeof(struct qca_rampatch_version)) Thanks, Laxman