# CVE-2023-53057: Bluetooth: HCI: Fix global-out-of-bounds

> 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.30% (percentile 16, 2026-11-28)
- **CWE:** CWE-125
- **Published:** 2025-05-02T15:55:12.118Z
- **Modified:** 2026-08-05T09:12:34.853Z

## Who should check

- Anyone running Linux \>= d0b137062b2de75b264b84143d21c98abc5f5ad2, \< b3168abd24245aa0775c5a387dcf94d36ca7e738; \>= d0b137062b2de75b264b84143d21c98abc5f5ad2, \< 8497222b22b591c6b2d106e0e3c1672ffe4e10e0; \>= d0b137062b2de75b264b84143d21c98abc5f5ad2, \< bce56405201111807cc8e4f47c6de3e10b17c1ac
- Anyone running Linux 5.17

## Description

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

Bluetooth: HCI: Fix global-out-of-bounds

To loop a variable-length array, hci\_init\_stage\_sync(stage) considers
that stage\[i\] is valid as long as stage\[i-1\].func is valid.
Thus, the last element of stage\[\].func should be intentionally invalid
as hci\_init0\[\], le\_init2\[\], and others did.
However, amp\_init1\[\] and amp\_init2\[\] have no invalid element, letting
hci\_init\_stage\_sync() keep accessing amp\_init1\[\] over its valid range.
This patch fixes this by adding {} in the last of amp\_init1\[\] and
amp\_init2\[\].

==================================================================
BUG: KASAN: global-out-of-bounds in hci\_dev\_open\_sync (
/v6.2-bzimage/net/bluetooth/hci\_sync.c:3154
/v6.2-bzimage/net/bluetooth/hci\_sync.c:3343
/v6.2-bzimage/net/bluetooth/hci\_sync.c:4418
/v6.2-bzimage/net/bluetooth/hci\_sync.c:4609
/v6.2-bzimage/net/bluetooth/hci\_sync.c:4689)
Read of size 8 at addr ffffffffaed1ab70 by task kworker/u5:0/1032
CPU: 0 PID: 1032 Comm: kworker/u5:0 Not tainted 6.2.0 \#3
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04
Workqueue: hci1 hci\_power\_on
Call Trace:
 \<TASK\>
dump\_stack\_lvl (/v6.2-bzimage/lib/dump\_stack.c:107 (discriminator 1))
print\_report (/v6.2-bzimage/mm/kasan/report.c:307
  /v6.2-bzimage/mm/kasan/report.c:417)
? hci\_dev\_open\_sync (/v6.2-bzimage/net/bluetooth/hci\_sync.c:3154
  /v6.2-bzimage/net/bluetooth/hci\_sync.c:3343
  /v6.2-bzimage/net/bluetooth/hci\_sync.c:4418
  /v6.2-bzimage/net/bluetooth/hci\_sync.c:4609
  /v6.2-bzimage/net/bluetooth/hci\_sync.c:4689)
kasan\_report (/v6.2-bzimage/mm/kasan/report.c:184
  /v6.2-bzimage/mm/kasan/report.c:519)
? hci\_dev\_open\_sync (/v6.2-bzimage/net/bluetooth/hci\_sync.c:3154
  /v6.2-bzimage/net/bluetooth/hci\_sync.c:3343
  /v6.2-bzimage/net/bluetooth/hci\_sync.c:4418
  /v6.2-bzimage/net/bluetooth/hci\_sync.c:4609
  /v6.2-bzimage/net/bluetooth/hci\_sync.c:4689)
hci\_dev\_open\_sync (/v6.2-bzimage/net/bluetooth/hci\_sync.c:3154
  /v6.2-bzimage/net/bluetooth/hci\_sync.c:3343
  /v6.2-bzimage/net/bluetooth/hci\_sync.c:4418
  /v6.2-bzimage/net/bluetooth/hci\_sync.c:4609
  /v6.2-bzimage/net/bluetooth/hci\_sync.c:4689)
? \_\_pfx\_hci\_dev\_open\_sync (/v6.2-bzimage/net/bluetooth/hci\_sync.c:4635)
? mutex\_lock (/v6.2-bzimage/./arch/x86/include/asm/atomic64\_64.h:190
  /v6.2-bzimage/./include/linux/atomic/atomic-long.h:443
  /v6.2-bzimage/./include/linux/atomic/atomic-instrumented.h:1781
  /v6.2-bzimage/kernel/locking/mutex.c:171
  /v6.2-bzimage/kernel/locking/mutex.c:285)
