• CVE-2021-47528

发布时间: 2024年6月3日

修改时间: 2024年6月13日

概要

In the Linux kernel, the following vulnerability has been resolved:usb: cdnsp: Fix a NULL pointer dereference in cdnsp_endpoint_init()In cdnsp_endpoint_init(), cdnsp_ring_alloc() is assigned to pep->ringand there is a dereference of it in cdnsp_endpoint_init(), which couldlead to a NULL pointer dereference on failure of cdnsp_ring_alloc().Fix this bug by adding a check of pep->ring.This bug was found by a static analyzer. The analysis employsdifferential checking to identify inconsistent security operations(e.g., checks or kfrees) between two code paths and confirms that theinconsistent operations are not recovered in the current function orthe callers, so they constitute bugs.Note that, as a bug found by static analysis, it can be a falsepositive or hard to trigger. Multiple researchers have cross-reviewedthe bug.Builds with CONFIG_USB_CDNSP_GADGET=y show no new warnings,and our static analyzer no longer warns about this code.

CVSS v3 指标

NVD openEuler
Confidentiality None None
Attack Vector Local Local
CVSS评分 5.5 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-2024-2558 In the Linux kernel, the following vulnerability has been resolved:usb: cdnsp: Fix a NULL pointer dereference in cdnsp_endpoint_init()In cdnsp_endpoint_init(), cdnsp_ring_alloc() is assigned to pep->ringand there is a dereference of it in cdnsp_endpoint_init(), which couldlead to a NULL pointer dereference on failure of cdnsp_ring_alloc().Fix this bug by adding a check of pep->ring.This bug was found by a static analyzer. The analysis employsdifferential checking to identify inconsistent security operations(e.g., checks or kfrees) between two code paths and confirms that theinconsistent operations are not recovered in the current function orthe callers, so they constitute bugs.Note that, as a bug found by static analysis, it can be a falsepositive or hard to trigger. Multiple researchers have cross-reviewedthe bug.Builds with CONFIG_USB_CDNSP_GADGET=y show no new warnings,and our static analyzer no longer warns about this code. 2024年6月3日

影响产品

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