🇰🇷 한글 설명
Linux 커널의 pds_core 모듈 내 pdsc_devcmd_wait 함수에서 오류 처리 미흡으로 인해 발생하는 취약점입니다. 펌웨어 충돌이나 명령 시간 초과 발생 시, 실제 오류 대신 잘못된 성공 상태를 반환하여 시스템이 오류를 제대로 인지하지 못할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 부품(펌웨어)이 고장 나거나 응답이 없을 때, 시스템이 이를 정상으로 착각하고 넘어가는 문제입니다. 이로 인해 오류를 즉시 복구하지 못하고 시스템이 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
pds_core: fix error handling in pdsc_devcmd_wait
Fix two cases where pdsc_devcmd_wait() returns stale success from
the completion register instead of an error:
1. FW crash: If firmware stops running, the wait loop breaks early with
running=false. The condition "if ((!done || timeout) && running)" is
false, so error handling is bypassed and stale status is returned.
Check !running first and return -ENXIO.
2. Timeout: If a command times out, err is set to -ETIMEDOUT but then
overwritten by pdsc_err_to_errno(status) which reads stale status.
Return -ETIMEDOUT immediately after cleaning up.
Both errors now propagate to pdsc_devcmd_locked() which queues
health_work for recovery.
📍 영향받는 시스템
pds_core 모듈을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
펌웨어의 비정상적인 동작이나 명령 지연을 유도하여 오류 처리 로직을 우회
🛡️ 대응 방법
pds_core의 오류 처리가 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인