CVE-2025-39889·Kernel vulnerability
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)
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.14.4
- Published
- 2025-09-24
Affected versions
From: 6.13
Until: 6.14.4
Fixed in: 6.14.4
How to fix this CVE
Update your Linux kernel to version 6.14.4 or later to remediate CVE-2025-39889, which addresses improper Bluetooth L2CAP encryption key size validation on incoming connections. This vulnerability could allow attackers on adjacent networks to establish unauthorized connections by bypassing Security Mode 4 Level 4 requirements. Apply the kernel update immediately and reboot your system to activate the patched version.
sudo dnf check-update kernel && sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to display the currently running kernel version and compare against 6.14.4
- Execute 'hcitool con' to list active Bluetooth connections and check for suspicious L2CAP PSM 4097 (0x1001) connections from unknown devices
- Check kernel logs with 'sudo dmesg | grep -i bluetooth' or 'sudo journalctl -u kernel | grep -i bluetooth' for any L2CAP connection request handling anomalies
- After patching, verify the new kernel is active by running 'uname -r' and confirming the version is 6.14.4 or higher
FAQ
What is CVE-2025-39889?
CVE-2025-39889 is a Bluetooth L2CAP vulnerability in the Linux kernel where encryption key size validation is insufficient on incoming connections, potentially allowing attackers to bypass Security Mode 4 Level 4 requirements and establish unauthorized Bluetooth links.
Is CVE-2025-39889 being actively exploited?
No, CVE-2025-39889 is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2025-39889?
Linux kernel versions 6.13 through 6.14.3 are vulnerable. The vulnerability is fixed in kernel version 6.14.4 and later.
How do I check if my server is vulnerable to CVE-2025-39889?
Run 'uname -r' to retrieve your kernel version. If it shows a version between 6.13 and 6.14.3 (inclusive), your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2025-39889?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2025-39889 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/24b2cdfc16e9bd6ab3d03b8e01c590755bd3141f
- https://git.kernel.org/stable/c/522e9ed157e3c21b4dd623c79967f72c21e45b78
- https://git.kernel.org/stable/c/9e3114958d87ea88383cbbf38c89e04b8ea1bce5
- https://git.kernel.org/stable/c/c6d527bbd3d3896375079f5dbc8b7f96734a3ba5
- https://git.kernel.org/stable/c/d49798ecd26e0ee7995a7fc1e90ca5cd9b4402d6
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-39889. Free for 1 server.
Get started free