CVE-2025-39889
Bluetooth: l2cap: Check encryption key size on incoming connection
Mitigation
- Upgrade Linux to 522e9ed157e3c21b4dd623c79967f72c21e45b78 or later.
Who should check
- Anyone running Linux >= 4f911a538e089cce808a15dc3277250f4f8daef9, < ed503d340a501e414114ddc614a3aae4f6e9eae2; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < 24b2cdfc16e9bd6ab3d03b8e01c590755bd3141f; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < c6d527bbd3d3896375079f5dbc8b7f96734a3ba5; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < 9e3114958d87ea88383cbbf38c89e04b8ea1bce5; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < d49798ecd26e0ee7995a7fc1e90ca5cd9b4402d6; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < d4ca2fd218caafbf50e3343ba1260c6a23b5676a; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < 522e9ed157e3c21b4dd623c79967f72c21e45b78
- Anyone running Linux 5.11
Vulnerability facts
- Affected
- Linux >= 4f911a538e089cce808a15dc3277250f4f8daef9, < ed503d340a501e414114ddc614a3aae4f6e9eae2; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < 24b2cdfc16e9bd6ab3d03b8e01c590755bd3141f; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < c6d527bbd3d3896375079f5dbc8b7f96734a3ba5; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < 9e3114958d87ea88383cbbf38c89e04b8ea1bce5; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < d49798ecd26e0ee7995a7fc1e90ca5cd9b4402d6; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < d4ca2fd218caafbf50e3343ba1260c6a23b5676a; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < 522e9ed157e3c21b4dd623c79967f72c21e45b78; Linux 5.11
- Fixed in
- Linux 24b2cdfc16e9bd6ab3d03b8e01c590755bd3141f, Linux 9e3114958d87ea88383cbbf38c89e04b8ea1bce5, Linux 522e9ed157e3c21b4dd623c79967f72c21e45b78
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 8.1 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.14% chance of exploitation in 30 days (percentile 2, 2026-11-26)
- CWE
- CWE-326
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: l2cap: Check encryption key size on incoming connection This is required for passing GAP/SEC/SEM/BI-04-C PTS test case: Security Mode 4 Level 4, Responder - Invalid Encryption Key Size - 128 bit This tests the security key with size from 1 to 15 bytes while the Security Mode 4 Level 4 requests 16 bytes key size. Currently PTS fails with the following logs: - expected:Connection Response: Code: [3 (0x03)] Code Identifier: (lt)WildCard: Exists(gt) Length: [8 (0x0008)] Destination CID: (lt)WildCard: Exists(gt) Source CID: [64 (0x0040)] Result: [3 (0x0003)] Connection refused - Security block Status: (lt)WildCard: Exists(gt), but received:Connection Response: Code: [3 (0x03)] Code Identifier: [1 (0x01)] Length: [8 (0x0008)] Destination CID: [64 (0x0040)] Source CID: [64 (0x0040)] Result: [0 (0x0000)] Connection Successful Status: [0 (0x0000)] No further information available And HCI logs: < HCI Command: Read Encrypti.. (0x05|0x0008) plen 2 Handle: 14 Address: 00:1B:DC:F2:24:10 (Vencer Co., Ltd.) > HCI Event: Command Complete (0x0e) plen 7 Read Encryption Key Size (0x05|0x0008) ncmd 1 Status: Success (0x00) Handle: 14 Address: 00:1B:DC:F2:24:10 (Vencer Co., Ltd.) Key size: 7 > ACL Data RX: Handle 14 flags 0x02 dlen 12 L2CAP: Connection Request (0x02) ident 1 len 4 PSM: 4097 (0x1001) Source CID: 64 < ACL Data TX: Handle 14 flags 0x00 dlen 16 L2CAP: Connection Response (0x03) ident 1 len 8 Destination CID: 64 Source CID: 64 Result: Connection successful (0x0000) Status: No further information available (0x0000)
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 4f911a538e089cce808a15dc3277250f4f8daef9, < ed503d340a501e414114ddc614a3aae4f6e9eae2; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < 24b2cdfc16e9bd6ab3d03b8e01c590755bd3141f; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < c6d527bbd3d3896375079f5dbc8b7f96734a3ba5; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < 9e3114958d87ea88383cbbf38c89e04b8ea1bce5; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < d49798ecd26e0ee7995a7fc1e90ca5cd9b4402d6; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < d4ca2fd218caafbf50e3343ba1260c6a23b5676a; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < 522e9ed157e3c21b4dd623c79967f72c21e45b78 | — | cvelist |
| Linux | 5.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-39889. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-39889.md Affected: Linux >= 4f911a538e089cce808a15dc3277250f4f8daef9, < ed503d340a501e414114ddc614a3aae4f6e9eae2; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < 24b2cdfc16e9bd6ab3d03b8e01c590755bd3141f; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < c6d527bbd3d3896375079f5dbc8b7f96734a3ba5; >= 288c06973daae4637f25a0d… Fixed in: Linux 24b2cdfc16e9bd6ab3d03b8e01c590755bd3141f, Linux 9e3114958d87ea88383cbbf38c89e04b8ea1bce5, Linux 522e9ed157e3c21b4dd623c79967f72c21e45b78 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/24b2cdfc16e9bd6ab3d03b8e01c590755bd3141f
- https://git.kernel.org/stable/c/c6d527bbd3d3896375079f5dbc8b7f96734a3ba5
- https://git.kernel.org/stable/c/9e3114958d87ea88383cbbf38c89e04b8ea1bce5
- https://git.kernel.org/stable/c/d49798ecd26e0ee7995a7fc1e90ca5cd9b4402d6
- https://git.kernel.org/stable/c/d4ca2fd218caafbf50e3343ba1260c6a23b5676a
- https://git.kernel.org/stable/c/522e9ed157e3c21b4dd623c79967f72c21e45b78
FAQ
Is CVE-2025-39889 being exploited?
There is no confirmed exploitation: CVE-2025-39889 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.14% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-39889?
High: CVSS 8.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-39889?
Linux >= 4f911a538e089cce808a15dc3277250f4f8daef9, < ed503d340a501e414114ddc614a3aae4f6e9eae2; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < 24b2cdfc16e9bd6ab3d03b8e01c590755bd3141f; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < c6d527bbd3d3896375079f5dbc8b7f96734a3ba5; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < 9e3114958d87ea88383cbbf38c89e04b8ea1bce5; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < d49798ecd26e0ee7995a7fc1e90ca5cd9b4402d6; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < d4ca2fd218caafbf50e3343ba1260c6a23b5676a; >= 288c06973daae4637f25a0d1bdaf65fdbf8455f9, < 522e9ed157e3c21b4dd623c79967f72c21e45b78; Linux 5.11.
Is there a fix for CVE-2025-39889?
Yes. Fixed in Linux 24b2cdfc16e9bd6ab3d03b8e01c590755bd3141f, Linux 9e3114958d87ea88383cbbf38c89e04b8ea1bce5, Linux 522e9ed157e3c21b4dd623c79967f72c21e45b78. Upgrade Linux to 522e9ed157e3c21b4dd623c79967f72c21e45b78 or later.
How do I check if I'm affected by CVE-2025-39889?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.