CVE-2026-98461

Bluetooth: hci_sock: validate event length before filtering

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

Bluetooth: hci_sock: validate event length before filtering

is_filtered_packet() reads the event code from skb->data[0] without first checking that the skb is nonempty. When an opcode filter is configured, it also reads the command opcode at offsets 3 or 4 without checking that a Command Complete or Command Status event is long enough.

hci_send_to_sock() invokes the filter before hci_event_packet() validates the event header. A malformed event supplied by a controller or a vhci device can therefore cause an out-of-bounds read.

Keep the unmasked event code for the opcode checks. The masked value is needed for the 64-bit event bitmap, but using it to identify command events aliases event codes above 0x3f. In particular, Synchronous Train Complete (0x4f) was treated as Command Status (0x0f) even though its payload has no opcode.

Reject actual command events that are too short for the field being inspected. A truncated command event cannot match a configured opcode.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 39e99d85071bca0feeec3164a9437ca1bff297fcAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ebdd49cec380731844ed9df4092a29a014623df4Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2501a3b7b7144d1d11939b355a48ed01f83d0c62Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before dca25c204f71be0556a15177dbe037237ac43e5eAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 3976bbcd43b9b94c53ac9b0fd28888011588f4ccAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f894f6292d5122cd62d30600736b4a0ae79f7770Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 1a92763c2ba721bf113cd83f913fe8c511b4a4dcAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b0a6cf99afd57a39598b1beca0e86ef5004980deAffected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 5.10.271 through 5.10.*Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.55 through 6.18.*Not affected
  • 7.2.9 through 7.2.*Not affected
  • 7.3 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.