8.1
HIGH CVSS 3.1
CVE-2026-31771
Bluetooth: hci_event: move wake reason storage into validated event handlers
Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_event: move wake reason storage into validated event handlers hci_store_wake_reason() is called from hci_event_packet() immediately after stripping the HCI event header but before hci_event_func() enforces the per-event minimum payload length from hci_ev_table. This means a short HCI event frame can reach bacpy() before any bounds check runs. Rather than duplicating skb parsing and per-event length checks inside hci_store_wake_reason(), move wake-address storage into the individual event handlers after their existing event-length validation has succeeded. Convert hci_store_wake_reason() into a small helper that only stores an already-validated bdaddr while the caller holds hci_dev_lock(). Use the same helper after hci_event_func() with a NULL address to preserve the existing unexpected-wake fallback semantics when no validated event handler records a wake address. Annotate the helper with __must_hold(&hdev->lock) and add lockdep_assert_held(&hdev->lock) so future call paths keep the lock contract explicit. Call the helper from hci_conn_request_evt(), hci_conn_complete_evt(), hci_sync_conn_complete_evt(), le_conn_complete_evt(), hci_le_adv_report_evt(), hci_le_ext_adv_report_evt(), hci_le_direct_adv_report_evt(), hci_le_pa_sync_established_evt(), and hci_le_past_received_evt().

INFO

Published Date :

May 1, 2026, 3:16 p.m.

Last Modified :

Nov. 11, 2026, 9:10 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-31771 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
Update Linux kernel to fix memory corruption vulnerability in Bluetooth HCI event handling.
  • Update the Linux kernel to the latest patched version.
  • Apply the specific Bluetooth HCI event handler fix.
  • Ensure all Bluetooth drivers are updated.
  • Reboot the system after applying updates.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-31771 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-31771 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-31771 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-31771 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Translated by [email protected]

    Nov. 11, 2026

    Action Type Old Value New Value
    Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: Bluetooth: hci_event: mover el almacenamiento del motivo de activación a los gestores de eventos validados hci_store_wake_reason() es llamada desde hci_event_packet() inmediatamente después de eliminar la cabecera del evento HCI pero antes de que hci_event_func() imponga la longitud mínima de carga útil por evento de hci_ev_table. Esto significa que una trama de evento HCI corta puede alcanzar bacpy() antes de que se ejecute cualquier comprobación de límites. En lugar de duplicar el análisis de skb y las comprobaciones de longitud por evento dentro de hci_store_wake_reason(), mover el almacenamiento de la dirección de activación a los gestores de eventos individuales después de que su validación de longitud de evento existente haya tenido éxito. Convertir hci_store_wake_reason() en una pequeña función auxiliar que solo almacena una bdaddr ya validada mientras el llamador mantiene hci_dev_lock(). Usar la misma función auxiliar después de hci_event_func() con una dirección NULL para preservar la semántica de reserva de activación inesperada existente cuando ningún gestor de eventos validado registra una dirección de activación. Anotar la función auxiliar con __must_hold(&hdev -> lock) y añadir lockdep_assert_held(&hdev -> lock) para que las futuras rutas de llamada mantengan explícito el contrato de bloqueo. Llamar a la función auxiliar desde hci_conn_request_evt(), hci_conn_complete_evt(), hci_sync_conn_complete_evt(), le_conn_complete_evt(), hci_le_adv_report_evt(), hci_le_ext_adv_report_evt(), hci_le_direct_adv_report_evt(), hci_le_pa_sync_established_evt(), y hci_le_past_received_evt().
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 30, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/31xxx/CVE-2026-31771.json">CVE-2026-31771</a>
    Added Reference https://git.kernel.org/stable/c/fbea63d0d301edd4a42f4390b49b8519d78b802d
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 21, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/31xxx/CVE-2026-31771.json">CVE-2026-31771</a>
    Added Reference https://git.kernel.org/stable/c/1e4b738dd0d0f7b237686167706badad9d30649c
    Added Reference https://git.kernel.org/stable/c/ac7889b0fe441e4ef892c40b1d002e91f93fa4ae
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 19, 2026

    Action Type Old Value New Value
    Added CWE CWE-125
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 16, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-31771', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-10-16T15:13:04.391952Z'}
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 15, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/31xxx/CVE-2026-31771.json">CVE-2026-31771</a>
    Added Reference https://git.kernel.org/stable/c/2b2bf47cd75518c36fa2d41380e4a40641cc89cd
    Added Reference https://git.kernel.org/stable/c/86c8d07a64d553c41e213b52650020010f9ef23e
    Added Reference https://git.kernel.org/stable/c/dbc8b8d33c9e19e17e8b8b1361bbb46e2983f5f2
    Removed Reference https://git.kernel.org/stable/c/2b2bf47cd75518c36fa2d41380e4a40641cc89cd
    Removed Reference https://git.kernel.org/stable/c/86c8d07a64d553c41e213b52650020010f9ef23e
    Removed Reference Type https://git.kernel.org/stable/c/2b2bf47cd75518c36fa2d41380e4a40641cc89cd Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/86c8d07a64d553c41e213b52650020010f9ef23e Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2f20216c1d6fe17c1a224f658be0dc6fab2269c7', 'lessThan': '86c8d07a64d553c41e213b52650020010f9ef23e', 'versionType': 'git'}, {'status': 'affected', 'version': '2f20216c1d6fe17c1a224f658be0dc6fab2269c7', 'lessThan': '2b2bf47cd75518c36fa2d41380e4a40641cc89cd', 'versionType': 'git'}], 'programFiles': ['net/bluetooth/hci_event.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.10'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.10', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.19.12', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/bluetooth/hci_event.c'], 'defaultStatus': 'affected'}]
  • Initial Analysis by [email protected]

    May. 11, 2026

    Action Type Old Value New Value
    Added CWE NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10 up to (excluding) 6.19.12
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/2b2bf47cd75518c36fa2d41380e4a40641cc89cd Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/86c8d07a64d553c41e213b52650020010f9ef23e Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 03, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 01, 2026

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_event: move wake reason storage into validated event handlers hci_store_wake_reason() is called from hci_event_packet() immediately after stripping the HCI event header but before hci_event_func() enforces the per-event minimum payload length from hci_ev_table. This means a short HCI event frame can reach bacpy() before any bounds check runs. Rather than duplicating skb parsing and per-event length checks inside hci_store_wake_reason(), move wake-address storage into the individual event handlers after their existing event-length validation has succeeded. Convert hci_store_wake_reason() into a small helper that only stores an already-validated bdaddr while the caller holds hci_dev_lock(). Use the same helper after hci_event_func() with a NULL address to preserve the existing unexpected-wake fallback semantics when no validated event handler records a wake address. Annotate the helper with __must_hold(&hdev->lock) and add lockdep_assert_held(&hdev->lock) so future call paths keep the lock contract explicit. Call the helper from hci_conn_request_evt(), hci_conn_complete_evt(), hci_sync_conn_complete_evt(), le_conn_complete_evt(), hci_le_adv_report_evt(), hci_le_ext_adv_report_evt(), hci_le_direct_adv_report_evt(), hci_le_pa_sync_established_evt(), and hci_le_past_received_evt().
    Added Reference https://git.kernel.org/stable/c/2b2bf47cd75518c36fa2d41380e4a40641cc89cd
    Added Reference https://git.kernel.org/stable/c/86c8d07a64d553c41e213b52650020010f9ef23e
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.