🇰🇷 한글 설명
Linux 커널의 dell-wmi-sysman 드라이버에서 펌웨어가 제공하는 열거형 문자열을 결합할 때 버퍼 크기를 확인하지 않는 취약점이 발견되었습니다. strcat() 함수를 사용하여 고정된 512바이트 구조체에 데이터를 추가하는 과정에서 경계 검사가 누락되어 버퍼 오버플로우가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터 부품 정보를 읽어오는 과정에서 정해진 저장 공간보다 더 많은 정보를 억지로 집어넣으려다 발생하는 오류입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
platform/x86: dell-wmi-sysman: bound enumeration string aggregation
populate_enum_data() aggregates firmware-provided value-modifier
and possible-value strings into fixed 512-byte struct members.
The current code bounds each individual source string but then
appends every string and separator with raw strcat() and no
remaining-space check.
Switch the aggregation loops to a bounded append helper and
reject enumeration packages whose combined strings do not fit
in the destination buffers.
[ij: add include]
📍 영향받는 시스템
Linux kernel (platform/x86: dell-wmi-sysman 관련 모듈 포함 버전)
⚔️ 공격 벡터
악의적으로 조작된 펌웨어 데이터를 통해 커널 메모리 버퍼 오버플로우 유도
🛡️ 대응 방법
커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 경계 검사가 포함된 수정 코드를 적용해야 합니다.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.