CVE-2026-46186

Bluetooth: virtio_bt: validate rx pkt_type header length

State
Published
Severity
Not scored
Published
May 28, 2026
Updated
Jun 14, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

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

Bluetooth: virtio_bt: validate rx pkt_type header length

virtbt_rx_handle() reads the leading pkt_type byte from the RX skb and forwards the remainder to hci_recv_frame() for every event/ACL/SCO/ISO type, without checking that the remaining payload is at least the fixed HCI header for that type.

After the preceding patch bounds the backend-supplied used.len to [1, VIRTBT_RX_BUF_SIZE], a one-byte completion still reaches hci_recv_frame() with skb->len already pulled to 0. If the byte happened to be HCI_ACLDATA_PKT, the ACL-vs-ISO classification fast-path in hci_dev_classify_pkt_type() dereferences hci_acl_hdr(skb)->handle whenever the HCI device has an active CIS_LINK, BIS_LINK, or PA_LINK connection, reading two bytes of uninitialized RX-buffer data. The same hazard exists for every packet type the driver accepts because none of the switch cases in virtbt_rx_handle() check skb->len against the per-type minimum HCI header size before handing the frame to the core.

After stripping pkt_type, require skb->len to cover the fixed header size for the selected type (event 2, ACL 4, SCO 3, ISO 4) before calling hci_recv_frame(); drop ratelimited otherwise. Unknown pkt_type values still take the original kfree_skb() default path.

Use bt_dev_err_ratelimited() because both the length and pkt_type values come from an untrusted backend that can otherwise flood the kernel log.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • cf2719a21fdb9d4c8e9c834d279163609bef575d to before 149cfb42ad69c7964fd9f2c43831da9152007129Affected
  • 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be to before 7b2d4c04816cdc887f472caaf7fc966cfc107e40Affected
  • 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be to before 1e1e509b6fd2a42421745bbcd98bd16daad20904Affected
  • 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be to before 2c1143564c71e7497b42d8360a8379ccbb011d3cAffected
  • 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be to before 3485c7236c59c8c34a41af1c4b52982437554e79Affected
  • 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be to before f743eab6486965f276c7e3f1700895f014fdc6dbAffected
  • 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be to before daf23014e5d975e72ea9c02b5160d3fcf070ea47Affected
  • 9b67438e315b925a699f0178f4a48baf3d2d6ef4Affected
  • 5.15.78 to before 5.15.209Affected
  • 6.0.8 to before 6.1Affected
LinuxLinux
  • 6.1Affected
  • before 6.1Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.140 through 6.6.*Not affected
  • 6.12.88 through 6.12.*Not affected
  • 6.18.30 through 6.18.*Not affected
  • 7.0.7 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.