# CVE-2026-64573: Bluetooth: qca: fix NVM tag length underflow in TLV parser

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-05 · Modified: 2026-08-19
- Aliases: UBUNTU-CVE-2026-64573, DEBIAN-CVE-2026-64573
- Record: https://cvemate.com/vulnerability/CVE-2026-64573 · JSON: https://cvemate.com/vulnerability/CVE-2026-64573/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: qca: fix NVM tag length underflow in TLV parser

In the TLV_TYPE_NVM branch of qca_tlv_check_data() the tag loop bound is
"while (idx < length - sizeof(struct tlv_type_nvm))". "length" is a signed
int from the firmware TLV header and sizeof(struct tlv_type_nvm) is a
size_t (12), so "length" is converted to size_t and any firmware-supplied
"length" < 12 makes the subtraction wrap to a huge value. The loop body
then reads a 12-byte struct tlv_type_nvm past the end of the short
vmalloc'd firmware buffer (and the EDL_TAG_ID_* handlers can write past it).

Rewrite the bound as "idx + sizeof(struct tlv_type_nvm) <= length"; both
operands are non-negative, so it no longer underflows and a "length" too
small for one record correctly skips the loop.

  BUG: KASAN: vmalloc-out-of-bounds in qca_download_firmware.isra.0 (drivers/bluetooth/btqca.c:421)
  Read of size 2 at addr ffffc900000e5004 by task kworker/u9:0/52
  Workqueue: hci0 hci_power_on
  Call Trace:
   ...
   kasan_report (mm/kasan/report.c:595)
   qca_download_firmware.isra.0 (drivers/bluetooth/btqca.c:421 drivers/bluetooth/btqca.c:617)
   qca_uart_setup (drivers/bluetooth/btqca.c:948)
   qca_setup (drivers/bluetooth/hci_qca.c:2029)
   hci_uart_setup (drivers/bluetooth/hci_ldisc.c:438)
   hci_dev_open_sync (net/bluetooth/hci_sync.c:5227)
   hci_power_on (net/bluetooth/hci_core.c:920)
   process_one_work (kernel/workqueue.c:3322)
   worker_thread (kernel/workqueue.c:3486)
   kthread (kernel/kthread.c:436)
   ret_from_fork (arch/x86/kernel/process.c:158)
   ret_from_fork_asm (arch/x86/entry/entry_64.S:245)
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.114%, percentile 1.631%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 161)

- debian linux (Debian): \< 6.1.187-1 \| \< 6.12.101-1 \| \< 7.1.6-1
- debian linux-6.12 (Debian): \< 6.12.101-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-198.208 \| \< 6.8.0-147.147 \| \< 7.0.0-38.38
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.124 \| \< 6.8.0-1067.70 \| \< 7.0.0-1014.14
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1117.124~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1069.74~22.04.1
- ubuntu linux-aws-7.0 (Ubuntu): \< 7.0.0-1014.14~24.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.124+fips1 \| \< 6.8.0-1067.70+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1123.132 \| \< 6.8.0-1071.79 \| \< 7.0.0-1017.17

## References (first 20 of 38)

- <https://git.kernel.org/stable/c/a7ee11441d71ab036a705d110a415421f5a4a898>
- <https://git.kernel.org/stable/c/5d34e537755d2f9eba2d4e54d70126f987ef20b4>
- <https://git.kernel.org/stable/c/70354dbb5f72d9a76da7b031de3cbaf6c7d8fc24>
- <https://git.kernel.org/stable/c/59fd2f075bca94f030c7c78e94878ea0803d7690>
- <https://git.kernel.org/stable/c/a087ed960fce54e9302796229e9d545bbc9bcd4a>
- <https://git.kernel.org/stable/c/4fcfb5b2c736785464ff9745f94c6726c5ee2d85>
- <https://git.kernel.org/stable/c/c90164ca0f7036942ba088eb7ea8d3f6c2352020>
- <https://ubuntu.com/security/CVE-2026-64573>
- <https://www.cve.org/CVERecord?id=CVE-2026-64573>
- <https://git.kernel.org/linus/c90164ca0f7036942ba088eb7ea8d3f6c2352020>
- <https://ubuntu.com/security/notices/USN-8876-1>
- <https://ubuntu.com/security/notices/USN-8878-1>
- <https://ubuntu.com/security/notices/USN-8879-1>
- <https://ubuntu.com/security/notices/USN-8877-1>
- <https://ubuntu.com/security/notices/USN-8875-1>
- <https://ubuntu.com/security/notices/USN-8888-1>
- <https://ubuntu.com/security/notices/USN-8889-1>
- <https://ubuntu.com/security/notices/USN-8887-1>
- <https://ubuntu.com/security/notices/USN-8888-2>
- <https://ubuntu.com/security/notices/USN-8887-2>

---

Data as of 2026-12-05T03:59:54.969Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
