CVE-2026-31772
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
Bluetooth: hci_sync: fix stack buffer overflow in hci_le_big_create_sync
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: fix stack buffer overflow in hci_le_big_create_sync hci_le_big_create_sync() uses DEFINE_FLEX to allocate a struct hci_cp_le_big_create_sync on the stack with room for 0x11 (17) BIS entries. However, conn->num_bis can hold up to HCI_MAX_ISO_BIS (31) entries — validated against ISO_MAX_NUM_BIS (0x1f) in the caller hci_conn_big_create_sync(). When conn->num_bis is between 18 and 31, the memcpy that copies conn->bis into cp->bis writes up to 14 bytes past the stack buffer, corrupting adjacent stack memory. This is trivially reproducible: binding an ISO socket with bc_num_bis = ISO_MAX_NUM_BIS (31) and calling listen() will eventually trigger hci_le_big_create_sync() from the HCI command sync worker, causing a KASAN-detectable stack-out-of-bounds write: BUG: KASAN: stack-out-of-bounds in hci_le_big_create_sync+0x256/0x3b0 Write of size 31 at addr ffffc90000487b48 by task kworker/u9:0/71 Fix this by changing the DEFINE_FLEX count from the incorrect 0x11 to HCI_MAX_ISO_BIS, which matches the maximum number of BIS entries that conn->bis can actually carry.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 91d19383b7ed035e22165ae5c836e50bb9f95fbe | affected | git | f5d446624345d309e7a4a1b27ea9f028d6a8c5d9 | Unavailable | None listed |
| 42ecf1947135110ea08abeaca39741636f9a2285 | affected | git | aba0aea354015794e8312dd7efe726967e58aefe | Unavailable | None listed |
| 42ecf1947135110ea08abeaca39741636f9a2285 | affected | git | eaf32002ca7b1ba51c9f140991fd9febe6de79f0 | Unavailable | None listed |
| 42ecf1947135110ea08abeaca39741636f9a2285 | affected | git | bc39a094730ce062fa034a529c93147c096cb488 | Unavailable | None listed |
| 8958e1cee4e2eac1a5b825caa4dd96ce9ed975dd | affected | git | Unavailable | Unavailable | None listed |
| 6.12.2 | affected | semver | 6.12.81 | Unavailable | None listed |
| 6.11.11 | affected | semver | 6.12 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 6.13 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 6.13 | Unavailable | None listed |
| 6.12.81 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.18.22 | unaffected | semver | Unavailable | 6.18.* | None listed |
| 6.19.12 | unaffected | semver | Unavailable | 6.19.* | None listed |
| 7.0 | unaffected | original_commit_for_fix | Unavailable | * | None listed |