🇰🇷 한글 설명
리눅스 커널의 Cavium 암호화 드라이버에서 펌웨어 로딩 시 정수 오버플로 취약점이 발견되었습니다. 펌웨어 파일의 코드 길이를 처리하는 과정에서 곱셈 연산 시 정수 오버플로가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 외부 파일을 읽어올 때 숫자를 계산하는 과정에서 오류가 발생하는 문제입니다. 악의적으로 조작된 파일을 사용하면 시스템에 예상치 못한 문제를 일으킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
crypto: cavium - prevent integer overflow loading firmware
The "code_length" value comes from the firmware file. If your firmware
is untrusted realistically there is probably very little you can do to
protect yourself. Still we try to limit the damage as much as possible.
Also Smatch marks any data read from the filesystem as untrusted and
prints warnings if it not capped correctly.
The "ntohl(ucode->code_length) * 2" multiplication can have an
integer overflow.
📍 영향받는 시스템
Cavium 암호화 드라이버를 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
조작된 펌웨어 파일을 시스템에 로드하여 정수 오버플로 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인