Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Check num_valid_sets before accessing reader_wm_sets[] [WHY & HOW] num_valid_sets needs to be checked to avoid a negative index when accessing reader_wm_sets[num_valid_sets - 1]. This fixes an OVERRUN issue reported by Coverity.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before a72d4996409569027b4609414a14a87679b12267; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 7c47dd2e92341f2989ab73dbed07f8894593ad7b; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before c4a7f7c0062fe2c73f70bb7e335199e25bd71492; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before b36e9b3104c4ba0f2f5dd083dcf6159cb316c996; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 21f9cb44f8c60bf6c26487d428b1a09ad3e8aebf; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 6a4a08e45e614cfa7a56498cdfaeb7fae2f07fa0; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before b38a4815f79b87efb196cd5121579fc51e29a7fb |
| Linux / Linux | affected 4.15; unaffected 0 before 4.15; unaffected 5.4.284 through 5.4.*; unaffected 5.10.226 through 5.10.*; unaffected 5.15.167 through 5.15.*; unaffected 6.1.109 through 6.1.*; unaffected 6.6.50 through 6.6.*; unaffected 6.10.9 through 6.10.*; unaffected 6.11 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/a72d4996409569027b4609414a14a87679b12267
- https://git.kernel.org/stable/c/7c47dd2e92341f2989ab73dbed07f8894593ad7b
- https://git.kernel.org/stable/c/c4a7f7c0062fe2c73f70bb7e335199e25bd71492
- https://git.kernel.org/stable/c/b36e9b3104c4ba0f2f5dd083dcf6159cb316c996
- https://git.kernel.org/stable/c/21f9cb44f8c60bf6c26487d428b1a09ad3e8aebf
- https://git.kernel.org/stable/c/6a4a08e45e614cfa7a56498cdfaeb7fae2f07fa0
- https://git.kernel.org/stable/c/b38a4815f79b87efb196cd5121579fc51e29a7fb
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.