Description
In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Fix bandwidth group reservation indexing Valid bandwidth group IDs range from 1 through MAX_GROUPS, while Group ID 0 is reserved. tb_consumed_dp_bandwidth() uses the Group ID directly to index its local group_reserved[] array. The array currently has MAX_GROUPS entries, so its valid indices are 0 through MAX_GROUPS - 1. Group ID MAX_GROUPS therefore accesses one element past the end, and the final group's reserved bandwidth is not included when the array is summed. Give group_reserved[] MAX_GROUPS + 1 entries so direct Group ID indexing covers the reserved ID 0 and valid IDs 1 through MAX_GROUPS.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
52a4490e89d7c4effe613d8dffd2ac0a2a786bd7 to < 0bfb67ba366cd68d1d0ad935760577bae1d5df27affected52a4490e89d7c4effe613d8dffd2ac0a2a786bd7 to < 9977321835c7ae71d12a43bed7baa5bd514d01c3affected52a4490e89d7c4effe613d8dffd2ac0a2a786bd7 to < 0a8c9ed4f166216642a8c084f0de415169c88088affected52a4490e89d7c4effe613d8dffd2ac0a2a786bd7 to < d2ee4d47aacbd2ba456092eeec670dba35fde291affected
Linux Linux
Default version status: affected
6.9affected0 to < 6.9unaffected6.12.104 to ≤ 6.12.*unaffected6.18.45 to ≤ 6.18.*unaffected7.1.9 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected