发布时间: 2024年6月7日
修改时间: 2024年10月31日
In the Linux kernel, the following vulnerability has been resolved: mcb: fix error handling in mcb_alloc_bus() There are two bugs: 1) If ida_simple_get() fails then this code calls put_device(carrier) but we haven't yet called get_device(carrier) and probably that leads to a use after free. 2) After device_initialize() then we need to use put_device() to release the bus. This will free the internal resources tied to the device and call mcb_free_bus() which will free the rest.
NVD | openEuler | |
---|---|---|
Confidentiality | High | Low |
Attack Vector | Local | Local |
CVSS评分 | 7.8 | 5.8 |
Attack Complexity | Low | High |
Privileges Required | Low | Low |
Scope | Unchanged | Unchanged |
Integrity | High | Low |
User Interaction | None | None |
Availability | High | High |
公告名 | 概要 | 发布时间 |
---|---|---|
KylinSec-SA-2024-4696 | In the Linux kernel, the following vulnerability has been resolved: mcb: fix error handling in mcb_alloc_bus() There are two bugs: 1) If ida_simple_get() fails then this code calls put_device(carrier) but we haven't yet called get_device(carrier) and probably that leads to a use after free. 2) After device_initialize() then we need to use put_device() to release the bus. This will free the internal resources tied to the device and call mcb_free_bus() which will free the rest. | 2025年2月6日 |
产品 | 包 | 状态 |
---|---|---|
KY3.4-5 | kernel | Fixed |