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

摘要:

In the Linux kernel, the following vulnerability has been resolved:usb: typec: tcpm: fix use-after-free case in tcpm_register_source_capsThere could be a potential use-after-free case intcpm_register_source_caps(). This could happen when: * new (say invalid) source caps are advertised * the existing source caps are unregistered * tcpm_register_source_caps() returns with an error as usb_power_delivery_register_capabilities() failsThis causes port->partner_source_caps to hold on to the now freed sourcecaps.Reset port->partner_source_caps value to NULL after unregisteringexisting source caps.

安全等级: Low

公告ID: KylinSec-SA-2024-3342

发布日期: 2024年8月21日

关联CVE: CVE-2024-40903  

  • 详细介绍

1. 漏洞描述

   

In the Linux kernel, the following vulnerability has been resolved:usb: typec: tcpm: fix use-after-free case in tcpm_register_source_capsThere could be a potential use-after-free case intcpm_register_source_caps(). This could happen when: * new (say invalid) source caps are advertised * the existing source caps are unregistered * tcpm_register_source_caps() returns with an error as usb_power_delivery_register_capabilities() failsThis causes port->partner_source_caps to hold on to the now freed sourcecaps.Reset port->partner_source_caps value to NULL after unregisteringexisting source caps.

2. 影响范围

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

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2024-3341 下一篇:KylinSec-SA-2024-3343