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

摘要:

In the Linux kernel, the following vulnerability has been resolved:scsi: ufs: core: Remove SCSI host only if addedIf host tries to remove ufshcd driver from a UFS device it would cause akernel panic if ufshcd_async_scan fails during ufshcd_probe_hba beforeadding a SCSI host with scsi_add_host and MCQ is enabled since SCSI hosthas been defered after MCQ configuration introduced by commit 0cab4023ec7b( scsi: ufs: core: Defer adding host to SCSI if MCQ is supported ).To guarantee that SCSI host is removed only if it has been added, set thescsi_host_added flag to true after adding a SCSI host and check whether itis set or not before removing it.

安全等级: Low

公告ID: KylinSec-SA-2024-3925

发布日期: 2024年10月11日

关联CVE: CVE-2024-46843  

  • 详细介绍

1. 漏洞描述

   

In the Linux kernel, the following vulnerability has been resolved:scsi: ufs: core: Remove SCSI host only if addedIf host tries to remove ufshcd driver from a UFS device it would cause akernel panic if ufshcd_async_scan fails during ufshcd_probe_hba beforeadding a SCSI host with scsi_add_host and MCQ is enabled since SCSI hosthas been defered after MCQ configuration introduced by commit 0cab4023ec7b( scsi: ufs: core: Defer adding host to SCSI if MCQ is supported ).To guarantee that SCSI host is removed only if it has been added, set thescsi_host_added flag to true after adding a SCSI host and check whether itis set or not before removing it.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2024-46843 KY3.4-5A kernel Unaffected
CVE-2024-46843 KY3.5.2 kernel Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2024-3924 下一篇:KylinSec-SA-2024-3926