{"id":"CVE-2024-40987","summary":"drm/amdgpu: fix UBSAN warning in kv_dpm.c","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: fix UBSAN warning in kv_dpm.c\n\nAdds bounds check for sumo_vid_mapping_entry.","modified":"2026-04-02T12:17:23.425357Z","published":"2024-07-12T12:37:32.490Z","related":["SUSE-SU-2024:2892-1","SUSE-SU-2024:2894-1","SUSE-SU-2024:2901-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2940-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40987.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1c44f7759a5650acf8f13d3e0a184d09e03be9e4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4ad7d49059358ceadd352b4e2511425bdb68f400"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4d020c1dbd2b2304f44d003e6de956ae570049dc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b065d79ed06a0bb4377bc6dcc2ff0cb1f55a798f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b0d612619ed70cab476c77b19e00d13aa414e14f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d8a04a6bfa75251ba7bcc3651ed211e82f13f388"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f0d576f840153392d04b2d52cf3adab8f62e8cb6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fc5cb952e6723c5c55e47b8cf94a891bd4af1a86"},{"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/40xxx/CVE-2024-40987.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40987"},{"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":"a2e73f56fa6282481927ec43aa9362c03c2e2104"},{"fixed":"4ad7d49059358ceadd352b4e2511425bdb68f400"},{"fixed":"1c44f7759a5650acf8f13d3e0a184d09e03be9e4"},{"fixed":"d8a04a6bfa75251ba7bcc3651ed211e82f13f388"},{"fixed":"4d020c1dbd2b2304f44d003e6de956ae570049dc"},{"fixed":"fc5cb952e6723c5c55e47b8cf94a891bd4af1a86"},{"fixed":"b065d79ed06a0bb4377bc6dcc2ff0cb1f55a798f"},{"fixed":"b0d612619ed70cab476c77b19e00d13aa414e14f"},{"fixed":"f0d576f840153392d04b2d52cf3adab8f62e8cb6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40987.json"}}],"schema_version":"1.7.5"}