# CVE-2026-98294: Bluetooth: hci\_qca: Do not write to the serial port after it is closed

> 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 6, 2026-11-26)
- **Published:** 2026-10-06T08:45:53.338Z
- **Modified:** 2026-10-19T10:18:31.170Z

## Who should check

- Anyone running Linux \>= fa9ad876b8e0ebd2b4367ef1580f89be64ebd5d3, \< a5414b0a9464b863733c8bd97493cb443a210ec4; \>= fa9ad876b8e0ebd2b4367ef1580f89be64ebd5d3, \< 15754e4ec47ac5d117c9609c34a49ed6980ac4a1; \>= fa9ad876b8e0ebd2b4367ef1580f89be64ebd5d3, \< 4e93c65f87825e1e012bce56615320aeb123815d
- Anyone running Linux 4.19

## Description

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

Bluetooth: hci\_qca: Do not write to the serial port after it is closed

hci\_uart\_close() closes the serdev port if HCI\_QUIRK\_NON\_PERSISTENT\_SETUP
is set (for example, for the WCN399x family). A failed hci\_dev\_open\_sync()
following a successful qca\_setup() calls hdev-\>close() but not
hdev-\>shutdown(), so the port is closed while power-\>vregs\_on is left true.
qca\_serdev\_remove() then passes its power-\>vregs\_on test and calls
qca\_power\_off(), which writes to the closed port unconditionally.

Seen on a WCN3988 by unbinding the driver after a controller failure. The
trace below is from a 7.0.0 based kernel, where qca\_power\_off() was still
named qca\_power\_shutdown():

  Unable to handle kernel NULL pointer dereference at virtual address
  0000000000000038
  Call trace:
   tty\_set\_termios+0x50/0x238 (P)
   ttyport\_set\_baudrate+0x84/0xc0
   serdev\_device\_set\_baudrate+0x24/0x40
   qca\_power\_shutdown+0x158/0x1fc \[hci\_uart\]
   qca\_serdev\_remove+0x54/0x68 \[hci\_uart\]
   serdev\_drv\_remove+0x1c/0x2c
   device\_remove+0x4c/0x80
   device\_release\_driver\_internal+0x1cc/0x224
   device\_driver\_detach+0x18/0x24
   unbind\_store+0xb4/0xc0

Check HCI\_UART\_PROTO\_READY, which hci\_uart\_close() clears in the same place
it closes the port, before writing to it. The regulator disable is left
unconditional so the controller is still powered down.

The dangling serport-\>tty that turns this into a use-after-free is
addressed in a separate patch.

## Affected and fixed versions

- Linux: \>= fa9ad876b8e0ebd2b4367ef1580f89be64ebd5d3, \< a5414b0a9464b863733c8bd97493cb443a210ec4; \>= fa9ad876b8e0ebd2b4367ef1580f89be64ebd5d3, \< 15754e4ec47ac5d117c9609c34a49ed6980ac4a1; \>= fa9ad876b8e0ebd2b4367ef1580f89be64ebd5d3, \< 4e93c65f87825e1e012bce56615320aeb123815d (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- Upgrade Linux to 4e93c65f87825e1e012bce56615320aeb123815d or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98294.md
Affected: Linux >= fa9ad876b8e0ebd2b4367ef1580f89be64ebd5d3, < a5414b0a9464b863733c8bd97493cb443a210ec4; >= fa9ad876b8e0ebd2b4367ef1580f89be64ebd5d3, < 15754e4ec47ac5d117c9609c34a49ed6980ac4a1; >= fa9ad876b8e0ebd2b4367ef1580f89be64ebd5d3, < 4e93c65f87825e1e012bce56615320aeb123815d; Linux 4.19
Fixed in: Linux 15754e4ec47ac5d117c9609c34a49ed6980ac4a1, Linux 4e93c65f87825e1e012bce56615320aeb123815d

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

There is no confirmed exploitation: CVE-2026-98294 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-98294?

It has no CVSS score yet. Unknown.

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

Linux \>= fa9ad876b8e0ebd2b4367ef1580f89be64ebd5d3, \< a5414b0a9464b863733c8bd97493cb443a210ec4; \>= fa9ad876b8e0ebd2b4367ef1580f89be64ebd5d3, \< 15754e4ec47ac5d117c9609c34a49ed6980ac4a1; \>= fa9ad876b8e0ebd2b4367ef1580f89be64ebd5d3, \< 4e93c65f87825e1e012bce56615320aeb123815d; Linux 4.19.

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

Yes. Fixed in Linux 15754e4ec47ac5d117c9609c34a49ed6980ac4a1, Linux 4e93c65f87825e1e012bce56615320aeb123815d. Upgrade Linux to 4e93c65f87825e1e012bce56615320aeb123815d or later.

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

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/a5414b0a9464b863733c8bd97493cb443a210ec4>
- other: <https://git.kernel.org/stable/c/15754e4ec47ac5d117c9609c34a49ed6980ac4a1>
- other: <https://git.kernel.org/stable/c/4e93c65f87825e1e012bce56615320aeb123815d>

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

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