5.5
MEDIUM CVSS 3.1
CVE-2026-31498
Bluetooth: L2CAP: Fix ERTM re-init and zero pdu_len infinite loop
Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Fix ERTM re-init and zero pdu_len infinite loop l2cap_config_req() processes CONFIG_REQ for channels in BT_CONNECTED state to support L2CAP reconfiguration (e.g. MTU changes). However, since both CONF_INPUT_DONE and CONF_OUTPUT_DONE are already set from the initial configuration, the reconfiguration path falls through to l2cap_ertm_init(), which re-initializes tx_q, srej_q, srej_list, and retrans_list without freeing the previous allocations and sets chan->sdu to NULL without freeing the existing skb. This leaks all previously allocated ERTM resources. Additionally, l2cap_parse_conf_req() does not validate the minimum value of remote_mps derived from the RFC max_pdu_size option. A zero value propagates to l2cap_segment_sdu() where pdu_len becomes zero, causing the while loop to never terminate since len is never decremented, exhausting all available memory. Fix the double-init by skipping l2cap_ertm_init() and l2cap_chan_ready() when the channel is already in BT_CONNECTED state, while still allowing the reconfiguration parameters to be updated through l2cap_parse_conf_req(). Also add a pdu_len zero check in l2cap_segment_sdu() as a safeguard.

INFO

Published Date :

April 22, 2026, 2:16 p.m.

Last Modified :

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

Remotely Exploit :

No

Source :

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

