CVE-2026-90257: Bluetooth: virtio_bt: avoid OOB read of build info string
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-90257 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.13 with commit afd2daa26c7abd734d78bd274fc6c59a15e61063 and fixed in 5.15.221 with commit fb445b3466a8d1c7a0b0d0676fb475e3ce22d94e Issue introduced in 5.13 with commit afd2daa26c7abd734d78bd274fc6c59a15e61063 and fixed in 6.1.188 with commit d08c99abf06133a7829d46627e77e3315ca974d2 Issue introduced in 5.13 with commit afd2daa26c7abd734d78bd274fc6c59a15e61063 and fixed in 6.6.157 with commit 0e388d805233a883a31271676eae6031dfc9e898 Issue introduced in 5.13 with commit afd2daa26c7abd734d78bd274fc6c59a15e61063 and fixed in 6.12.110 with commit 54e9387eb7546eaa6f600220599d55740956ffc3 Issue introduced in 5.13 with commit afd2daa26c7abd734d78bd274fc6c59a15e61063 and fixed in 6.18.52 with commit be1e3df2c49c91b0a052c6563884e8d39bd768b2 Issue introduced in 5.13 with commit afd2daa26c7abd734d78bd274fc6c59a15e61063 and fixed in 7.2.6 with commit 84ea9c99874804f5ca13f35bbc186ba93902f30f Issue introduced in 5.13 with commit afd2daa26c7abd734d78bd274fc6c59a15e61063 and fixed in 7.3-rc1 with commit 502adc06ba76dee19c292ae4a07d74d202fe734d
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-90257
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/bluetooth/virtio_bt.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/fb445b3466a8d1c7a0b0d0676fb475e3ce22d94e https://git.kernel.org/stable/c/d08c99abf06133a7829d46627e77e3315ca974d2 https://git.kernel.org/stable/c/0e388d805233a883a31271676eae6031dfc9e898 https://git.kernel.org/stable/c/54e9387eb7546eaa6f600220599d55740956ffc3 https://git.kernel.org/stable/c/be1e3df2c49c91b0a052c6563884e8d39bd768b2 https://git.kernel.org/stable/c/84ea9c99874804f5ca13f35bbc186ba93902f30f https://git.kernel.org/stable/c/502adc06ba76dee19c292ae4a07d74d202fe734d