Linux KernelOperating system · Linux

CVE-2026-46275

HIGH · 7.8 CVSS v3.1 Published 2026-06-08
Fix available
A fix is available. Upgrade to 4.15 / 4.20 or later.
See remediation →
80/100
Remediation priority · High
Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The Linux kernel's Bluetooth hci_uart driver contains multiple Use-After-Free (UAF) and race condition vulnerabilities. Workqueues are not properly cancelled if HCI_UART_PROTO_READY isn't set during TTY close, leading to UAF when scheduled work accesses freed hu struct. Additional races exist between hci_uart_flush() and write_work causing double-free, and between hci_free_dev(hdev) and vendor close callbacks dereferencing hu->hdev. Initialization paths also have races where hci_uart_tty_receive() accesses hu->hdev outside proper locking.

MitigationApply the kernel patch that reorders hci_uart_tty_close() to cancel workqueues before freeing resources, moves hu->proto->close(hu) before hci_free_dev(hdev), and adds proper locking around hdev access in receive paths.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Linux KernelOperating system
Affected:>= 4.14.203, < 4.15>= 4.19.153, < 4.20>= 5.4.73, < 5.5>= 5.8.17, < 5.9>= 5.9.2, < 5.10.258>= 5.11, < 5.15.209>= 5.16, < 6.1.175>= 6.2, < 6.6.142>= 6.7, < 6.12.92>= 6.13, < 6.18.34>= 6.19, < 7.0.11= 7.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check kernel version against affected ranges
    Run `uname -r` or `cat /proc/version` to get the kernel version. Compare to the affected version ranges: >= 4.14.203 && < 4.15, >= 4.19.153 && < 4.20, >= 5.4.73 && < 5.5, >= 5.8.17 && < 5.9, >= 5.9.2 && < 5.10.258, >= 5.11 && < 5.15.209, >= 5.16 && < 6.1.175, >= 6.2 && < 6.6.142, >= 6.7 && < 6.12.92, >= 6.13 && < 6.18.34, >= 6.19 && < 7.0.11, = 7.1
    Affected if The kernel version falls within any of the listed vulnerable ranges
  2. Verify Bluetooth UART driver is loaded or built-in
    Run `lsmod | grep hci_uart` to check if the hci_uart module is loaded. Also check `cat /proc/modules` for hci_uart entries. For built-in kernels, check `cat /boot/config-$(uname -r) | grep CONFIG_BT_HCIUART` to see if Bluetooth UART support is enabled.
    Affected if The hci_uart module is loaded or CONFIG_BT_HCIUART is set in kernel config (CONFIG_BT_HCIUART=m or =y)
  3. Check for active Bluetooth UART devices
    Examine /sys/class/tty/ for UART-based Bluetooth devices. Run `ls -la /sys/class/tty/` and look for hci* entries. Also check `hciconfig -a` output for UART-attached devices (look for H4, H5, or BCSP in device info).
    Affected if Any HCI device is attached via UART (H4/H5/BCSP protocols) rather than USB or SDIO
  4. Inspect TTY device configuration for Bluetooth
    Check /sys/class/tty/*/device/ for Bluetooth UART device paths. Run `cat /proc/tty/drivers` to see if hci_uart is registered as a line discipline. Use `rfkill list` to identify Bluetooth adapters.
    Affected if Bluetooth devices using the hci_uart line discipline are present in the system

The system is affected if the kernel version is in a vulnerable range AND the Bluetooth UART driver (hci_uart) is loaded or built-in AND active Bluetooth UART devices exist on the system.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 4.15 / 4.20 / 5.5 or later
Fixed in 4.154.205.5
Vendor patch git.kernel.org →
Interim mitigation

Apply the kernel patch that reorders hci_uart_tty_close() to cancel workqueues before freeing resources, moves hu->proto->close(hu) before hci_free_dev(hdev), and adds proper locking around hdev access in receive paths.

Recommended fix High confidence

Upgrade to kernel >= 5.9 (or 4.15/4.20/5.5 depending on current branch)

  1. Identify the currently running kernel version using `uname -r`
  2. Check if the current version falls within any of the affected ranges: 4.14.203-4.14.x, 4.19.153-4.19.x, 5.4.73-5.4.x, or 5.8.17-5.8.x
  3. If affected, upgrade the Linux kernel to a fixed release: 4.15 or later for 4.14.x users, 4.20 or later for 4.19.x users, 5.5 or later for 5.4.x users, or 5.9 or later for 5.8.x users
  4. Apply the upgrade via standard distribution package manager (e.g., `apt-get dist-upgrade`, `yum update`, or `dnf upgrade`)
  5. Reboot the system to load the patched kernel
  6. Verify the fix commit (192cb0f1ca706d9a1bc36ae0ad5f666d1e4fd894) is included in the new kernel using `modinfo bluetooth` or checking kernel config
Caveat Kernel upgrades may require matching hardware drivers and may require system reboot; ensure compatibility with userspace tools

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Linux Kernel Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing6.0 h
  • Review / QA3.0 h
15.0 hours of engineering $2,560
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,096.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-46275 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-46275 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data