摘要:
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.
安全等级: Low
公告ID: KylinSec-SA-2024-3444
发布日期: 2024年8月28日
关联CVE: CVE-2024-42117
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.
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2024-42117 | KY3.4-5 | kernel | Unaffected |
CVE-2024-42117 | KY3.5.3 | kernel | Unaffected |
CVE-2024-42117 | V6 | kernel | Unaffected |