CVE-2026-143316: Bluetooth: L2CAP: Hold incoming data until encryption key size is known
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: L2CAP: Hold incoming data until encryption key size is known
Once encryption is enabled on an ACL link, the encryption key size is read from the controller, using hdev->minenckeysize in the meantime. Data received before the reply is processed with that key size, so a peer starting SMP over BR/EDR right after encryption, which it may do, gets its Pairing Request rejected with "Encryption Key Size" whenever the pending security level is FIPS, as that requires a 16 octet key:
> HCI Event: Encryption Change (0x08) plen 4 > ACL Data RX: Handle 1 flags 0x02 dlen 11 BR/EDR SMP: Pairing Request (0x01) len 6 @ MGMT Event: Authentication Failed (0x0011) plen 8 Status: Authentication Failed (0x05) < HCI Command: Read Encryption Key Size (0x05|0x0008) plen 2 > HCI Event: Command Complete (0x0e) plen 7 Key size: 16 < ACL Data TX: Handle 1 flags 0x00 dlen 6 BR/EDR SMP: Pairing Failed (0x05) len 1 Reason: Encryption key size (0x06)
Mark the connection with HCICONNENCKEYSIZEPEND while the key size is read and hold incoming L2CAP data back in pendingrx meanwhile, processing it once the reply is handled.
Found with mgmt-tester "Pairing Acceptor - SMP over BR/EDR 2" under User Mode Linux time travel, where the emulated peer always replies before the key size is read.
Affected Software
Event History
Frequently Asked Questions
Which Bluetooth connections are exposed to this issue?
The issue applies to BR/EDR Bluetooth connections using SMP when encryption has just been enabled and the connection requires the FIPS security level. FIPS requires a 16-octet encryption key.
What timing is needed to trigger the failure?
A peer must start SMP over BR/EDR immediately after encryption is enabled, before the controller's encryption-key-size reply has been processed. Incoming data is then evaluated using the temporary minimum encryption key size rather than the actual key size.
How can an affected authentication failure be recognized?
Bluetooth logs may show an Encryption Change event followed by an incoming BR/EDR SMP Pairing Request, an Authentication Failed management event, and a Pairing Failed response with reason "Encryption key size." A subsequent Read Encryption Key Size completion may report a 16-octet key.
What does the resolved behavior change?
The fix marks the connection as having a pending encryption key size and holds incoming L2CAP data until the controller reports the key size. The queued data is processed only after that reply is handled.