• CVE-2022-1973

发布时间: 2022年8月5日

修改时间: 2024年11月30日

概要

In the log_replay function in the fs/ntfs3/fslog.c file, if *r_page fails to apply for memory when the log_read_rst function is invoked, the log_read_rst function returns ENOEM error. As a result, the rst_info structure in the log_replay function cannot be initialized. When kfree(rst_info.r_page) is executed, an uninitialized wild pointer is released. As a result, the memory is released again. This patch may cause crashes. In this case, the initialization function memset(info, 0, sizeof(struct restart_info)) is moved before the rst_info function is invoked and the structure is initialized.

CVSS v3 指标

NVD openEuler
Confidentiality High None
Attack Vector Local Local
CVSS评分 7.1 5.5
Attack Complexity Low Low
Privileges Required Low Low
Scope Unchanged Unchanged
Integrity None None
User Interaction None None
Availability High High

安全公告

公告名 概要 发布时间
KylinSec-SA-2022-1855 In the log_replay function in the fs/ntfs3/fslog.c file, if *r_page fails to apply for memory when the log_read_rst function is invoked, the log_read_rst function returns ENOEM error. As a result, the rst_info structure in the log_replay function cannot be initialized. When kfree(rst_info.r_page) is executed, an uninitialized wild pointer is released. As a result, the memory is released again. This patch may cause crashes. In this case, the initialization function memset(info, 0, sizeof(struct restart_info)) is moved before the rst_info function is invoked and the structure is initialized. 2022年8月5日

影响产品

产品 状态
KY3.4-4A kernel Unaffected
KY3.4-5 kernel Unaffected
KY3.5.1 kernel Unaffected