CVE-2023-53054
- 공개
- 2025년 5월 3일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
usb: dwc2: fix a devres leak in hw_enable upon suspend resume
Each time the platform goes to low power, PM suspend / resume routines call: __dwc2_lowlevel_hw_enable -> devm_add_action_or_reset(). This adds a new devres each time. This may also happen at runtime, as dwc2_lowlevel_hw_enable() can be called from udc_start().
This can be seen with tracing: - echo 1 > /sys/kernel/debug/tracing/events/dev/devres_log/enable - go to low power - cat /sys/kernel/debug/tracing/trace
A new "ADD" entry is found upon each low power cycle: ... devres_log: 49000000.usb-otg ADD 82a13bba devm_action_release (8 bytes) ... devres_log: 49000000.usb-otg ADD 49889daf devm_action_release (8 bytes) ...
A second issue is addressed here: - regulator_bulk_enable() is called upon each PM cycle (suspend/resume). - regulator_bulk_disable() never gets called.
So the reference count for these regulators constantly increase, by one upon each low power cycle, due to missing regulator_bulk_disable() call in __dwc2_lowlevel_hw_disable().
The original fix that introduced the devm_add_action_or_reset() call, fixed an issue during probe, that happens due to other errors in dwc2_driver_probe() -> dwc2_core_reset(). Then the probe fails without disabling regulators, when dr_mode == USB_DR_MODE_PERIPHERAL.
Rather fix the error path: disable all the low level hardware in the error path, by using the "hsotg->ll_hw_enabled" flag. Checking dr_mode has been introduced to avoid a dual call to dwc2_lowlevel_hw_disable(). "ll_hw_enabled" should achieve the same (and is used currently in the remove() routine).
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 4.4.233 | ≤ | 취약 | < | 4.5 | 4.5이상 |
| 4.9.233 | ≤ | 취약 | < | 4.10 | 4.10이상 | |
| 4.14.194 | ≤ | 취약 | < | 4.15 | 4.15이상 | |
| 4.19.140 | ≤ | 취약 | < | 4.20 | 4.20이상 | |
| 5.4.59 | ≤ | 취약 | < | 5.5 | 5.5이상 | |
| 5.7.16 | ≤ | 취약 | < | 5.8 | 5.8이상 | |
| 5.8.2 | ≤ | 취약 | < | 5.10.177 | 5.10.177이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.105 | 5.15.105이상 | |
| 5.16 | ≤ | 취약 | < | 6.1.22 | 6.1.22이상 | |
| 6.2 | ≤ | 취약 | < | 6.2.9 | 6.2.9이상 | |
| 이 버전만 | 취약 | = | 6.3 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.3 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.3 rc3 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 14줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 4.4.233 | ≤ | 취약 | < | 4.5 | 4.5이상 |
| 4.9.233 | ≤ | 취약 | < | 4.10 | 4.10이상 | |
| 4.14.194 | ≤ | 취약 | < | 4.15 | 4.15이상 | |
| 4.19.140 | ≤ | 취약 | < | 4.20 | 4.20이상 | |
| 5.4.59 | ≤ | 취약 | < | 5.5 | 5.5이상 | |
| 5.7.16 | ≤ | 취약 | < | 5.8 | 5.8이상 | |
| 5.8.2 | ≤ | 취약 | < | 5.9 | 5.9이상 | |
| 이 버전만 | 취약 | = | 5.9 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 5.9 | — | |
| 5.10.177 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.105 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.22 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.2.9 | ≤ | 영향 없음 | ≤ | 6.2.* | — | |
| 6.3 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- git.kernel.org/stable/c/1f01027c51eb16145e8e07fafea3ca07ef102d06
- git.kernel.org/stable/c/6485fc381b6528b6f547ee1ff10bdbcbe31a6e4c
- git.kernel.org/stable/c/cba76e1fb896b573f09f51aa299223276a77bc90
- git.kernel.org/stable/c/f747313249b74f323ddf841a9c8db14d989f296a
- git.kernel.org/stable/c/ffb8ab6f87bd28d700ab5c20d9d3a7e75067630d