🔍 CVE-2026-74754

0.0
CVSS Score
UNKNOWN
2026-08-26
2026-10-30 13:20
✅ 완료

🇰🇷 한글 설명

Linux 커널의 SCSI 코어에서 에러 처리(EH) 과정 중 전원 관리(PM) 참조 횟수를 잘못 계산하는 레이스 컨디션 취약점이 발견되었습니다. 에러 처리 루프 내에서 eh_noresume 상태를 중복 확인하면서, 전원 관리 참조 횟수의 불일치가 발생하여 참조 횟수 언더플로우(underflow)를 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터 부품의 전원을 관리하는 과정에서 계산 오류가 발생하여 시스템이 예상치 못하게 종료되거나 불안정해질 수 있는 문제입니다. 특정 상황에서 전원 관리 횟수를 잘못 세는 버그를 수정해야 합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: scsi: core: pair EH runtime PM get and put shost->eh_noresume is currently consulted twice in one error handling iteration: once before scsi_autopm_get_host() and once again before scsi_autopm_put_host(). That is racy when a PM-triggered error path flips shost->eh_noresume while the SCSI EH thread is still running. The problem flow looks like this: PM path ufshcd_set_dev_pwr_mode() shost->eh_noresume = 1 ufshcd_execute_start_stop <-- trigger EH ... shost->eh_noresume = 0 EH path scsi_error_handler() if (!shost->eh_noresume) scsi_autopm_get_host() <-- skipped ... if (!shost->eh_noresume) scsi_autopm_put_host() <-- executed later In that case one EH iteration can skip autoresume on entry and still drop a runtime PM reference on exit. That leaves an unmatched runtime PM put and can trigger a runtime PM usage count underflow. Fix this by making eh_noresume a regular bool so it can be accessed with READ_ONCE() and WRITE_ONCE(). Snapshot it once per EH iteration and use that snapshot for both runtime PM get and put decisions.

📍 영향받는 시스템

Linux kernel (SCSI core component 포함 버전)

⚔️ 공격 벡터

특정 전원 관리 상태 전환과 SCSI 에러 핸들러가 동시에 실행되는 정밀한 타이밍 공격(Race Condition)

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 eh_noresume 변수의 원자적 접근 및 스냅샷 로직을 적용해야 합니다.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel