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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
afd2daa26c7abd734d78bd274fc6c59a15e61063 to < fb445b3466a8d1c7a0b0d0676fb475e3ce22d94eaffectedafd2daa26c7abd734d78bd274fc6c59a15e61063 to < d08c99abf06133a7829d46627e77e3315ca974d2affectedafd2daa26c7abd734d78bd274fc6c59a15e61063 to < 0e388d805233a883a31271676eae6031dfc9e898affectedafd2daa26c7abd734d78bd274fc6c59a15e61063 to < 54e9387eb7546eaa6f600220599d55740956ffc3affectedafd2daa26c7abd734d78bd274fc6c59a15e61063 to < be1e3df2c49c91b0a052c6563884e8d39bd768b2affectedafd2daa26c7abd734d78bd274fc6c59a15e61063 to < 84ea9c99874804f5ca13f35bbc186ba93902f30faffectedafd2daa26c7abd734d78bd274fc6c59a15e61063 to < 502adc06ba76dee19c292ae4a07d74d202fe734daffected
Linux Linux
Default version status: affected
5.13affected0 to < 5.13unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- 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 ↗