摘要:
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Do not return negative stream id for array
[WHY]
resource_stream_to_stream_idx returns an array index and it return -1
when not found; however, -1 is not a valid array index number.
[HOW]
When this happens, call ASSERT(), and return a zero instead.
This fixes an OVERRUN and an NEGATIVE_RETURNS issues reported by Coverity.
安全等级: Low
公告ID: KylinSec-SA-2024-3437
发布日期: 2024年8月28日
关联CVE: CVE-2024-42118
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Do not return negative stream id for array
[WHY]
resource_stream_to_stream_idx returns an array index and it return -1
when not found; however, -1 is not a valid array index number.
[HOW]
When this happens, call ASSERT(), and return a zero instead.
This fixes an OVERRUN and an NEGATIVE_RETURNS issues reported by Coverity.
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2024-42118 | KY3.4-5A | kernel | Unaffected |
CVE-2024-42118 | KY3.5.3 | kernel | Unaffected |
CVE-2024-42118 | V6 | kernel | Unaffected |