🔍 CVE-2025-40120

0.0
CVSS Score
UNKNOWN
2025-11-12
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 asix 드라이버에서 USB 런타임 전원 관리(autosuspend) 기능으로 인해 PM/MDIO 및 RTNL 간의 데드락(교착 상태)이 발생할 수 있는 취약점입니다. 이를 해결하기 위해 AX88772* 장치의 bind 과정에서 PM 사용 참조를 유지하여 런타임 절전 모드 진입을 방지하도록 수정되었습니다.

💡 쉬운 설명

USB 랜카드가 절전 모드로 들어가려 할 때 시스템의 다른 기능과 충돌하여 컴퓨터가 멈추는 현상이 발생할 수 있습니다. 이를 방지하기 위해 랜카드가 작동 중일 때는 절전 모드로 함부로 전환되지 않도록 설정을 변경했습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: usb: asix: hold PM usage ref to avoid PM/MDIO + RTNL deadlock Prevent USB runtime PM (autosuspend) for AX88772* in bind. usbnet enables runtime PM (autosuspend) by default, so disabling it via the usb_driver flag is ineffective. On AX88772B, autosuspend shows no measurable power saving with current driver (no link partner, admin up/down). The ~0.453 W -> ~0.248 W drop on v6.1 comes from phylib powering the PHY off on admin-down, not from USB autosuspend. The real hazard is that with runtime PM enabled, ndo_open() (under RTNL) may synchronously trigger autoresume (usb_autopm_get_interface()) into asix_resume() while the USB PM lock is held. Resume paths then invoke phylink/phylib and MDIO, which also expect RTNL, leading to possible deadlocks or PM lock vs MDIO wake issues. To avoid this, keep the device runtime-PM active by taking a usage reference in ax88772_bind() and dropping it in unbind(). A non-zero PM usage count blocks runtime suspend regardless of userspace policy (.../power/control - pm_runtime_allow/forbid), making this approach robust against sysfs overrides. Holding a runtime-PM usage ref does not affect system-wide suspend; system sleep/resume callbacks continue to run as before.

📍 영향받는 시스템

Linux kernel (AX88772* 기반 USB 이더넷 드라이버 사용 시스템)

⚔️ 공격 벡터

로컬 공격자가 특정 네트워크 설정(RTNL)을 유도하여 시스템 데드락을 발생시킬 수 있음

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel