🇰🇷 한글 설명
Linux 커널의 nouveau 드라이버 내 dmem 복사 과정에서 오류 발생 시 성공 여부를 제대로 추적하지 못하는 취약점입니다. 복사 오류가 발생하더라도 성공으로 처리되어 민감한 데이터가 포함될 수 있는 페이지가 사용자에게 반환될 수 있습니다.
💡 쉬운 설명
그래픽 카드 메모리에서 데이터를 가져올 때 오류가 나도 성공한 것처럼 속아서 잘못된 데이터가 전달될 수 있는 문제입니다. 이 과정에서 다른 사용자의 중요한 정보가 유출될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error
The `nouveau_dmem_copy_one` function ensures that the copy push command is
sent to the device firmware but does not track whether it was executed
successfully.
In the case of a copy error (e.g., firmware or hardware failure), the
copy push command will be sent via the firmware channel, and
`nouveau_dmem_copy_one` will likely report success, leading to the
`migrate_to_ram` function returning a dirty HIGH_USER page to the user.
This can result in a security vulnerability, as a HIGH_USER page that may
contain sensitive or corrupted data could be returned to the user.
To prevent this vulnerability, we allocate a zero page. Thus, in case of
an error, a non-dirty (zero) page will be returned to the user.
📍 영향받는 시스템
Linux kernel (nouveau driver)
⚔️ 공격 벡터
하드웨어 또는 펌웨어 오류를 유도하여 잘못된 메모리 페이지를 사용자 공간으로 반환하게 함
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인