CVE-2023-52812: drm/amd: check num of link levels when update pcie param

Description

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

Classification

CVE ID: CVE-2023-52812

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.06% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://git.kernel.org/stable/c/2f2d48b6247ae3001f83c98730b3cce475cb2927
https://git.kernel.org/stable/c/5b4574b663d0a1a0a62d5232429b7db9ae6d0670
https://git.kernel.org/stable/c/09f617219fe9ccd8d7b65dc3e879b5889f663b5a
https://git.kernel.org/stable/c/406e8845356d18bdf3d3a23b347faf67706472ec

Timeline