CVE-2026-107467: Out-of-bounds read in Bluetooth Mesh Firmware Distribution Server Receivers Get handler
The Bluetooth Mesh Firmware Distribution Server handles Receivers Get in handlereceiversget() (subsys/bluetooth/mesh/dfdsrv.c). This handler limits the number of returned entries with MIN(cnt, srv->targetcnt - first), where first is the First Index taken from the message. When first is greater than srv->targetcnt, the subtraction is negative after integer promotion. The MIN() macro then returns that negative value, and storing it in the uint16t cnt wraps it to a large count. The loop then reads srv->targets[first + i] with no bound other than the response buffer's tailroom.
Any mesh node holding an application key bound to the Firmware Distribution Server model can trigger this. Within radio or relay range, it sends a 4-byte Receivers Get message whose First Index is beyond the current receiver count. For example, any non-zero index when no receivers are configured, which is the default state. Because First Index can be as large as 65535, the reads can land up to roughly 1.3 MB past the targets array (with the default CONFIGBTMESHDFDSRVTARGETSMAX of 8).
The server copies bit fields from the out-of-bounds memory into the Receivers List response and sends it to the requester. This leaks fragments of adjacent device RAM. A large index can also make the read hit unmapped or protected memory and fault, crashing the distributor node. The fix sends an empty list when First Index is out of range, as the Mesh DFU specification requires.