{"id":"CVE-2024-46815","summary":"drm/amd/display: Check num_valid_sets before accessing reader_wm_sets[]","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Check num_valid_sets before accessing reader_wm_sets[]\n\n[WHY & HOW]\nnum_valid_sets needs to be checked to avoid a negative index when\naccessing reader_wm_sets[num_valid_sets - 1].\n\nThis fixes an OVERRUN issue reported by Coverity.","modified":"2026-04-02T12:19:43.749695Z","published":"2024-09-27T12:35:57.062Z","related":["SUSE-SU-2024:3983-1","SUSE-SU-2024:3984-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4081-1","SUSE-SU-2024:4082-1","SUSE-SU-2024:4131-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:0885-1","SUSE-SU-2025:0886-1","SUSE-SU-2025:0903-1","SUSE-SU-2025:0906-1","SUSE-SU-2025:0911-1","SUSE-SU-2025:0917-1","SUSE-SU-2025:0919-1","SUSE-SU-2025:0920-1","SUSE-SU-2025:0922-1","SUSE-SU-2025:0946-1","SUSE-SU-2025:0950-1","SUSE-SU-2025:0952-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20186-1","SUSE-SU-2025:20188-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","SUSE-SU-2025:20285-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46815.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/21f9cb44f8c60bf6c26487d428b1a09ad3e8aebf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6a4a08e45e614cfa7a56498cdfaeb7fae2f07fa0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c47dd2e92341f2989ab73dbed07f8894593ad7b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a72d4996409569027b4609414a14a87679b12267"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b36e9b3104c4ba0f2f5dd083dcf6159cb316c996"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b38a4815f79b87efb196cd5121579fc51e29a7fb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c4a7f7c0062fe2c73f70bb7e335199e25bd71492"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46815.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46815"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c"},{"fixed":"a72d4996409569027b4609414a14a87679b12267"},{"fixed":"7c47dd2e92341f2989ab73dbed07f8894593ad7b"},{"fixed":"c4a7f7c0062fe2c73f70bb7e335199e25bd71492"},{"fixed":"b36e9b3104c4ba0f2f5dd083dcf6159cb316c996"},{"fixed":"21f9cb44f8c60bf6c26487d428b1a09ad3e8aebf"},{"fixed":"6a4a08e45e614cfa7a56498cdfaeb7fae2f07fa0"},{"fixed":"b38a4815f79b87efb196cd5121579fc51e29a7fb"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46815.json"}}],"schema_version":"1.7.5"}