🔍 CVE-2025-21661

7.8
CVSS Score
HIGH
2025-01-21
2026-07-30 06:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 gpio: virtuser 구성 요소에서 lookup table이 적절히 제거되지 않는 결함이 발견되었습니다. 이로 인해 장치 프로브 실패 시 테이블이 남아 있어 재시도가 불가능해지며, 특정 상황에서 메모리 누수가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터 부품을 설정하는 과정에서 오류가 발생했을 때, 사용했던 메모리 자원을 제대로 치우지 않아 시스템이 꼬이거나 메모리가 낭비되는 문제입니다. 이로 인해 장치를 다시 사용하려고 해도 계속 실패할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: gpio: virtuser: fix missing lookup table cleanups When a virtuser device is created via configfs and the probe fails due to an incorrect lookup table, the table is not removed. This prevents subsequent probe attempts from succeeding, even if the issue is corrected, unless the device is released. Additionally, cleanup is also needed in the less likely case of platform_device_register_full() failure. Besides, a consistent memory leak in lookup_table->dev_id was spotted using kmemleak by toggling the live state between 0 and 1 with a correct lookup table. Introduce gpio_virtuser_remove_lookup_table() as the counterpart to the existing gpio_virtuser_make_lookup_table() and call it from all necessary points to ensure proper cleanup.

📍 영향받는 시스템

Linux kernel (virtuser 관련 gpio 드라이버 사용 시스템)

⚔️ 공격 벡터

로컬 공격자가 configfs를 통해 virtuser 장치를 생성하여 의도적으로 프로브 실패를 유도함으로써 서비스 거부(DoS) 또는 메모리 고갈 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 gpio_virtuser_remove_lookup_table() 기능이 포함된 패치를 적용하십시오.

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel