CVE-2026-74507 PUBLISHED

Bluetooth: HIDP: validate numbered report payloads

Assigner: Linux
Reserved: 15.08.2026 Published: 15.08.2026 Updated: 15.08.2026

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

Bluetooth: HIDP: validate numbered report payloads

When hidp_get_raw_report() waits for a numbered report, hidp_process_data() compares the expected report number with skb->data[0]. A connected HIDP peer can reply with only a DATA transaction header, leaving the skb empty after the header is removed.

KMSAN reports an uninitialized-value use in hidp_session_run(), with the value originating in __alloc_skb() through vhci_write(). The transaction header checks remove the empty-frame reports, but this report remains until the payload check is added.

The comparison can also consume a peer-controlled byte beyond the declared L2CAP PDU. A DATA | FEATURE response followed by an extra 0x01 byte made the current code accept that byte as report ID 1 and complete HIDIOCGFEATURE with a zero-byte result. With this change the malformed response is rejected with -EIO, while a subsequent valid response still succeeds.

Require a payload byte before comparing a numbered report ID. Unnumbered reports continue to accept an empty payload.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 0ff1731a1ae51e8e48cd559d70db536281c47f8e to b7ad105d46acd828e424454815e4cd31069e047a (excl.)
  • affected from 0ff1731a1ae51e8e48cd559d70db536281c47f8e to 7e7162427659b70ea17cd41b1f79e2e64c246690 (excl.)
  • affected from 0ff1731a1ae51e8e48cd559d70db536281c47f8e to 27cc0e603355c585f1e5da8398faa4d36d498188 (excl.)
  • affected from 0ff1731a1ae51e8e48cd559d70db536281c47f8e to 9c841f59e10b5d75c398a3fc6b2da448d2a2276b (excl.)
  • affected from 0ff1731a1ae51e8e48cd559d70db536281c47f8e to 34f53d27b81a16a02828c8fdfa4e02badc326f17 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 2.6.39 is affected
  • unaffected from 0 to 2.6.39 (excl.)
  • unaffected from 6.6.151 to 6.6.* (incl.)
  • unaffected from 6.12.103 to 6.12.* (incl.)
  • unaffected from 6.18.44 to 6.18.* (incl.)
  • unaffected from 7.1.8 to 7.1.* (incl.)
  • unaffected from 7.2-rc6 to * (incl.)

References