🇰🇷 한글 설명
Linux 커널의 UltraSPARC 아키텍처에서 copy_{from_to}_user 함수 사용 시 예외 보고가 부정확하게 이루어지는 취약점이 해결되었습니다. 이 결함은 메모리 복사 중 오류 발생 시 남은 바이트 수를 잘못 계산하여 함수의 반환 값을 왜곡할 수 있습니다.
💡 쉬운 설명
컴퓨터가 데이터를 옮기다가 실수했을 때, 얼마나 옮기다 멈췄는지 정확히 알려주지 못하는 버그입니다. 이로 인해 시스템이 데이터 처리를 잘못 수행할 가능성이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
sparc: fix accurate exception reporting in copy_{from_to}_user for UltraSPARC
The referenced commit introduced exception handlers on user-space memory
references in copy_from_user and copy_to_user. These handlers return from
the respective function and calculate the remaining bytes left to copy
using the current register contents. This commit fixes a couple of bad
calculations. This will fix the return value of copy_from_user and
copy_to_user in the faulting case. The behaviour of memcpy stays unchanged.
📍 영향받는 시스템
UltraSPARC 아키텍처를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
사용자 공간 메모리 참조 시 발생하는 예외를 이용한 잘못된 데이터 처리 유도
🛡️ 대응 방법
해당 수정 사항이 포함된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 최신 버전인지 확인