# CVE-2026-93247: Bluetooth: mgmt: fix 'hdev-\>discovery.uuids' NULL dereference

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-24T15:51:04.897Z
- **Modified:** 2026-10-19T10:17:15.900Z

## Who should check

- Anyone running Linux \>= 86f3dcd1f331cfd4fd7ec88906955134ec51afbe, \< f02c01ccd12cb2b8a290077d4c90f29a6e109b16; \>= 7ce9bb0b95fc280e9212b8922590c492ca1d9c39, \< bbd262d2d750b67b15a5e1008d3848309c87e7a7; \>= 16852eccbdfaf41a666705e3f8be55cf2864c5ca, \< 18fda026a13c5abd6c1e0dfd3549f490b73378fb; \>= 2935e556850e9c94d7a00adf14d3cd7fe406ac03, \< c3f63610bceaa182e4683b23cc47baf36b5f1496; \>= 2935e556850e9c94d7a00adf14d3cd7fe406ac03, \< ee2135a14fb2a3e176149122764d293f0796b1eb; \>= 2935e556850e9c94d7a00adf14d3cd7fe406ac03, \< 59eecbe2f2f38d8f3e1104bd11da97f9a2c58998; a351ff6b8ecca4229afaa0d98042bead8de64799; f8069f34c4c976786ded97498012225af87435d7; \>= 6.1.159, \< 6.1.188; \>= 6.6.117, \< 6.6.157; …
- Anyone running Linux 6.17

## Description

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

Bluetooth: mgmt: fix 'hdev-\>discovery.uuids' NULL dereference

'uuid\_count' member of struct 'discovery\_state' is assigned and read
without any locks, so there is a chance of situation when
uuid\_count != 0, but uuids is NULL and there will be NULL pointer
dereference.

Possible race:
'hci\_update\_passive\_scan\_sync'
  'hci\_discovery\_filter\_clear'
    hdev-\>discovery.uuid\_count = 0;
      \<----------------------preempted-----------------------------\>
                        'start\_service\_discovery'
                          // Set uuid\_count to value != 0
                          hdev-\>discovery.uuid\_count = uuid\_count;
                          hdev-\>discovery.uuids = kmemdup(...);
      \<----------------------preempted-----------------------------\>
    spin\_lock(&hdev-\>discovery.lock);
    kfree(hdev-\>discovery.uuids);
    hdev-\>discovery.uuids = NULL;
    spin\_unlock(&hdev-\>discovery.lock);

Now uuids == NULL and uuid\_count != 0.
So 'mgmt\_device\_found' -\> 'is\_filter\_match' -\> 'eir\_has\_uuids' receives
non consistent discovery state, where NULL dereference of uuids happens.

To fix it let's add discovery.lock around every read/write of uuid\_count,
uuids pair of struct members. It is also important to assign uuid\_count
value only after success kmemdup() allocation in
start\_service\_discovery(), otherwise uuids is NULL, because kmemdup failed,
but uuid\_count is already assigned to non zero value.

The following panic happens:

