• 公告ID (KylinSec-SA-2024-4405)

摘要:

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

riscv: kvm: Fix out-of-bounds array access

In kvm_riscv_vcpu_sbi_init() the entry->ext_idx can contain an
out-of-bound index. This is used as a special marker for the base
extensions, that cannot be disabled. However, when traversing the
extensions, that special marker is not checked prior indexing the
array.

Add an out-of-bounds check to the function.

安全等级: Low

公告ID: KylinSec-SA-2024-4405

发布日期: 2024年12月28日

关联CVE: CVE-2024-53228  

  • 详细介绍

1. 漏洞描述

   

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

riscv: kvm: Fix out-of-bounds array access

In kvm_riscv_vcpu_sbi_init() the entry->ext_idx can contain an
out-of-bound index. This is used as a special marker for the base
extensions, that cannot be disabled. However, when traversing the
extensions, that special marker is not checked prior indexing the
array.

Add an out-of-bounds check to the function.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2024-53228 KY3.4-5 kernel Unaffected
CVE-2024-53228 KY3.5.3 kernel Unaffected
CVE-2024-53228 V6 kernel Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2024-4404 下一篇:KylinSec-SA-2024-4406