5.5

CVE-2024-26903: Bluetooth: rfcomm: Fix null-ptr-deref in rfcomm_check_security

Modified
AliasesUBUNTU-CVE-2024-26903DEBIAN-CVE-2024-26903
Published 17-04-2024Last modified 15-10-2026

Vulnerability summary

CVE-2024-26903 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 21.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.28%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 42 · Related 38

Timeline

  1. 17-04-2024
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: rfcomm: Fix null-ptr-deref in rfcomm_check_security During our fuzz testing of the connection and disconnection process at the RFCOMM layer, we discovered this bug. By comparing the packets from a normal connection and disconnection process with the testcase that triggered a KASAN report. We analyzed the cause of this bug as follows: 1. In the packets captured during a normal connection, the host sends a `Read Encryption Key Size` type of `HCI_CMD` packet (Command Opcode: 0x1408) to the controller to inquire the length of encryption key.After receiving this packet, the controller immediately replies with a Command Completepacket (Event Code: 0x0e) to return the Encryption Key Size. 2. In our fuzz test case, the timing of the controller's response to this packet was delayed to an unexpected point: after the RFCOMM and L2CAP layers had disconnected but before the HCI layer had disconnected. 3. After receiving the Encryption Key Size Response at the time described in point 2, the host still called the rfcomm_check_security function. However, by this time `struct l2cap_conn *conn = l2cap_pi(sk)->chan->conn;` had already been released, and when the function executed `return hci_conn_security(conn->hcon, d->sec_level, auth_type, d->out);`, specifically when accessing `conn->hcon`, a null-ptr-deref error occurred. To fix this bug, check if `sk->sk_state` is BT_CLOSED before calling rfcomm_recv_frame in rfcomm_process_rx.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

22%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.28% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu117 products
  • linuxAll versions (No fix recorded) | < 4.4.0-258.292 | < 4.15.0-228.240 | < 5.4.0-189.209 | < 5.15.0-112.122
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 4.4.0-1135.141 | < 4.4.0-1173.188 | < 4.15.0-1172.185 | < 5.4.0-1128.138 | < 5.15.0-1063.69
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 369f419c097e82407dd429a202cde9a73d3ae29b | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5f369efd9d963c1f711a06c9b8baf9f5ce616d85 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 81d7d920a22fd58ef9aedb1bd0a68ee32bd23e96 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8d1753973f598531baaa2c1033cf7f7b5bb004b0 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 567c0411dc3b424fc7bd1e6109726d7ba32d4f73 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3ead59bafad05f2967ae2438c0528d53244cfde5 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5f9fe302dd3a9bbc50f4888464c1773f45166bfd | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2535b848fa0f42ddff3e5255cf5e742c9b77bb26 | 2.6.12
  • linux_kernel< 4.19.311 | ≥ 4.20, < 5.4.273 | ≥ 5.5, < 5.10.214 | ≥ 5.11, < 5.15.153 | ≥ 5.16, < 6.1.83 | ≥ 6.2, < 6.6.23 | ≥ 6.7, < 6.7.11
Debian1 product
  • linux< 6.1.82-1 | < 6.7.12-1

3 vendors · 120 products

References

36 links
Show all 36 references