CVE-2026-64407 PUBLISHED

Bluetooth: btnxpuart: Fix out-of-bounds firmware read in nxp_recv_fw_req_v3()

Assigner: Linux
Reserved: 19.07.2026 Published: 25.07.2026 Updated: 25.07.2026

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

Bluetooth: btnxpuart: Fix out-of-bounds firmware read in nxp_recv_fw_req_v3()

During the v3 firmware download the controller sends a v3_data_req with a 32 bit offset and a 16 bit len. nxp_recv_fw_req_v3() checks only the lower bound of the offset and then sends firmware from that offset.

nxpdev->fw_dnld_v3_offset = offset - nxpdev->fw_v3_offset_correction; serdev_device_write_buf(nxpdev->serdev, nxpdev->fw->data + nxpdev->fw_dnld_v3_offset, len);

Nothing checks that fw_dnld_v3_offset + len stays within nxpdev->fw->size, so a controller that asks for an offset or length past the firmware image makes the driver read past the end of nxpdev->fw->data and send that memory back over UART.

nxp_recv_fw_req_v1() already bounds the same write. Add the equivalent check to the v3 path, reject the request when it falls outside the firmware image, and zero len on the error path so the fw_v3_prev_sent bookkeeping at free_skb stays consistent.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 689ca16e523278470c38832a3010645a78c544d8 to 21e60eb4d95854196e7c0e77383f35e7ac95df61 (excl.)
  • affected from 689ca16e523278470c38832a3010645a78c544d8 to 441088792ffec3ca01f4efe2934060570eb11eb8 (excl.)
  • affected from 689ca16e523278470c38832a3010645a78c544d8 to 2a68a773089204af1c8581dc79668b775418c5ee (excl.)
  • affected from 689ca16e523278470c38832a3010645a78c544d8 to 49bcb39e3a041ce26021f77971eaccb49a275118 (excl.)
  • affected from 689ca16e523278470c38832a3010645a78c544d8 to badff6c3bed8923a1257a853f137d447976eec30 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.4 is affected
  • unaffected from 0 to 6.4 (excl.)
  • unaffected from 6.6.145 to 6.6.* (incl.)
  • unaffected from 6.12.96 to 6.12.* (incl.)
  • unaffected from 6.18.39 to 6.18.* (incl.)
  • unaffected from 7.1.4 to 7.1.* (incl.)
  • unaffected from 7.2-rc3 to * (incl.)

References