Shellfeed logo Shellfeed

CVE-2026-74507 · HIGH (CVSS 7.1)

Summary: Bluetooth: HIDP: validate numbered report payloads

Details

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.

Severity

HIGH (CVSS 7.1) — vector CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [0ff1731a1ae51e8e48cd559d70db536281c47f8e – 011bf4350d941f1995b2bd4b815ee206cacf2b8e]
  • Linux Kernel [2.6.39 – 5.10.265] [5.11.0 – 5.15.216] [5.16.0 – 6.1.183] [6.2.0 – 6.6.151] [6.7.0 – 6.12.103] [6.13.0 – 6.18.44] [6.19.0 – 7.1.8]

References