🇰🇷 한글 설명
Linux 커널의 be2net 드라이버에서 be_get_module_eeprom 함수 호출 시 버퍼 오버플로우 취약점이 발견되었습니다. be_cmd_read_port_transceiver_data 함수가 특정 조건에서 충분한 크기의 버퍼를 가정하고 동작하여 메모리 경계를 초과할 수 있는 문제입니다.
💡 쉬운 설명
리눅스 운영체제의 네트워크 관련 부품을 다루는 코드에서 데이터가 담길 그릇보다 더 많은 데이터를 넣으려고 시도하는 오류가 있습니다. 이로 인해 시스템이 불안정해지거나 해커가 악성 코드를 실행할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
be2net: Fix buffer overflow in be_get_module_eeprom
be_cmd_read_port_transceiver_data assumes that it is given a buffer that
is at least PAGE_DATA_LEN long, or twice that if the module supports SFF
8472. However, this is not always the case.
Fix this by passing the desired offset and length to
be_cmd_read_port_transceiver_data so that we only copy the bytes once.
📍 영향받는 시스템
be2net 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
특수하게 조작된 EEPROM 데이터를 가진 네트워크 모듈을 시스템에 연결하여 메모리 오버플로우 유도
🛡️ 대응 방법
be2net 드라이버의 버퍼 오버플로우 수정 사항이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인