CVE-2024-40987

Medium

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix UBSAN warning in kv_dpm.c Adds bounds check for sumo_vid_mapping_entry.

Package Linux Kernel
Published 2024-07-12
Last modified 2025-11-03
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-787

CVE-2024-40987 is a Out-of-bounds Write vulnerability

What is Out-of-bounds Write?

The product writes data past the end or before the beginning of the intended buffer. Learn more on MITRE CWE

Affected versions

Linux kernel versions 4.2 and later are affected. Fixed in 4.19.317, 5.4.279, 5.10.221, 5.15.162, 6.1.96, 6.6.36, 6.9.7, 6.10 and their respective stable series.

Affected from
≥ 4.2
Fixed in
✓ 4.19.317 4.19.x ✓ 5.4.279 5.4.x ✓ 5.10.221 5.10.x ✓ 5.15.162 5.15.x ✓ 6.1.96 6.1.x ✓ 6.6.36 6.6.x ✓ 6.9.7 6.9.x ✓ 6.10

Frequently asked questions

  • What is CVE-2024-40987?

    CVE-2024-40987 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Out-of-bounds Write flaw (CWE-787) . It affects Linux kernel versions from 4.2 onward and has been patched in 4.19.317, 5.4.279, 5.10.221 and others. CVE-2024-40987 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-40987?

    CVE-2024-40987 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2024-40987?

    Yes. CVE-2024-40987 has been patched. Fixed versions include 4.19.317, 5.4.279, 5.10.221 and others. If you are running Linux kernel 4.2 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-40987 actively exploited?

    No. CVE-2024-40987 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.