🔍 CVE-2025-40316

0.0
CVSS Score
UNKNOWN
2025-12-08
2026-10-14 22:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 drm/mediatek 드라이버에서 장치 해제(unbind) 시 Use-After-Free 취약점이 발견되었습니다. 드라이버 바인딩 실패 또는 해제 과정에서 참조 횟수(reference count) 불균형이 발생하여 메모리 관리 오류를 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터 부품을 연결하거나 해제할 때 메모리 사용 기록을 제대로 지우지 못하는 오류가 있습니다. 이로 인해 이미 사용이 끝난 메모리 영역에 접근하게 되어 시스템이 충돌하거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: Fix device use-after-free on unbind A recent change fixed device reference leaks when looking up drm platform device driver data during bind() but failed to remove a partial fix which had been added by commit 80805b62ea5b ("drm/mediatek: Fix kobject put for component sub-drivers"). This results in a reference imbalance on component bind() failures and on unbind() which could lead to a user-after-free. Make sure to only drop the references after retrieving the driver data by effectively reverting the previous partial fix. Note that holding a reference to a device does not prevent its driver data from going away so there is no point in keeping the reference.

📍 영향받는 시스템

Linux kernel (drm/mediatek 드라이버를 사용하는 MediaTek 기반 시스템)

⚔️ 공격 벡터

장치 드라이버의 바인딩 및 해제 과정을 반복적으로 유도하여 메모리 오류를 일으키는 로컬 공격

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel