In the Linux kernel, the following vulnerability has been resolved:
drm/amd: check num of link levels when update pcie param
In SR-IOV environment, the value of pcie_table->num_of_link_levels will be 0, and num_of_levels - 1 will cause array index out of bounds
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 6.6 | 6.6.3 |
| debian / debian_linux | 11.0 | 11.0.x |
| linux / linux_kernel | 5.19 | 6.1.119 |
| linux / linux_kernel | 6.2 | 6.5.13 |