🔍 CVE-2026-98197

7.0
CVSS Score
HIGH
2026-10-06
2026-10-19 10:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 hwmon(w83791d) 드라이버에서 드라이버 해제 시 특정 sysfs 그룹이 제대로 제거되지 않는 취약점이 발견되었습니다. 이로 인해 드라이버가 언바인드된 후에도 잔류하는 sysfs 파일이 이미 해제된 메모리 영역에 접근하여 시스템 불안정성을 초래할 수 있습니다.

💡 쉬운 설명

컴퓨터 부품을 제어하는 프로그램이 종료될 때, 사용하던 흔적을 완전히 지우지 않아 발생하는 문제입니다. 이 흔적을 건드리면 컴퓨터가 예기치 않게 멈추거나 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: hwmon: (w83791d) remove fan/pwm 4-5 sysfs group on remove When the fan/pwm 4-5 pins are not used as GPIO, w83791d_probe() creates the w83791d_group_fanpwm45 sysfs group on the I2C client device. The probe error path removes this group when a later initialization step fails, but the normal remove path only removes w83791d_group. As a result, the optional fan/pwm 4-5 sysfs files can remain after the driver is unbound. The callbacks associated with these files access the driver data, which is devm allocated and released after driver unbind. Leaving the sysfs files behind can therefore result in accesses to stale driver data. Remove w83791d_group_fanpwm45 during normal teardown as well. This issue was found by manual code inspection.

📍 영향받는 시스템

w83791d 드라이버를 사용하는 Linux 커널 시스템

⚔️ 공격 벡터

드라이버 언바인드 후 잔류하는 sysfs 파일을 통한 Use-After-Free 유발

🛡️ 대응 방법

w83791d_group_fanpwm45를 정상적인 종료 과정에서도 제거하도록 커널 패치 적용

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 최신 패치 버전인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel