CVE-2024-42117CWE-129

CVE-2024-42117

High · published July 30, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
13.4
In the wild
Unconfirmed
What it is

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

drm/amd/display: ASSERT when failing to find index by plane/stream id

[WHY]

find_disp_cfg_idx_by_plane_id and find_disp_cfg_idx_by_stream_id returns

an array index and they return -1 when not found; however, -1 is not a

valid index number.

[HOW]

When this happens, call ASSERT(), and return a positive number (which is

fewer than callers' array size) instead.

This fixes 4 OVERRUN and 2 NEGATIVE_RETURNS issues reported by Coverity.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00233 · 13.4th percentile
Weakness
CWE-129 · Improper Validation of Array Index
Published
2024-07-30T12:15Z
Affected products (1)
ProductVersionsFixed in
linux/linux_kernel≥ 6.7, < 6.9.96.9.9
References (4)
EPSS history
Timeline
  • 30 JUL 07:46Z
    drm/amd/display: ASSERT when failing to find index by plane/stream id
    cvelistv5