CVE-2026-99808 in Linuxinfo

Summary

by MITRE • 11/25/2026

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

Bluetooth: L2CAP: Use default TxWindow for zero socket option

L2CAP_OPTIONS accepts a txwin_size of zero and stores it in tx_win. The zero is then sent to the peer in our configuration request, and if the channel ends up in ERTM mode it is passed to l2cap_seq_list_init().

Use the default TxWindow instead, as the mode can still be changed to ERTM during configuration.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/25/2026

The Linux kernel Bluetooth subsystem contains a logic flaw within the L2CAP protocol implementation that arises from improper handling of socket option parameters during channel initialization. Specifically, when an application configures an L2CAP socket using the L2CAP_OPTIONS structure, it may explicitly set the txwin_size field to zero. The current code path accepts this value without validation and stores it in the internal tx_win variable. This configuration is then transmitted to the remote peer as part of the L2CAP configuration request packet. While a transmission window size of zero might be valid for certain non-extended retransmission modes, it becomes problematic if the negotiation process results in the channel entering Enhanced Retransmission Mode (ERTM). In ERTM mode, reliable data transfer is managed through sequence-based acknowledgments and flow control mechanisms that rely on a positive integer value to define the number of unacknowledged frames allowed.

When the L2CAP layer attempts to initialize the sequence list for an ERTM channel using l2cap_seq_list_init(), passing a zero value leads to incorrect state initialization or potential operational failures in the flow control logic. This misconfiguration can cause the connection to stall, fail to establish properly, or exhibit unpredictable behavior during data transmission because the peer expects a valid window size that allows for buffered frames while awaiting acknowledgments. The vulnerability stems from a lack of input validation and normalization at the point where user-space socket options are processed before being sent over the wire. By blindly forwarding a zero value, the kernel fails to ensure protocol compliance with Bluetooth Core Specification requirements regarding ERTM parameters, which mandate non-zero window sizes for reliable data transfer modes.

From a security perspective, this issue is classified under CWE-20 Improper Input Validation and potentially CWE-754: Improper Check for Unusual or Exceptional Conditions in the Linux kernel's networking stack. The ATT&CK framework does not directly map to this specific kernel-level configuration flaw as it primarily affects local service availability rather than remote code execution, but it aligns with techniques related to Denial of Service via protocol manipulation if an attacker can influence socket options on a vulnerable system or exploit misconfigured services for resource exhaustion. Although the primary impact is functional stability and connection reliability, improper handling of such parameters could theoretically lead to memory corruption or kernel panics in edge cases where downstream functions assume non-zero values without bounds checking, thereby compromising system integrity.

To mitigate this vulnerability, developers must implement explicit validation logic within the L2CAP socket option processing routine. The code should check if txwin_size is zero and automatically substitute it with a sensible default value that complies with Bluetooth specifications for ERTM mode before sending configuration requests to peers. This ensures robustness against misconfigured applications and prevents protocol-level errors during channel setup. System administrators and developers integrating Bluetooth stacks into their services should ensure they are running patched versions of the Linux kernel where this logic correction has been applied, thereby maintaining reliable connectivity and preventing potential service disruptions caused by invalid window size configurations.

Responsible

Linux

Reservation

09/25/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

low

Sources

Want to know what is going to be exploited?

We predict KEV entries!