🔍 CVE-2025-38210

5.5
CVSS Score
MEDIUM
2025-07-04
2026-11-05 21:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 configfs-tsm-report 모듈에서 tsm_unregister() 이후에도 tsm_ops에 대한 NULL 체크가 누락된 경로(tsm_report_privlevel_store, tsm_report_provider_show)가 있어 NULL 역참조가 발생할 수 있었습니다. 이를 수정하여 ops 해제 후 접근 시 안전하게 실패하도록 개선했습니다.

💡 쉬운 설명

리눅스 커널의 가상 설정 파일 기능에서 장치 드라이버가 제거된 뒤에도 일부 기능이 빈 포인터를 참조해 시스템이 비정상 종료될 수 있었습니다. 이제 드라이버가 없을 때는 안전하게 오류를 반환하도록 수정되었습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: configfs-tsm-report: Fix NULL dereference of tsm_ops Unlike sysfs, the lifetime of configfs objects is controlled by userspace. There is no mechanism for the kernel to find and delete all created config-items. Instead, the configfs-tsm-report mechanism has an expectation that tsm_unregister() can happen at any time and cause established config-item access to start failing. That expectation is not fully satisfied. While tsm_report_read(), tsm_report_{is,is_bin}_visible(), and tsm_report_make_item() safely fail if tsm_ops have been unregistered, tsm_report_privlevel_store() tsm_report_provider_show() fail to check for ops registration. Add the missing checks for tsm_ops having been removed. Now, in supporting the ability for tsm_unregister() to always succeed, it leaves the problem of what to do with lingering config-items. The expectation is that the admin that arranges for the ->remove() (unbind) of the ${tsm_arch}-guest driver is also responsible for deletion of all open config-items. Until that deletion happens, ->probe() (reload / bind) of the ${tsm_arch}-guest driver fails. This allows for emergency shutdown / revocation of attestation interfaces, and requires coordinated restart.

📍 영향받는 시스템

configfs-tsm-report 기능을 포함한 수정 이전의 Linux 커널 버전 (TSM 게스트 드라이버 사용 환경)

⚔️ 공격 벡터

로컬 권한을 가진 사용자가 tsm 드라이버 해제 이후 해당 configfs 항목에 접근하여 NULL 포인터 역참조를 유발

🛡️ 대응 방법

패키지 또는 배포판의 최신 커널 업데이트를 적용하고 재부팅

🔧 검증 코드

출력된 커널 버전을 배포판 보안 공지에서 해당 CVE 패치가 포함된 빌드 버전과 비교하여 최신 수정 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel