CVE-2024-40987

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-40987
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-40987.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-40987
Downstream
Related
Published
2024-07-12T12:37:32.490Z
Modified
2025-11-28T02:35:08.236718Z
Summary
drm/amdgpu: fix UBSAN warning in kv_dpm.c
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: fix UBSAN warning in kv_dpm.c

Adds bounds check for sumovidmapping_entry.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40987.json"
}
References

Affected packages

Git / 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
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
4ad7d49059358ceadd352b4e2511425bdb68f400
Fixed
1c44f7759a5650acf8f13d3e0a184d09e03be9e4
Fixed
d8a04a6bfa75251ba7bcc3651ed211e82f13f388
Fixed
4d020c1dbd2b2304f44d003e6de956ae570049dc
Fixed
fc5cb952e6723c5c55e47b8cf94a891bd4af1a86
Fixed
b065d79ed06a0bb4377bc6dcc2ff0cb1f55a798f
Fixed
b0d612619ed70cab476c77b19e00d13aa414e14f
Fixed
f0d576f840153392d04b2d52cf3adab8f62e8cb6

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.19.317
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.279
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.221
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.162
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.96
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.36
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.7