🇰🇷 한글 설명
리눅스 커널의 ptp: ocp 구성 요소에서 EEPROM 보드 ID를 처리할 때 발생하는 오버리드 취약점입니다. 보드 ID 필드에 널 종료 문자가 보장되지 않아, 이를 C 문자열로 처리할 경우 지정된 범위를 넘어 메모리를 읽을 수 있습니다.
💡 쉬운 설명
컴퓨터 부품의 식별 번호를 읽어오는 과정에서 정해진 길이보다 더 많은 정보를 읽어버리는 오류가 있습니다. 이로 인해 시스템의 민감한 정보가 의도치 않게 노출될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ptp: ocp: Fix board ID over-read
The EEPROM board ID is a fixed 13-byte field and is not guaranteed to
contain a NUL terminator. Passing it directly to
devlink_info_version_fixed_put() treats it as a C string and may read
beyond the field.
Format at most OCP_BOARD_ID_LEN bytes into the existing local buffer
before reporting the ID. Use a precision limit because the snprintf()
output size alone does not bound the source string scan.
📍 영향받는 시스템
Linux kernel (ptp: ocp driver components)
⚔️ 공격 벡터
로컬 시스템에서 특정 하드웨어 정보를 요청하여 메모리 경계를 넘어서는 데이터를 읽어내는 방식
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.