CVE-2026-31772·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.19.12
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.14% — higher than 4% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-31772 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.14%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 6.19.12
Fixed in: 6.19.12
How to fix this CVE
Update your Linux kernel to version 6.19.12 or later to resolve a critical stack buffer overflow in the Bluetooth HCI subsystem. The vulnerability allows local attackers with standard user privileges to corrupt kernel memory by creating ISO sockets with the maximum number of BIS entries. Apply this patch immediately, especially on systems with Bluetooth functionality enabled.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r | grep -E '^6\.19\.(0-11|[0-9]|1[0-1])$' — if this matches, your system is vulnerable
- Verify Bluetooth HCI is loaded: lsmod | grep -E 'bluetooth|hci' — confirms the vulnerable component is active
- Search kernel logs for KASAN stack-out-of-bounds errors: sudo dmesg | grep -i 'kasan.*stack-out-of-bounds.*hci_le_big_create_sync'
- Confirm patch installation: uname -r should show 6.19.12 or higher; cross-check with cat /proc/version
FAQ
What is CVE-2026-31772?
CVE-2026-31772 is a stack buffer overflow in the Linux kernel's Bluetooth HCI layer that occurs when ISO sockets are created with more than 17 BIS (Broadcast Isochronous Stream) entries. The hci_le_big_create_sync() function allocates insufficient stack space, causing up to 14 bytes of memory corruption when handling the maximum supported 31 BIS entries.
Is CVE-2026-31772 being actively exploited?
No, CVE-2026-31772 is not currently listed on the CISA KEV catalog and no public exploits are available. However, the vulnerability is trivial to trigger locally and could be weaponized by local privilege escalation exploits targeting Bluetooth-capable systems.
What versions of Kernel are affected by CVE-2026-31772?
Linux kernel versions 6.19.0 through 6.19.11 are vulnerable. The fix was released in kernel 6.19.12 and later stable releases.
How do I check if my server is vulnerable to CVE-2026-31772?
Run: uname -r — if the output shows 6.19.0 through 6.19.11, your system is vulnerable. For Ubuntu/Debian: dpkg -l | grep linux-image; for RHEL/CentOS: rpm -qa | grep kernel-
Does Defensia detect CVE-2026-31772?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-31772 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-31772. Free for 1 server.
Get started free