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

Bluetooth: hci_sock: reject out-of-range OCF values

The raw HCI socket security filter has 128 OCF bits per supported OGF,
but masks the 10-bit OCF with 127 before looking up the command. An
unprivileged socket can therefore submit a reserved OCF that aliases an
allowlisted command modulo 128.

A conforming controller should reject reserved opcodes. Nevertheless,
the security decision must apply to the opcode that will actually be
sent, especially since controller-specific behavior is outside the host
stack's control.

Reject OCF values that cannot be represented by the security filter
instead of aliasing them onto an unrelated command.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Local Privilege Escalation via Bluetooth HCI socket
Action: Immediate Patch
AI Analysis

Impact

The vulnerability resides in the Linux kernel's Bluetooth HCI socket implementation, where the security filter intended to restrict command usage incorrectly masks a 10‑bit OCF value with 127. This flaw allows an unprivileged socket to submit a reserved OCF that aliases an allowlisted command modulo 128, thereby bypassing the intended command authorization controls and potentially enabling unauthorized command execution within the host.

Affected Systems

All Linux kernel implementations that have not yet incorporated the commit correcting the OCF masking logic are affected. The flaw exists in the core Bluetooth stack of every distribution shipping an unpatched kernel, with no vendor or product outside the kernel itself mentioned.

Risk and Exploitability

The CVSS score is not provided and no EPSS data is available, so the exact severity cannot be quantified. The flaw offers a local privilege escalation path for any user or process that can open the Bluetooth HCI socket. Based on the description, this is most easily exploited by an attacker with local access to the socket, as the exploit requires crafting a special OCF value. The absence of a KEV listing and a lack of EPSS data mean that active exploitation is currently unknown, but local attackers could leverage the aliasing behavior to gain elevated privileges.

Generated by OpenCVE AI on October 18, 2026 at 23:47 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel update that contains the commit fixing the OCF masking logic.
  • Restrict access to the Bluetooth HCI socket so that only trusted users or privileged processes can open it.
  • If Bluetooth is not required, disable the Bluetooth service or block Bluetooth traffic at the network level.

Generated by OpenCVE AI on October 18, 2026 at 23:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sock: reject out-of-range OCF values The raw HCI socket security filter has 128 OCF bits per supported OGF, but masks the 10-bit OCF with 127 before looking up the command. An unprivileged socket can therefore submit a reserved OCF that aliases an allowlisted command modulo 128. A conforming controller should reject reserved opcodes. Nevertheless, the security decision must apply to the opcode that will actually be sent, especially since controller-specific behavior is outside the host stack's control. Reject OCF values that cannot be represented by the security filter instead of aliasing them onto an unrelated command.
Title Bluetooth: hci_sock: reject out-of-range OCF values
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-18T15:15:09.787Z

Reserved: 2026-09-25T10:25:14.350Z

Link: CVE-2026-98460

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:16:56.430

Modified: 2026-10-18T16:16:56.430

Link: CVE-2026-98460

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T00:00:10Z

Weaknesses
  • CWE-20

    Improper Input Validation