# CVE-2026-46275: Bluetooth: hci\_uart: fix UAFs and race conditions in close and init paths

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.13% (percentile 1, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2026-06-08T14:30:54.232Z
- **Modified:** 2026-10-19T20:18:40.563Z

## Who should check

- Anyone running Linux \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< 78aad93e938f013d9272fe0ee168f27883afa95c; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< e2d19969c8d9198ecc3090bcd5312ecd503a3339; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< c85cff648a2bc92322912db5f1727ad05afae7b6; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< 9d20d48be2c4a071fb015eb09bda2cecd25daf34; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< 81c7a3c22a0f2808cf4ae0b4908f59763b23606d; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< 192cb0f1ca706d9a1bc36ae0ad5f666d1e4fd894; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< 7338031946bd06f6dff149e67b60c4cd083bfea8; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< c1bb9336ae6b54a5f6a353c4bd4ed9a4307e429b; cd27019bc149f20f12ebec943c2b4c775745a5a0; aea63181b6fcb6b9ccde1ada9ea51be19c4015af; …
- Anyone running Linux 5.10

## Description

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

Bluetooth: hci\_uart: fix UAFs and race conditions in close and init paths

Vulnerabilities leading to Use-After-Free (UAF) and Null Pointer
Dereference (NPD) conditions were observed in the lifecycle management
of hci\_uart.

The primary issue arises because the workqueues (init\_ready and
write\_work) are only flushed/cancelled if the HCI\_UART\_PROTO\_READY
flag is set during TTY close. If a hangup occurs before setup completes,
hci\_uart\_tty\_close() skips the teardown of these workqueues and
proceeds to free the \`hu\` struct. When the scheduled work executes
later, it blindly dereferences the freed \`hu\` struct.

Furthermore, several data races and UAFs were identified in the teardown
sequence:
1. Calling hci\_uart\_flush() from hci\_uart\_close() without effectively
   disabling write\_work causes a race condition where both can concurrently
   double-free hu-\>tx\_skb. This happens because protocol timers can
   concurrently invoke hci\_uart\_tx\_wakeup() and requeue write\_work.
2. Calling hci\_free\_dev(hdev) before hu-\>proto-\>close(hu) causes a UAF
   when vendor specific protocol close callbacks dereference hu-\>hdev.
3. In the initialization error paths, failing to take the proto\_lock
   write lock before clearing PROTO\_READY leads to races with active
   readers. Additionally, hci\_uart\_tty\_receive() accesses hu-\>hdev
   outside the read lock, leading to UAFs if the initialization error
   path frees hdev concurrently.

Fix these synchronization and lifecycle issues by:
1. Re-ordering hci\_uart\_tty\_close() to clear HCI\_UART\_PROTO\_READY first,
   followed immediately by a cancel\_work\_sync(&hu-\>write\_work). Clearing
   the flag locks out concurrent protocol timers from successfully invoking
   hci\_uart\_tx\_wakeup(), effectively rendering the cancellation permanent
   and preventing the tx\_skb double-free.
2. Note: Clearing PROTO\_READY early causes hci\_uart\_close() to skip
   hu-\>proto-\>flush(). This is perfectly safe in the tty\_close path
   because hu-\>proto-\>close() executes shortly after, which intrinsically
   purges all protocol SKB queues and tears down the state.
3. Relocating hu-\>proto-\>close(hu) strictly prior to hci\_free\_dev(hdev)
   across all close and error paths to prevent vendor-level UAFs.
4. Moving the hdev-\>stat.byte\_rx increment in hci\_uart\_tty\_receive()
   inside the proto\_lock read-side critical section to safely synchronize
   with device unregistration.
5. Adding cancel\_work\_sync(&hu-\>write\_work) to hci\_uart\_close() to safely
   flush the workqueue before hci\_uart\_flush() is invoked via the HCI core.
6. Utilizing cancel\_work\_sync() instead of disable\_work\_sync() across
   all paths to prevent permanently breaking user-space retry capabilities.

## Affected and fixed versions

- Linux: \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< 78aad93e938f013d9272fe0ee168f27883afa95c; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< e2d19969c8d9198ecc3090bcd5312ecd503a3339; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< c85cff648a2bc92322912db5f1727ad05afae7b6; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< 9d20d48be2c4a071fb015eb09bda2cecd25daf34; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< 81c7a3c22a0f2808cf4ae0b4908f59763b23606d; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< 192cb0f1ca706d9a1bc36ae0ad5f666d1e4fd894; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< 7338031946bd06f6dff149e67b60c4cd083bfea8; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< c1bb9336ae6b54a5f6a353c4bd4ed9a4307e429b; cd27019bc149f20f12ebec943c2b4c775745a5a0; aea63181b6fcb6b9ccde1ada9ea51be19c4015af; … (cvelist)
- Linux: 5.10 (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-46275. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46275.md
Affected: Linux >= 3b799254cf6f481460719023d7a18f46651e5e7f, < 78aad93e938f013d9272fe0ee168f27883afa95c; >= 3b799254cf6f481460719023d7a18f46651e5e7f, < e2d19969c8d9198ecc3090bcd5312ecd503a3339; >= 3b799254cf6f481460719023d7a18f46651e5e7f, < c85cff648a2bc92322912db5f1727ad05afae7b6; >= 3b799254cf6f48146071902…
Fixed in: Linux 78aad93e938f013d9272fe0ee168f27883afa95c, Linux 9d20d48be2c4a071fb015eb09bda2cecd25daf34, Linux 81c7a3c22a0f2808cf4ae0b4908f59763b23606d, Linux 192cb0f1ca706d9a1bc36ae0ad5f666d1e4fd894, Linux 7338031946bd06f6dff149e67b60c4cd083bfea8

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-46275 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< 78aad93e938f013d9272fe0ee168f27883afa95c; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< e2d19969c8d9198ecc3090bcd5312ecd503a3339; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< c85cff648a2bc92322912db5f1727ad05afae7b6; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< 9d20d48be2c4a071fb015eb09bda2cecd25daf34; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< 81c7a3c22a0f2808cf4ae0b4908f59763b23606d; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< 192cb0f1ca706d9a1bc36ae0ad5f666d1e4fd894; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< 7338031946bd06f6dff149e67b60c4cd083bfea8; \>= 3b799254cf6f481460719023d7a18f46651e5e7f, \< c1bb9336ae6b54a5f6a353c4bd4ed9a4307e429b; cd27019bc149f20f12ebec943c2b4c775745a5a0; aea63181b6fcb6b9ccde1ada9ea51be19c4015af; …; Linux 5.10.

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

Yes. Fixed in Linux 78aad93e938f013d9272fe0ee168f27883afa95c, Linux 9d20d48be2c4a071fb015eb09bda2cecd25daf34, Linux 81c7a3c22a0f2808cf4ae0b4908f59763b23606d, Linux 192cb0f1ca706d9a1bc36ae0ad5f666d1e4fd894, Linux 7338031946bd06f6dff149e67b60c4cd083bfea8. No fix listed yet: follow the vendor advisory.

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

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

- patch: <https://git.kernel.org/stable/c/78aad93e938f013d9272fe0ee168f27883afa95c>
- patch: <https://git.kernel.org/stable/c/e2d19969c8d9198ecc3090bcd5312ecd503a3339>
- patch: <https://git.kernel.org/stable/c/c85cff648a2bc92322912db5f1727ad05afae7b6>
- patch: <https://git.kernel.org/stable/c/9d20d48be2c4a071fb015eb09bda2cecd25daf34>
- patch: <https://git.kernel.org/stable/c/81c7a3c22a0f2808cf4ae0b4908f59763b23606d>
- patch: <https://git.kernel.org/stable/c/192cb0f1ca706d9a1bc36ae0ad5f666d1e4fd894>
- patch: <https://git.kernel.org/stable/c/7338031946bd06f6dff149e67b60c4cd083bfea8>
- patch: <https://git.kernel.org/stable/c/c1bb9336ae6b54a5f6a353c4bd4ed9a4307e429b>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## 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-46275>

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