CVE-2026-107467
Description
The Bluetooth Mesh Firmware Distribution Server handles Receivers Get in handle_receivers_get() (subsys/bluetooth/mesh/dfd_srv.c). This handler limits the number of returned entries with MIN(cnt, srv->target_cnt - first), where first is the First Index taken from the message. When first is greater than srv->target_cnt, the subtraction is negative after integer promotion. The MIN() macro then returns that negative value, and storing it in the uint16_t 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 CONFIG_BT_MESH_DFD_SRV_TARGETS_MAX 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.
Affected products
1Patches
Vulnerability mechanics
References
2News mentions
0No linked articles in our index yet.