? \_\_pfx\_mutex\_lock (/v6.2-bzimage/kernel/locking/mutex.c:282)
hci\_power\_on (/v6.2-bzimage/net/bluetooth/hci\_core.c:485
  /v6.2-bzimage/net/bluetooth/hci\_core.c:984)
? \_\_pfx\_hci\_power\_on (/v6.2-bzimage/net/bluetooth/hci\_core.c:969)
? read\_word\_at\_a\_time (/v6.2-bzimage/./include/asm-generic/rwonce.h:85)
? strscpy (/v6.2-bzimage/./arch/x86/include/asm/word-at-a-time.h:62
  /v6.2-bzimage/lib/string.c:161)
process\_one\_work (/v6.2-bzimage/kernel/workqueue.c:2294)
worker\_thread (/v6.2-bzimage/./include/linux/list.h:292
  /v6.2-bzimage/kernel/workqueue.c:2437)
? \_\_pfx\_worker\_thread (/v6.2-bzimage/kernel/workqueue.c:2379)
kthread (/v6.2-bzimage/kernel/kthread.c:376)
? \_\_pfx\_kthread (/v6.2-bzimage/kernel/kthread.c:331)
ret\_from\_fork (/v6.2-bzimage/arch/x86/entry/entry\_64.S:314)
 \</TASK\>
The buggy address belongs to the variable:
amp\_init1+0x30/0x60
The buggy address belongs to the physical page:
page:000000003a157ec6 refcount:1 mapcount:0 mapping:0000000000000000 ia
flags: 0x200000000001000(reserved\|node=0\|zone=2)
raw: 0200000000001000 ffffea0005054688 ffffea0005054688 000000000000000
raw: 0000000000000000 0000000000000000 00000001ffffffff 000000000000000
page dumped because: kasan: bad access detected
Memory state around the buggy address:
 ffffffffaed1aa00: f9 f9 f9 f9 00 00 00 00 f9 f9 f9 f9 00 00 00 00
 ffffffffaed1aa80: 00 00 00 00 f9 f9 f9 f9 00 00 00 00 00 00 00 00
\>ffffffffaed1ab00: 00 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 f9 f9
                  
---truncated---

## Affected and fixed versions

- Linux: \>= d0b137062b2de75b264b84143d21c98abc5f5ad2, \< b3168abd24245aa0775c5a387dcf94d36ca7e738; \>= d0b137062b2de75b264b84143d21c98abc5f5ad2, \< 8497222b22b591c6b2d106e0e3c1672ffe4e10e0; \>= d0b137062b2de75b264b84143d21c98abc5f5ad2, \< bce56405201111807cc8e4f47c6de3e10b17c1ac (cvelist)
- Linux: 5.17 (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-2023-53057. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53057.md
Affected: Linux >= d0b137062b2de75b264b84143d21c98abc5f5ad2, < b3168abd24245aa0775c5a387dcf94d36ca7e738; >= d0b137062b2de75b264b84143d21c98abc5f5ad2, < 8497222b22b591c6b2d106e0e3c1672ffe4e10e0; >= d0b137062b2de75b264b84143d21c98abc5f5ad2, < bce56405201111807cc8e4f47c6de3e10b17c1ac; Linux 5.17
Fixed in: Linux 8497222b22b591c6b2d106e0e3c1672ffe4e10e0

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-2023-53057 being exploited?

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

### How serious is CVE-2023-53057?

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

### Which versions are affected by CVE-2023-53057?

Linux \>= d0b137062b2de75b264b84143d21c98abc5f5ad2, \< b3168abd24245aa0775c5a387dcf94d36ca7e738; \>= d0b137062b2de75b264b84143d21c98abc5f5ad2, \< 8497222b22b591c6b2d106e0e3c1672ffe4e10e0; \>= d0b137062b2de75b264b84143d21c98abc5f5ad2, \< bce56405201111807cc8e4f47c6de3e10b17c1ac; Linux 5.17.

### Is there a fix for CVE-2023-53057?

Yes. Fixed in Linux 8497222b22b591c6b2d106e0e3c1672ffe4e10e0. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-53057?

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/b3168abd24245aa0775c5a387dcf94d36ca7e738>
- patch: <https://git.kernel.org/stable/c/8497222b22b591c6b2d106e0e3c1672ffe4e10e0>
- patch: <https://git.kernel.org/stable/c/bce56405201111807cc8e4f47c6de3e10b17c1ac>

## 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-2023-53057>

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