HIGH Introduced in 5.13
virtio_bt BuildInfo OOB
CVE-2026-90257
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
01Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: virtio_bt: avoid OOB read of build info string The virtbt_setup_zephyr() sends the Zephyr vendor command 0xfc08 (Read Build Information) and hands the response to bt_dev_info() and hci_set_fw_info() as a "%s" string starting at skb->data + 1, without checking the length. A backend that answers with status only leaves that pointer past the end of the received data, so the walk reads adjacent slab memory until it meets a NUL. Those bytes reach the kernel log and the firmware-info debugfs file. To fix this, print the string with a bounded "%.*s" limited to skb->len - 1. A short or unterminated response then prints as much as arrived instead of failing setup. This mirrors commit dd068ef04412 ("Bluetooth: bpa10x: avoid OOB read of revision string in bpa10x_setup()"), which fixed the identical pattern.
02KernelScan AI Analysis
Risk summary
A guest kernel running the virtio Bluetooth transport driver can be forced to read past the end of a response buffer when a malicious or compromised virtio backend sends a short reply to the Read Build Information command. The over-read walks adjacent slab memory until a NUL byte, leaking kernel memory into the kernel log and a debugfs file, and may cross a page boundary causing a kernel panic. The attack is triggered by the host or VMM controlling the virtio backend, requiring no privileges inside the guest.
Vulnerability analysis
During Bluetooth controller setup, the virtio Bluetooth transport driver sends a vendor command to read build information and passes the response to logging and firmware-info routines as an unbounded C string starting one byte into the buffer, without first checking that the response contains any payload bytes. A backend that returns only a status byte leaves the string pointer past the valid data, so the kernel walks adjacent slab memory until it hits a NUL, sending those bytes to the kernel log and a debugfs file. The fix bounds the string output to the actual number of payload bytes received, so a short or unterminated response prints only what arrived. The vulnerable path is reachable only inside a guest whose host or VMM provides a virtio Bluetooth device, meaning the attacker controls the virtio backend and the guest kernel is the target.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 5.15 | 5.13 | 5.15.221 | fb445b3466a8 |
| 6.1 | 5.13 | 6.1.188 | d08c99abf061 |
| 6.12 | 5.13 | 6.12.110 | 54e9387eb754 |
| 6.18 | 5.13 | 6.18.52 | be1e3df2c49c |
| 6.6 | 5.13 | 6.6.157 | 0e388d805233 |
| 7.2 | 5.13 | 7.2.6 | 84ea9c998748 |
| mainline | 5.13 | 7.3 | 502adc06ba76 |
| cip/6.1 | 5.13 | 6.1.189-cip61 | d08c99abf061 |
| cip/6.1-rt | 5.13 | 6.1.189-cip61-rt32 | d08c99abf061 |
| cip/6.12 | 5.13 | 6.12.111-cip32 | 54e9387eb754 |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.111-cip32 |
| cip/6.1 | Fixed in 6.1.189-cip61 |
| cip/6.1-rt | Fixed in 6.1.189-cip61-rt32 |