# CVE-2022-48878: Bluetooth: hci\_qca: Fix driver shutdown on closed serdev

> 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.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-08-21T06:10:09.418Z
- **Modified:** 2026-08-05T08:52:46.199Z

## Who should check

- Anyone running Linux \>= 7e7bbddd029b644f00f0ffbfbc485ed71977d0d5, \< e84ec6e25df9bb0968599e92eacedaf3a0a5b587; \>= 7e7bbddd029b644f00f0ffbfbc485ed71977d0d5, \< 908d1742b6e694e84ead5c62e4b7c1bfbb8b46a3; \>= 7e7bbddd029b644f00f0ffbfbc485ed71977d0d5, \< ea3ebda47dd56f6e1c62f2e0e1b6e1b0a973e447; \>= 7e7bbddd029b644f00f0ffbfbc485ed71977d0d5, \< 272970be3dabd24cbe50e393ffee8f04aec3b9a8
- Anyone running Linux 5.8

## Description

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

Bluetooth: hci\_qca: Fix driver shutdown on closed serdev

The driver shutdown callback (which sends EDL\_SOC\_RESET to the device
over serdev) should not be invoked when HCI device is not open (e.g. if
hci\_dev\_open\_sync() failed), because the serdev and its TTY are not open
either.  Also skip this step if device is powered off
(qca\_power\_shutdown()).

The shutdown callback causes use-after-free during system reboot with
Qualcomm Atheros Bluetooth:

  Unable to handle kernel paging request at virtual address
  0072662f67726fd7
  ...
  CPU: 6 PID: 1 Comm: systemd-shutdow Tainted: G        W
  6.1.0-rt5-00325-g8a5f56bcfcca \#8
  Hardware name: Qualcomm Technologies, Inc. Robotics RB5 (DT)
  Call trace:
   tty\_driver\_flush\_buffer+0x4/0x30
   serdev\_device\_write\_flush+0x24/0x34
   qca\_serdev\_shutdown+0x80/0x130 \[hci\_uart\]
   device\_shutdown+0x15c/0x260
   kernel\_restart+0x48/0xac

KASAN report:

  BUG: KASAN: use-after-free in tty\_driver\_flush\_buffer+0x1c/0x50
  Read of size 8 at addr ffff16270c2e0018 by task systemd-shutdow/1

  CPU: 7 PID: 1 Comm: systemd-shutdow Not tainted
  6.1.0-next-20221220-00014-gb85aaf97fb01-dirty \#28
  Hardware name: Qualcomm Technologies, Inc. Robotics RB5 (DT)
  Call trace:
   dump\_backtrace.part.0+0xdc/0xf0
   show\_stack+0x18/0x30
   dump\_stack\_lvl+0x68/0x84
   print\_report+0x188/0x488
   kasan\_report+0xa4/0xf0
   \_\_asan\_load8+0x80/0xac
   tty\_driver\_flush\_buffer+0x1c/0x50
   ttyport\_write\_flush+0x34/0x44
   serdev\_device\_write\_flush+0x48/0x60
   qca\_serdev\_shutdown+0x124/0x274
   device\_shutdown+0x1e8/0x350
   kernel\_restart+0x48/0xb0
   \_\_do\_sys\_reboot+0x244/0x2d0
   \_\_arm64\_sys\_reboot+0x54/0x70
   invoke\_syscall+0x60/0x190
   el0\_svc\_common.constprop.0+0x7c/0x160
   do\_el0\_svc+0x44/0xf0
   el0\_svc+0x2c/0x6c
   el0t\_64\_sync\_handler+0xbc/0x140
   el0t\_64\_sync+0x190/0x194

## Affected and fixed versions

- Linux: \>= 7e7bbddd029b644f00f0ffbfbc485ed71977d0d5, \< e84ec6e25df9bb0968599e92eacedaf3a0a5b587; \>= 7e7bbddd029b644f00f0ffbfbc485ed71977d0d5, \< 908d1742b6e694e84ead5c62e4b7c1bfbb8b46a3; \>= 7e7bbddd029b644f00f0ffbfbc485ed71977d0d5, \< ea3ebda47dd56f6e1c62f2e0e1b6e1b0a973e447; \>= 7e7bbddd029b644f00f0ffbfbc485ed71977d0d5, \< 272970be3dabd24cbe50e393ffee8f04aec3b9a8 (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 272970be3dabd24cbe50e393ffee8f04aec3b9a8 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-48878.md
Affected: Linux >= 7e7bbddd029b644f00f0ffbfbc485ed71977d0d5, < e84ec6e25df9bb0968599e92eacedaf3a0a5b587; >= 7e7bbddd029b644f00f0ffbfbc485ed71977d0d5, < 908d1742b6e694e84ead5c62e4b7c1bfbb8b46a3; >= 7e7bbddd029b644f00f0ffbfbc485ed71977d0d5, < ea3ebda47dd56f6e1c62f2e0e1b6e1b0a973e447; >= 7e7bbddd029b644f00f0ffb…
Fixed in: Linux 908d1742b6e694e84ead5c62e4b7c1bfbb8b46a3, Linux 272970be3dabd24cbe50e393ffee8f04aec3b9a8

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-2022-48878 being exploited?

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

### How serious is CVE-2022-48878?

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

### Which versions are affected by CVE-2022-48878?

Linux \>= 7e7bbddd029b644f00f0ffbfbc485ed71977d0d5, \< e84ec6e25df9bb0968599e92eacedaf3a0a5b587; \>= 7e7bbddd029b644f00f0ffbfbc485ed71977d0d5, \< 908d1742b6e694e84ead5c62e4b7c1bfbb8b46a3; \>= 7e7bbddd029b644f00f0ffbfbc485ed71977d0d5, \< ea3ebda47dd56f6e1c62f2e0e1b6e1b0a973e447; \>= 7e7bbddd029b644f00f0ffbfbc485ed71977d0d5, \< 272970be3dabd24cbe50e393ffee8f04aec3b9a8; Linux 5.8.

### Is there a fix for CVE-2022-48878?

Yes. Fixed in Linux 908d1742b6e694e84ead5c62e4b7c1bfbb8b46a3, Linux 272970be3dabd24cbe50e393ffee8f04aec3b9a8. Upgrade Linux to 272970be3dabd24cbe50e393ffee8f04aec3b9a8 or later.

### How do I check if I'm affected by CVE-2022-48878?

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/e84ec6e25df9bb0968599e92eacedaf3a0a5b587>
- patch: <https://git.kernel.org/stable/c/908d1742b6e694e84ead5c62e4b7c1bfbb8b46a3>
- patch: <https://git.kernel.org/stable/c/ea3ebda47dd56f6e1c62f2e0e1b6e1b0a973e447>
- patch: <https://git.kernel.org/stable/c/272970be3dabd24cbe50e393ffee8f04aec3b9a8>

## 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-2022-48878>

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