• 公告ID (KylinSec-SA-2023-1001)

摘要:

This vulnerability may cause kernel cache write overwriting, affecting integrity and system availability. When a hid device is created, the HID_GLOBAL_ITEM_TAG_REPORT_SIZE and HID_GLOBAL_ITEM_TAG_REPORT_COUNT fields are set to 0. As a result, the size field in the applied report structure is 0. This problem may occur when the device is accessed later. When report->size is set to 0, the memory length cleared by memset is 536870912. As a result, other memory areas are cleared by mistake, causing a kernel exception.

安全等级: Low

公告ID: KylinSec-SA-2023-1001

发布日期: 2023年1月5日

关联CVE: CVE-2022-20565  

  • 详细介绍

1. 漏洞描述

   

This vulnerability may cause kernel cache write overwriting, affecting integrity and system availability. When a hid device is created, the HID_GLOBAL_ITEM_TAG_REPORT_SIZE and HID_GLOBAL_ITEM_TAG_REPORT_COUNT fields are set to 0. As a result, the size field in the applied report structure is 0. This problem may occur when the device is accessed later. When report->size is set to 0, the memory length cleared by memset is 536870912. As a result, other memory areas are cleared by mistake, causing a kernel exception.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2022-20565 KY3.4-4A kernel Unaffected
CVE-2022-20565 KY3.4-5 kernel Unaffected
CVE-2022-20565 KY3.5.1 kernel Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2023-1851 下一篇:KylinSec-SA-2023-1002