CVE-2026-72333

Bluetooth: L2CAP: fix tx ident leak for commands without a response

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

Description

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

Bluetooth: L2CAP: fix tx ident leak for commands without a response

Commit 6c3ea155e5ee ("Bluetooth: L2CAP: Fix not tracking outstanding TX ident") changed ident allocation to use an IDA, releasing idents in l2cap_put_ident() when the matching response command is received.

But identifiers allocated for commands that have no response defined are never released. In particular L2CAP_LE_CREDITS is sent repeatedly for the lifetime of an LE CoC channel, so a peer streaming data to the host exhausts the 1-255 ident range after 254 credit packets. From then on l2cap_get_ident() fails:

kernel: Bluetooth: Unable to allocate ident: -28

and every subsequent L2CAP_LE_CREDITS packet is sent with ident 0, which is invalid (Core Spec, Vol 3, Part A, Section 4: "Signaling identifier 0x00 is an invalid identifier and shall never be used in any command"). Remote stacks that validate the ident drop these commands, never receive new credits, and the channel stalls permanently. With default socket buffers this happens after roughly 0.5 MB of received data (the exact amount depends on the socket receive buffer):

< ACL Data TX: Handle 2048 flags 0x00 dlen 12 LE L2CAP: LE Flow Control Credit (0x16) ident 0 len 4 Source CID: 64 Credits: 1

Release the ident immediately after sending L2CAP_LE_CREDITS since no response will ever release it. Use a local variable instead of chan->ident so that an ident that an EXT_FLOWCTL channel may be waiting on (e.g. a pending reconfigure) is not overwritten by a credit packet.

Also add the missing L2CAP_LE_CONN_RSP case to l2cap_put_ident() so idents allocated for outgoing L2CAP_LE_CONN_REQ commands are released when the response arrives.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e86554c37d3d2b4b24608e0313f882cae28b8adb to before b8a32a5fc915b024c60f18d51b6cffd2bd64d4a6Affected
  • 9b24ad4787cad46a3917620799f8455c6533b8df to before bd1e01170341291292fd4c46b5f6949da282ca6cAffected
  • ea6cf86167b3972caa68972d2a1ad43ecbbb8331 to before 0c602cb8f148a36bfb39c25ade400bdadc023c4fAffected
  • 6c3ea155e5ee3e56606233acde8309afda66d483 to before d0a2b0c81f112540a337cde1c20251bf05ddf1daAffected
  • 6c3ea155e5ee3e56606233acde8309afda66d483 to before 6e1930ece855a4c256f1c7e6632d634cfb9888b5Affected
  • ed97bb2cf96684ee646be6f37e4c4835f9d30caaAffected
  • 84bc3197f7d87c5b89c156e853d0561a9154ecebAffected
  • 8c1cdbc1bacc0cf9c27c3ebda11a81c3dcd01630Affected
  • 6.18.21 to before 6.18.40Affected
  • 5.10.261 to before 5.11Affected
  • 5.15.212 to before 5.16Affected
  • 6.19.11 to before 6.20Affected
LinuxLinux
  • 7.0Affected
  • before 7.0Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.