\[ \] ------------\[ cut here \]------------
\[ \] Unable to handle kernel NULL pointer dereference at virtual
address 0000000000000000
\[ \] Internal error: Oops: 0000000096000006 \[\#1\] PREEMPT SMP
\[ \] CPU: 0 PID: 15056 Comm: kworker/u9:2
\[ \] Workqueue: hci0 hci\_rx\_work
\[ \] pstate: 10400009 (nzcV daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\[ \] pc : eir\_has\_uuids+0x2d8/0x590
\[ \] lr : is\_filter\_match+0x258/0x320
...
\[ \] Call trace:
\[ \]  eir\_has\_uuids+0x2d8/0x590
\[ \]  is\_filter\_match+0x258/0x320
\[ \]  mgmt\_device\_found+0x5b0/0xafc
\[ \]  process\_adv\_report.part.0+0x8c8/0xf14
\[ \]  hci\_le\_adv\_report\_evt+0x338/0x3f0
\[ \]  hci\_le\_meta\_evt+0x1f0/0x4c8
\[ \]  hci\_event\_packet+0x440/0xc9c
\[ \]  hci\_rx\_work+0x44c/0xaf8
\[ \]  process\_one\_work+0x54c/0x103c
\[ \]  worker\_thread+0x6c4/0x10c4
\[ \]  kthread+0x274/0x2ec
\[ \]  ret\_from\_fork+0x10/0x20
\[ \] Code: 14000004 91004021 eb14003f 54000180 (f9400024)
\[ \] ---\[ end trace 0000000000000000 \]---

## Affected and fixed versions

- Linux: \>= 86f3dcd1f331cfd4fd7ec88906955134ec51afbe, \< f02c01ccd12cb2b8a290077d4c90f29a6e109b16; \>= 7ce9bb0b95fc280e9212b8922590c492ca1d9c39, \< bbd262d2d750b67b15a5e1008d3848309c87e7a7; \>= 16852eccbdfaf41a666705e3f8be55cf2864c5ca, \< 18fda026a13c5abd6c1e0dfd3549f490b73378fb; \>= 2935e556850e9c94d7a00adf14d3cd7fe406ac03, \< c3f63610bceaa182e4683b23cc47baf36b5f1496; \>= 2935e556850e9c94d7a00adf14d3cd7fe406ac03, \< ee2135a14fb2a3e176149122764d293f0796b1eb; \>= 2935e556850e9c94d7a00adf14d3cd7fe406ac03, \< 59eecbe2f2f38d8f3e1104bd11da97f9a2c58998; a351ff6b8ecca4229afaa0d98042bead8de64799; f8069f34c4c976786ded97498012225af87435d7; \>= 6.1.159, \< 6.1.188; \>= 6.6.117, \< 6.6.157; … (cvelist)
- Linux: 6.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-93247. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93247.md
Affected: Linux >= 86f3dcd1f331cfd4fd7ec88906955134ec51afbe, < f02c01ccd12cb2b8a290077d4c90f29a6e109b16; >= 7ce9bb0b95fc280e9212b8922590c492ca1d9c39, < bbd262d2d750b67b15a5e1008d3848309c87e7a7; >= 16852eccbdfaf41a666705e3f8be55cf2864c5ca, < 18fda026a13c5abd6c1e0dfd3549f490b73378fb; >= 2935e556850e9c94d7a00ad…
Fixed in: Linux 18fda026a13c5abd6c1e0dfd3549f490b73378fb, Linux 59eecbe2f2f38d8f3e1104bd11da97f9a2c58998, Linux 6.1.188, Linux 6.6.157

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.
```

## FAQ

### Is CVE-2026-93247 being exploited?

There is no confirmed exploitation: CVE-2026-93247 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-93247?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-93247?

Linux \>= 86f3dcd1f331cfd4fd7ec88906955134ec51afbe, \< f02c01ccd12cb2b8a290077d4c90f29a6e109b16; \>= 7ce9bb0b95fc280e9212b8922590c492ca1d9c39, \< bbd262d2d750b67b15a5e1008d3848309c87e7a7; \>= 16852eccbdfaf41a666705e3f8be55cf2864c5ca, \< 18fda026a13c5abd6c1e0dfd3549f490b73378fb; \>= 2935e556850e9c94d7a00adf14d3cd7fe406ac03, \< c3f63610bceaa182e4683b23cc47baf36b5f1496; \>= 2935e556850e9c94d7a00adf14d3cd7fe406ac03, \< ee2135a14fb2a3e176149122764d293f0796b1eb; \>= 2935e556850e9c94d7a00adf14d3cd7fe406ac03, \< 59eecbe2f2f38d8f3e1104bd11da97f9a2c58998; a351ff6b8ecca4229afaa0d98042bead8de64799; f8069f34c4c976786ded97498012225af87435d7; \>= 6.1.159, \< 6.1.188; \>= 6.6.117, \< 6.6.157; …; Linux 6.17.

### Is there a fix for CVE-2026-93247?

Yes. Fixed in Linux 18fda026a13c5abd6c1e0dfd3549f490b73378fb, Linux 59eecbe2f2f38d8f3e1104bd11da97f9a2c58998, Linux 6.1.188, Linux 6.6.157. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-93247?

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.

## References

- other: <https://git.kernel.org/stable/c/f02c01ccd12cb2b8a290077d4c90f29a6e109b16>
- other: <https://git.kernel.org/stable/c/bbd262d2d750b67b15a5e1008d3848309c87e7a7>
- other: <https://git.kernel.org/stable/c/18fda026a13c5abd6c1e0dfd3549f490b73378fb>
- other: <https://git.kernel.org/stable/c/c3f63610bceaa182e4683b23cc47baf36b5f1496>
- other: <https://git.kernel.org/stable/c/ee2135a14fb2a3e176149122764d293f0796b1eb>
- other: <https://git.kernel.org/stable/c/59eecbe2f2f38d8f3e1104bd11da97f9a2c58998>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-93247>

HTML: <https://flawdb.com/CVE-2026-93247> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-93247>
