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.
Product status
0cf7befa3ea2e7284d8ba5b8f45a546865b09edb (git) before 663c2728a6d0f781044431111b53a27f71027e48
0cf7befa3ea2e7284d8ba5b8f45a546865b09edb (git) before fb91d4e49fcbea0b5091394ac5b8f7d4124265c3
0cf7befa3ea2e7284d8ba5b8f45a546865b09edb (git) before 0339a746ff7cd3f9d10f565e89c99dc93191e58d
0cf7befa3ea2e7284d8ba5b8f45a546865b09edb (git) before 1214bf28965ceaf584fb20d357731264dd2e10e1
6.12
Any version before 6.12
6.12.86 (semver)
6.18.27 (semver)
7.0.4 (semver)
7.1-rc1 (original_commit_for_fix)
References
git.kernel.org/...c/663c2728a6d0f781044431111b53a27f71027e48
git.kernel.org/...c/fb91d4e49fcbea0b5091394ac5b8f7d4124265c3
git.kernel.org/...c/0339a746ff7cd3f9d10f565e89c99dc93191e58d
git.kernel.org/...c/1214bf28965ceaf584fb20d357731264dd2e10e1