# CVE-2024-56653: Bluetooth: btmtk: avoid UAF in btmtk\_process\_coredump

> 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.44% (percentile 30, 2026-11-28)
- **CWE:** CWE-416
- **Published:** 2024-12-27T15:06:17.267Z
- **Modified:** 2026-08-05T11:45:50.987Z

## Who should check

- Anyone running Linux \>= 0b70151328781a89c89e4cf3fae21fc0e98d869e, \< ecdcaea0e4057171ea4c3783e1cc1c900ad99125; \>= 0b70151328781a89c89e4cf3fae21fc0e98d869e, \< d20ff1d3cb40479789368f502eedb0a00e4161fc; \>= 0b70151328781a89c89e4cf3fae21fc0e98d869e, \< b548f5e9456c568155499d9ebac675c0d7a296e8
- Anyone running Linux 6.6

## Description

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

Bluetooth: btmtk: avoid UAF in btmtk\_process\_coredump

hci\_devcd\_append may lead to the release of the skb, so it cannot be
accessed once it is called.

==================================================================
BUG: KASAN: slab-use-after-free in btmtk\_process\_coredump+0x2a7/0x2d0 \[btmtk\]
Read of size 4 at addr ffff888033cfabb0 by task kworker/0:3/82

CPU: 0 PID: 82 Comm: kworker/0:3 Tainted: G     U             6.6.40-lockdep-03464-g1d8b4eb3060e \#1 b0b3c1cc0c842735643fb411799d97921d1f688c
Hardware name: Google Yaviks\_Ufs/Yaviks\_Ufs, BIOS Google\_Yaviks\_Ufs.15217.552.0 05/07/2024
Workqueue: events btusb\_rx\_work \[btusb\]
Call Trace:
 \<TASK\>
 dump\_stack\_lvl+0xfd/0x150
 print\_report+0x131/0x780
 kasan\_report+0x177/0x1c0
 btmtk\_process\_coredump+0x2a7/0x2d0 \[btmtk 03edd567dd71a65958807c95a65db31d433e1d01\]
 btusb\_recv\_acl\_mtk+0x11c/0x1a0 \[btusb 675430d1e87c4f24d0c1f80efe600757a0f32bec\]
 btusb\_rx\_work+0x9e/0xe0 \[btusb 675430d1e87c4f24d0c1f80efe600757a0f32bec\]
 worker\_thread+0xe44/0x2cc0
 kthread+0x2ff/0x3a0
 ret\_from\_fork+0x51/0x80
 ret\_from\_fork\_asm+0x1b/0x30
 \</TASK\>

Allocated by task 82:
 stack\_trace\_save+0xdc/0x190
 kasan\_set\_track+0x4e/0x80
 \_\_kasan\_slab\_alloc+0x4e/0x60
 kmem\_cache\_alloc+0x19f/0x360
 skb\_clone+0x132/0xf70
 btusb\_recv\_acl\_mtk+0x104/0x1a0 \[btusb\]
 btusb\_rx\_work+0x9e/0xe0 \[btusb\]
 worker\_thread+0xe44/0x2cc0
 kthread+0x2ff/0x3a0
 ret\_from\_fork+0x51/0x80
 ret\_from\_fork\_asm+0x1b/0x30

Freed by task 1733:
 stack\_trace\_save+0xdc/0x190
 kasan\_set\_track+0x4e/0x80
 kasan\_save\_free\_info+0x28/0xb0
 \_\_\_\_kasan\_slab\_free+0xfd/0x170
 kmem\_cache\_free+0x183/0x3f0
 hci\_devcd\_rx+0x91a/0x2060 \[bluetooth\]
 worker\_thread+0xe44/0x2cc0
 kthread+0x2ff/0x3a0
 ret\_from\_fork+0x51/0x80
 ret\_from\_fork\_asm+0x1b/0x30

The buggy address belongs to the object at ffff888033cfab40
 which belongs to the cache skbuff\_head\_cache of size 232
The buggy address is located 112 bytes inside of
 freed 232-byte region \[ffff888033cfab40, ffff888033cfac28)

The buggy address belongs to the physical page:
page:00000000a174ba93 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x33cfa
head:00000000a174ba93 order:1 entire\_mapcount:0 nr\_pages\_mapped:0 pincount:0
anon flags: 0x4000000000000840(slab\|head\|zone=1)
page\_type: 0xffffffff()
raw: 4000000000000840 ffff888100848a00 0000000000000000 0000000000000001
raw: 0000000000000000 0000000080190019 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
 ffff888033cfaa80: fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc
 ffff888033cfab00: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb
\>ffff888033cfab80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                                     ^
 ffff888033cfac00: fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc
 ffff888033cfac80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================

Check if we need to call hci\_devcd\_complete before calling
hci\_devcd\_append. That requires that we check data-\>cd\_info.cnt \>=
MTK\_COREDUMP\_NUM instead of data-\>cd\_info.cnt \> MTK\_COREDUMP\_NUM, as we
increment data-\>cd\_info.cnt only once the call to hci\_devcd\_append
succeeds.

## Affected and fixed versions

- Linux: \>= 0b70151328781a89c89e4cf3fae21fc0e98d869e, \< ecdcaea0e4057171ea4c3783e1cc1c900ad99125; \>= 0b70151328781a89c89e4cf3fae21fc0e98d869e, \< d20ff1d3cb40479789368f502eedb0a00e4161fc; \>= 0b70151328781a89c89e4cf3fae21fc0e98d869e, \< b548f5e9456c568155499d9ebac675c0d7a296e8 (cvelist)
- Linux: 6.6 (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-2024-56653. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56653.md
Affected: Linux >= 0b70151328781a89c89e4cf3fae21fc0e98d869e, < ecdcaea0e4057171ea4c3783e1cc1c900ad99125; >= 0b70151328781a89c89e4cf3fae21fc0e98d869e, < d20ff1d3cb40479789368f502eedb0a00e4161fc; >= 0b70151328781a89c89e4cf3fae21fc0e98d869e, < b548f5e9456c568155499d9ebac675c0d7a296e8; Linux 6.6
Fixed in: no fixed version listed yet

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-2024-56653 being exploited?

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

### How serious is CVE-2024-56653?

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

### Which versions are affected by CVE-2024-56653?

Linux \>= 0b70151328781a89c89e4cf3fae21fc0e98d869e, \< ecdcaea0e4057171ea4c3783e1cc1c900ad99125; \>= 0b70151328781a89c89e4cf3fae21fc0e98d869e, \< d20ff1d3cb40479789368f502eedb0a00e4161fc; \>= 0b70151328781a89c89e4cf3fae21fc0e98d869e, \< b548f5e9456c568155499d9ebac675c0d7a296e8; Linux 6.6.

### Is there a fix for CVE-2024-56653?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-56653?

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/ecdcaea0e4057171ea4c3783e1cc1c900ad99125>
- patch: <https://git.kernel.org/stable/c/d20ff1d3cb40479789368f502eedb0a00e4161fc>
- patch: <https://git.kernel.org/stable/c/b548f5e9456c568155499d9ebac675c0d7a296e8>

## 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-2024-56653>

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