# CVE-2025-38592: Bluetooth: hci\_devcd\_dump: fix out-of-bounds via dev\_coredumpv

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; 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.38% (percentile 24, 2026-11-28)
- **CWE:** CWE-125
- **Published:** 2025-08-19T17:03:18.229Z
- **Modified:** 2026-08-05T12:03:13.863Z

## Who should check

- Anyone running Linux \>= b257e02ecc46f8561d8bd88943164a10c9e90a80, \< efd55f6a59449f8d4e4953f12c177aa902b7451f; \>= b257e02ecc46f8561d8bd88943164a10c9e90a80, \< 8c021ad797f9171d015cf0a932a3fbe5232190f5; \>= b257e02ecc46f8561d8bd88943164a10c9e90a80, \< 7af4d7b53502286c6cf946d397ab183e76d14820
- Anyone running Linux 6.15

## Description

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

Bluetooth: hci\_devcd\_dump: fix out-of-bounds via dev\_coredumpv

Currently both dev\_coredumpv and skb\_put\_data in hci\_devcd\_dump use
hdev-\>dump.head. However, dev\_coredumpv can free the buffer. From
dev\_coredumpm\_timeout documentation, which is used by dev\_coredumpv:

    \> Creates a new device coredump for the given device. If a previous one hasn't
    \> been read yet, the new coredump is discarded. The data lifetime is determined
    \> by the device coredump framework and when it is no longer needed the @free
    \> function will be called to free the data.

If the data has not been read by the userspace yet, dev\_coredumpv will
discard new buffer, freeing hdev-\>dump.head. This leads to
vmalloc-out-of-bounds error when skb\_put\_data tries to access
hdev-\>dump.head.

A crash report from syzbot illustrates this:

    ==================================================================
    BUG: KASAN: vmalloc-out-of-bounds in skb\_put\_data
    include/linux/skbuff.h:2752 \[inline\]
    BUG: KASAN: vmalloc-out-of-bounds in hci\_devcd\_dump+0x142/0x240
    net/bluetooth/coredump.c:258
    Read of size 140 at addr ffffc90004ed5000 by task kworker/u9:2/5844

    CPU: 1 UID: 0 PID: 5844 Comm: kworker/u9:2 Not tainted
    6.14.0-syzkaller-10892-g4e82c87058f4 \#0 PREEMPT(full)
    Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
    Google 02/12/2025
    Workqueue: hci0 hci\_devcd\_timeout
    Call Trace:
     \<TASK\>
     \_\_dump\_stack lib/dump\_stack.c:94 \[inline\]
     dump\_stack\_lvl+0x116/0x1f0 lib/dump\_stack.c:120
     print\_address\_description mm/kasan/report.c:408 \[inline\]
     print\_report+0xc3/0x670 mm/kasan/report.c:521
     kasan\_report+0xe0/0x110 mm/kasan/report.c:634
     check\_region\_inline mm/kasan/generic.c:183 \[inline\]
     kasan\_check\_range+0xef/0x1a0 mm/kasan/generic.c:189
     \_\_asan\_memcpy+0x23/0x60 mm/kasan/shadow.c:105
     skb\_put\_data include/linux/skbuff.h:2752 \[inline\]
     hci\_devcd\_dump+0x142/0x240 net/bluetooth/coredump.c:258
     hci\_devcd\_timeout+0xb5/0x2e0 net/bluetooth/coredump.c:413
     process\_one\_work+0x9cc/0x1b70 kernel/workqueue.c:3238
     process\_scheduled\_works kernel/workqueue.c:3319 \[inline\]
     worker\_thread+0x6c8/0xf10 kernel/workqueue.c:3400
     kthread+0x3c2/0x780 kernel/kthread.c:464
     ret\_from\_fork+0x45/0x80 arch/x86/kernel/process.c:153
     ret\_from\_fork\_asm+0x1a/0x30 arch/x86/entry/entry\_64.S:245
     \</TASK\>

    The buggy address ffffc90004ed5000 belongs to a vmalloc virtual mapping
    Memory state around the buggy address:
     ffffc90004ed4f00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
     ffffc90004ed4f80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
    \>ffffc90004ed5000: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
                       ^
     ffffc90004ed5080: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
     ffffc90004ed5100: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
    ==================================================================

To avoid this issue, reorder dev\_coredumpv to be called after
skb\_put\_data that does not free the data.

## Affected and fixed versions

- Linux: \>= b257e02ecc46f8561d8bd88943164a10c9e90a80, \< efd55f6a59449f8d4e4953f12c177aa902b7451f; \>= b257e02ecc46f8561d8bd88943164a10c9e90a80, \< 8c021ad797f9171d015cf0a932a3fbe5232190f5; \>= b257e02ecc46f8561d8bd88943164a10c9e90a80, \< 7af4d7b53502286c6cf946d397ab183e76d14820 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 7af4d7b53502286c6cf946d397ab183e76d14820 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-38592.md
Affected: Linux >= b257e02ecc46f8561d8bd88943164a10c9e90a80, < efd55f6a59449f8d4e4953f12c177aa902b7451f; >= b257e02ecc46f8561d8bd88943164a10c9e90a80, < 8c021ad797f9171d015cf0a932a3fbe5232190f5; >= b257e02ecc46f8561d8bd88943164a10c9e90a80, < 7af4d7b53502286c6cf946d397ab183e76d14820; Linux 6.15
Fixed in: Linux 8c021ad797f9171d015cf0a932a3fbe5232190f5, Linux 7af4d7b53502286c6cf946d397ab183e76d14820

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-2025-38592 being exploited?

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

### How serious is CVE-2025-38592?

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

### Which versions are affected by CVE-2025-38592?

Linux \>= b257e02ecc46f8561d8bd88943164a10c9e90a80, \< efd55f6a59449f8d4e4953f12c177aa902b7451f; \>= b257e02ecc46f8561d8bd88943164a10c9e90a80, \< 8c021ad797f9171d015cf0a932a3fbe5232190f5; \>= b257e02ecc46f8561d8bd88943164a10c9e90a80, \< 7af4d7b53502286c6cf946d397ab183e76d14820; Linux 6.15.

### Is there a fix for CVE-2025-38592?

Yes. Fixed in Linux 8c021ad797f9171d015cf0a932a3fbe5232190f5, Linux 7af4d7b53502286c6cf946d397ab183e76d14820. Upgrade Linux to 7af4d7b53502286c6cf946d397ab183e76d14820 or later.

### How do I check if I'm affected by CVE-2025-38592?

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/efd55f6a59449f8d4e4953f12c177aa902b7451f>
- patch: <https://git.kernel.org/stable/c/8c021ad797f9171d015cf0a932a3fbe5232190f5>
- patch: <https://git.kernel.org/stable/c/7af4d7b53502286c6cf946d397ab183e76d14820>

## 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-2025-38592>

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