The following products are affected by CVE-2026-31498 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 MEDIUM [email protected]
Solution
Apply Linux kernel patches to fix ERTM re-initialization and PDU length issues.
  • Update the Linux kernel to the latest version.
  • Apply relevant security patches for Bluetooth L2CAP.
  • Verify ERTM re-initialization logic.
  • Add checks for PDU length in L2CAP segmenting.
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-31498 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-31498 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-31498 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-31498 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: L2CAP: Corrección de la reinicialización de ERTM y bucle infinito con pdu_len cero l2cap_config_req() procesa CONFIG_REQ para canales en estado BT_CONNECTED para soportar la reconfiguración de L2CAP (p. ej., cambios de MTU). Sin embargo, dado que tanto CONF_INPUT_DONE como CONF_OUTPUT_DONE ya están establecidos desde la configuración inicial, la ruta de reconfiguración pasa a l2cap_ertm_init(), que reinicializa tx_q, srej_q, srej_list y retrans_list sin liberar las asignaciones anteriores y establece chan -> sdu a NULL sin liberar el skb existente. Esto fuga todos los recursos ERTM previamente asignados. Además, l2cap_parse_conf_req() no valida el valor mínimo de remote_mps derivado de la opción max_pdu_size de RFC. Un valor cero se propaga a l2cap_segment_sdu() donde pdu_len se vuelve cero, haciendo que el bucle ’while’ nunca termine ya que ’len’ nunca se decrementa, agotando toda la memoria disponible. Se corrige la doble inicialización omitiendo l2cap_ertm_init() y l2cap_chan_ready() cuando el canal ya está en estado BT_CONNECTED, mientras se sigue permitiendo que los parámetros de reconfiguración se actualicen a través de l2cap_parse_conf_req(). También se añade una comprobación de pdu_len cero en l2cap_segment_sdu() como salvaguarda.
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 05, 2026

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/042e2cd4bb11e5313b19b87593616524949e4c52
    Added Reference https://git.kernel.org/stable/c/25f420a0d4cfd61d3d23ec4b9c56d9f443d91377
    Added Reference https://git.kernel.org/stable/c/52667c859fe33f70c2e711cb81bbd505d5eb8e75
    Added Reference https://git.kernel.org/stable/c/900e4db5385ec2cacd372345a80ab9c8e105b3a3
    Added Reference https://git.kernel.org/stable/c/9760b83cfd24b38caee663f429011a0dd6064fa9
    Added Reference https://git.kernel.org/stable/c/9a21a631ee034b1573dce14b572a24943dbfd7ae
    Added Reference https://git.kernel.org/stable/c/de37e2655b7abc3f59254c6b72256840f39fc6d5
    Added Reference https://git.kernel.org/stable/c/e7aab23b7df89a3d754a5f0a7d2237548b328bd0
    Removed Reference https://git.kernel.org/stable/c/042e2cd4bb11e5313b19b87593616524949e4c52
    Removed Reference https://git.kernel.org/stable/c/25f420a0d4cfd61d3d23ec4b9c56d9f443d91377
    Removed Reference https://git.kernel.org/stable/c/52667c859fe33f70c2e711cb81bbd505d5eb8e75
    Removed Reference https://git.kernel.org/stable/c/900e4db5385ec2cacd372345a80ab9c8e105b3a3
    Removed Reference https://git.kernel.org/stable/c/9760b83cfd24b38caee663f429011a0dd6064fa9
    Removed Reference https://git.kernel.org/stable/c/9a21a631ee034b1573dce14b572a24943dbfd7ae
    Removed Reference https://git.kernel.org/stable/c/de37e2655b7abc3f59254c6b72256840f39fc6d5
    Removed Reference https://git.kernel.org/stable/c/e7aab23b7df89a3d754a5f0a7d2237548b328bd0
    Removed Reference Type https://git.kernel.org/stable/c/042e2cd4bb11e5313b19b87593616524949e4c52 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/25f420a0d4cfd61d3d23ec4b9c56d9f443d91377 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/52667c859fe33f70c2e711cb81bbd505d5eb8e75 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/900e4db5385ec2cacd372345a80ab9c8e105b3a3 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/9760b83cfd24b38caee663f429011a0dd6064fa9 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/9a21a631ee034b1573dce14b572a24943dbfd7ae Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/de37e2655b7abc3f59254c6b72256840f39fc6d5 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/e7aab23b7df89a3d754a5f0a7d2237548b328bd0 Types: Patch
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Nov. 05, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-31498', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-11-05T21:35:45.390526Z'}
  • 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': '96298f640104e4cd9a913a6e50b0b981829b94ff', 'lessThan': '9760b83cfd24b38caee663f429011a0dd6064fa9', 'versionType': 'git'}, {'status': 'affected', 'version': '96298f640104e4cd9a913a6e50b0b981829b94ff', 'lessThan': 'de37e2655b7abc3f59254c6b72256840f39fc6d5', 'versionType': 'git'}, {'status': 'affected', 'version': '96298f640104e4cd9a913a6e50b0b981829b94ff', 'lessThan': 'e7aab23b7df89a3d754a5f0a7d2237548b328bd0', 'versionType': 'git'}, {'status': 'affected', 'version': '96298f640104e4cd9a913a6e50b0b981829b94ff', 'lessThan': '52667c859fe33f70c2e711cb81bbd505d5eb8e75', 'versionType': 'git'}, {'status': 'affected', 'version': '96298f640104e4cd9a913a6e50b0b981829b94ff', 'lessThan': '9a21a631ee034b1573dce14b572a24943dbfd7ae', 'versionType': 'git'}, {'status': 'affected', 'version': '96298f640104e4cd9a913a6e50b0b981829b94ff', 'lessThan': '900e4db5385ec2cacd372345a80ab9c8e105b3a3', 'versionType': 'git'}, {'status': 'affected', 'version': '96298f640104e4cd9a913a6e50b0b981829b94ff', 'lessThan': '042e2cd4bb11e5313b19b87593616524949e4c52', 'versionType': 'git'}, {'status': 'affected', 'version': '96298f640104e4cd9a913a6e50b0b981829b94ff', 'lessThan': '25f420a0d4cfd61d3d23ec4b9c56d9f443d91377', 'versionType': 'git'}, {'status': 'affected', 'version': '4ad03ff6f680681c5f78254e37c4c856fa953629', 'versionType': 'git'}, {'status': 'affected', 'version': 'b7d0ca715c1008acd2fc018f02a56fed88f78b75', 'versionType': 'git'}, {'status': 'affected', 'version': '799263eb37a4f7f6d39334046929c3bc92452a7f', 'versionType': 'git'}, {'status': 'affected', 'version': '8828622fb9b4201eeb0870587052e3d834cfaf61', 'versionType': 'git'}, {'status': 'affected', 'version': 'b432ea85ab8472763870dd0f2c186130dd36d68c', 'versionType': 'git'}, {'status': 'affected', 'version': '4.4.238', 'lessThan': '4.5', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.9.238', 'lessThan': '4.10', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.14.200', 'lessThan': '4.15', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.19.149', 'lessThan': '4.20', 'versionType': 'semver'}, {'status': 'affected', 'version': '5.4.69', 'lessThan': '5.5', 'versionType': 'semver'}], 'programFiles': ['net/bluetooth/l2cap_core.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.7'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.7', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.253', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.203', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.168', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.131', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.80', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.21', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.11', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/bluetooth/l2cap_core.c'], 'defaultStatus': 'affected'}]
  • Initial Analysis by [email protected]

    Apr. 28, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-835
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:5.7:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.14.200 up to (excluding) 4.15 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.19.149 up to (excluding) 4.20 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.4.238 up to (excluding) 4.5 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.9.238 up to (excluding) 4.10 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4.69 up to (excluding) 5.5 *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:7.0:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.203 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.7.1 up to (excluding) 5.10.253 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.168 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.21 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.131 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.80
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/042e2cd4bb11e5313b19b87593616524949e4c52 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/25f420a0d4cfd61d3d23ec4b9c56d9f443d91377 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/52667c859fe33f70c2e711cb81bbd505d5eb8e75 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/900e4db5385ec2cacd372345a80ab9c8e105b3a3 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/9760b83cfd24b38caee663f429011a0dd6064fa9 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/9a21a631ee034b1573dce14b572a24943dbfd7ae Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/de37e2655b7abc3f59254c6b72256840f39fc6d5 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/e7aab23b7df89a3d754a5f0a7d2237548b328bd0 Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Apr. 22, 2026

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Fix ERTM re-init and zero pdu_len infinite loop l2cap_config_req() processes CONFIG_REQ for channels in BT_CONNECTED state to support L2CAP reconfiguration (e.g. MTU changes). However, since both CONF_INPUT_DONE and CONF_OUTPUT_DONE are already set from the initial configuration, the reconfiguration path falls through to l2cap_ertm_init(), which re-initializes tx_q, srej_q, srej_list, and retrans_list without freeing the previous allocations and sets chan->sdu to NULL without freeing the existing skb. This leaks all previously allocated ERTM resources. Additionally, l2cap_parse_conf_req() does not validate the minimum value of remote_mps derived from the RFC max_pdu_size option. A zero value propagates to l2cap_segment_sdu() where pdu_len becomes zero, causing the while loop to never terminate since len is never decremented, exhausting all available memory. Fix the double-init by skipping l2cap_ertm_init() and l2cap_chan_ready() when the channel is already in BT_CONNECTED state, while still allowing the reconfiguration parameters to be updated through l2cap_parse_conf_req(). Also add a pdu_len zero check in l2cap_segment_sdu() as a safeguard.
    Added Reference https://git.kernel.org/stable/c/042e2cd4bb11e5313b19b87593616524949e4c52
    Added Reference https://git.kernel.org/stable/c/25f420a0d4cfd61d3d23ec4b9c56d9f443d91377
    Added Reference https://git.kernel.org/stable/c/52667c859fe33f70c2e711cb81bbd505d5eb8e75
    Added Reference https://git.kernel.org/stable/c/900e4db5385ec2cacd372345a80ab9c8e105b3a3
    Added Reference https://git.kernel.org/stable/c/9760b83cfd24b38caee663f429011a0dd6064fa9
    Added Reference https://git.kernel.org/stable/c/9a21a631ee034b1573dce14b572a24943dbfd7ae
    Added Reference https://git.kernel.org/stable/c/de37e2655b7abc3f59254c6b72256840f39fc6d5
    Added Reference https://git.kernel.org/stable/c/e7aab23b7df89a3d754a5f0a7d2237548b328bd0
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.