greybus: gb-beagleplay: bound bootloader receive buffering
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's Greybus BeaglePlay bootloader receive handler could overflow a fixed buffer when an incoming chunk exceeds the remaining space. The input does not specify an attack path, authentication requirements, or whether user interaction is needed.
Engineers running Linux kernels with the Greybus BeaglePlay driver should check their kernel vendor's advisory; affected versions are not specified.