CVE-2026-31772: Bluetooth: hci_sync: fix stack buffer overflow in hci_le_big_create_sync

Published May 1, 2026
·
Updated

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

Bluetooth: hcisync: fix stack buffer overflow in hcilebigcreatesync

hcilebigcreatesync() uses DEFINEFLEX to allocate a struct hcicplebigcreatesync on the stack with room for 0x11 (17) BIS entries. However, conn->numbis can hold up to HCIMAXISOBIS (31) entries — validated against ISOMAXNUMBIS (0x1f) in the caller hciconnbigcreatesync(). When conn->numbis 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 bcnumbis = ISOMAXNUMBIS (31) and calling listen() will eventually trigger hcilebigcreatesync() from the HCI command sync worker, causing a KASAN-detectable stack-out-of-bounds write:

BUG: KASAN: stack-out-of-bounds in hcilebigcreatesync+0x256/0x3b0 Write of size 31 at addr ffffc90000487b48 by task kworker/u9:0/71

Fix this by changing the DEFINEFLEX count from the incorrect 0x11 to HCIMAXISOBIS, which matches the maximum number of BIS entries that conn->bis can actually carry.

Affected Software

12 affected components
Linux Linux kernel
Linux Linux kernel>=6.11.11<6.12
Linux Linux kernel>=6.12.2<6.12.81
Linux Linux kernel>=6.13.1<6.18.22
Linux Linux kernel>=6.19<6.19.12
Linux Linux kernel=6.13
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Fix the stack buffer overflow by changing the DEFINE_FLEX count from the incorrect 0x11 to HCI_MAX_ISO_BIS (so it matches the maximum number of BIS entries conn->num_bis can hold up to 31).

    Linux kernel Bluetooth (hci_le_big_create_sync / hci_sync) DEFINE_FLEX count for struct hci_cp_le_big_create_sync = HCI_MAX_ISO_BIS
  2. Compensating control

    For affected kernels/hosts, consider isolating or limiting exposure of ISO sockets that can trigger hci_le_big_create_sync (e.g., avoid setting up ISO sockets with conn->num_bis between 18 and 31 until the fix is applied).

Event History

May 1, 2026
CVE Published
via MITRE·02:15 PM
Data Sourced
via MITRE·02:15 PM
DescriptionSeverity
Data Sourced
via Red Hat·03:10 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-31772?

CVE-2026-31772 has been classified as a high severity vulnerability due to its potential to cause stack buffer overflow.

2

Who is affected by CVE-2026-31772?

CVE-2026-31772 affects users of the Linux kernel with Bluetooth functionality.

3

How do I fix CVE-2026-31772?

The fix for CVE-2026-31772 involves updating to the latest version of the Linux kernel that resolves this buffer overflow issue.

4

What is the nature of the vulnerability in CVE-2026-31772?

CVE-2026-31772 is a stack buffer overflow vulnerability in the hci_le_big_create_sync function of the Linux kernel.

5

Is CVE-2026-31772 exploitable?

Yes, CVE-2026-31772 is exploitable, which can lead to denial of service or code execution if successfully attacked.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203