CVE-2026-99807 in Linuxinfo

Summary

by MITRE • 11/25/2026

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

Bluetooth: L2CAP: Reject invalid TxWindow in configuration requests

A peer can send an ERTM RFC option with a TxWindow of zero, which is out of spec. It is stored in remote_tx_win unchanged and later passed to l2cap_seq_list_init(), where roundup_pow_of_two(0) is undefined. On some architectures this results in a ZERO_SIZE_PTR list and a remote kernel oops.

A TxWindow above 63 is out of spec as well. With 6-bit sequence numbers we would then send more unacknowledged frames than the sequence space can tell apart.

Reply with L2CAP_CONF_UNACCEPT and propose the default TxWindow instead of accepting the value, so remote_tx_win always stays within 1 to 63. Keep the parameters of an earlier request then, and do not treat the request as done because an earlier one was.

Also refuse a zero size in l2cap_seq_list_init(), so any other path that reaches it with a zero TxWindow fails the channel instead of the kernel.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 11/25/2026

The Linux kernel Bluetooth subsystem contains a critical implementation flaw within the Logical Link Control and Adaptation Protocol (L2CAP) layer, specifically concerning the handling of Extended Retransmission Mode configuration requests. This vulnerability arises from insufficient validation of the TxWindow parameter provided by remote peers during connection setup or reconfiguration phases. According to the Bluetooth Core Specification, the TxWindow field in Enhanced Retransmission Mode must be a value between one and sixty-three, representing the number of unacknowledged frames that can be transmitted before requiring an acknowledgment. However, the affected code path fails to enforce these boundaries strictly, allowing peers to supply invalid values such as zero or numbers exceeding sixty-three without triggering appropriate rejection mechanisms. This lack of input validation creates a pathway for remote attackers to exploit undefined behavior within the kernel memory management and sequence handling logic.

The most severe consequence of this flaw occurs when a peer sends an Extended Retransmission Mode configuration request with a TxWindow value set to zero. The kernel stores this invalid value in the remote_tx_win variable without performing necessary range checks. Subsequently, during the initialization of the L2CAP sequence list via l2cap_seq_list_init(), the system attempts to calculate the size for internal data structures using roundup_pow_of_two on the provided TxWindow. In C programming and Linux kernel internals, calculating the power-of-two rounding of zero results in undefined behavior that often resolves to a ZERO_SIZE_PTR pointer. When this null or invalid pointer is dereferenced or used to initialize list heads, it leads to immediate kernel panic or oops conditions, effectively causing a denial of service against the local system. This crash can be triggered remotely by any Bluetooth device capable of initiating an L2CAP connection and sending malformed configuration packets, requiring no authentication or prior interaction with the victim machine beyond basic discoverability settings.

Beyond the catastrophic risk of kernel crashes, accepting TxWindow values greater than sixty-three introduces a logical vulnerability related to sequence number space exhaustion and ambiguity. The Enhanced Retransmission Mode utilizes six-bit sequence numbers for frame identification, which provides only sixty-four distinct states ranging from zero to sixty-three. If the negotiated TxWindow exceeds this limit, the sender may transmit more unacknowledged frames than can be uniquely identified by the receiver's limited sequence number space. This condition leads to ambiguity in distinguishing between new frames and retransmissions of previously sent data, potentially causing protocol state desynchronization, frame loss, or incorrect flow control decisions. While less immediately destructive than a kernel panic, this logical flaw compromises the reliability and integrity of Bluetooth communications, allowing for potential disruption of ongoing data transfers or manipulation of connection states through carefully crafted packet sequences that exploit the sequence number wrap-around behavior.

To mitigate these risks, the vulnerability has been addressed by enforcing strict validation rules on incoming L2CAP configuration requests. The updated implementation now explicitly rejects TxWindow values outside the valid range of one to sixty-three. When an invalid value is detected, such as zero or a number exceeding sixty-three, the system responds with an L2CAP_CONF_UNACCEPT status code rather than accepting the parameter. This response forces the remote peer to either adhere to the specification by proposing default acceptable parameters or terminate the configuration attempt. Furthermore, defensive programming practices have been applied within l2cap_seq_list_init() to refuse initialization if a zero size is detected, ensuring that any alternative code paths attempting to use an invalid TxWindow result in channel failure rather than kernel-level crashes. These changes ensure that remote_tx_win remains consistently bounded and predictable, preserving the stability of the Bluetooth stack against malformed inputs from untrusted peers.

From a classification perspective, this vulnerability aligns with CWE-20 Improper Input Validation, as the core issue is the failure to verify that user-controlled input falls within expected constraints before processing. Additionally, it relates to CWE-789 Uncontrolled Memory Allocation due to the undefined behavior resulting from zero-size calculations leading to invalid pointer usage. In terms of attack vectors and tactics, this flaw can be leveraged for Denial of Service attacks as described in MITRE ATT&CK technique T1499 Endpoint Denial of Service. The ability to crash a remote kernel via Bluetooth packets highlights the importance of securing wireless interfaces against untrusted network entities. System administrators should ensure that Linux kernels are updated with patches addressing this L2CAP validation issue, particularly on devices where Bluetooth is enabled and exposed to potential attackers in physical proximity or connected networks.

Responsible

Linux

Reservation

09/25/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!