CVE-2026-46332: greybus: gb-beagleplay: bound bootloader receive buffering
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
greybus: gb-beagleplay: bound bootloader receive buffering
cc1352_bootloader_rx() appends each serdev chunk into the fixed rx_buffer before parsing bootloader packets. The helper can keep leftover bytes between callbacks and may receive multiple packets in one callback, so a single count value is not constrained by one packet length.
Check that the incoming chunk fits in the remaining receive buffer space before memcpy(). If it does not, drop the staged data and consume the bytes instead of overflowing rx_buffer.
The Linux kernel CVE team has assigned CVE-2026-46332 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.12 with commit 0cf7befa3ea2e7284d8ba5b8f45a546865b09edb and fixed in 6.12.86 with commit 663c2728a6d0f781044431111b53a27f71027e48 Issue introduced in 6.12 with commit 0cf7befa3ea2e7284d8ba5b8f45a546865b09edb and fixed in 6.18.27 with commit fb91d4e49fcbea0b5091394ac5b8f7d4124265c3 Issue introduced in 6.12 with commit 0cf7befa3ea2e7284d8ba5b8f45a546865b09edb and fixed in 7.0.4 with commit 0339a746ff7cd3f9d10f565e89c99dc93191e58d Issue introduced in 6.12 with commit 0cf7befa3ea2e7284d8ba5b8f45a546865b09edb and fixed in 7.1-rc1 with commit 1214bf28965ceaf584fb20d357731264dd2e10e1
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-46332
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/greybus/gb-beagleplay.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/663c2728a6d0f781044431111b53a27f71027e48 https://git.kernel.org/stable/c/fb91d4e49fcbea0b5091394ac5b8f7d4124265c3 https://git.kernel.org/stable/c/0339a746ff7cd3f9d10f565e89c99dc93191e58d https://git.kernel.org/stable/c/1214bf28965ceaf584fb20d357731264dd2e10e1