🔍 CVE-2024-43825

7.8
CVSS Score
HIGH
2024-08-17
2026-08-04 11:19
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 IIO(Industrial I/O) 서브시스템 내 iio_gts_build_avail_time_table 함수에서 정렬 기능 오류가 발견되었습니다. 특정 조건에서 시간 값이 0일 경우 정렬 루프가 종료되지 않아 메모리 경계를 벗어난 쓰기(Out-of-bounds write)가 발생할 수 있습니다.

💡 쉬운 설명

리눅스 운영체제의 특정 부품을 제어하는 프로그램에서 데이터를 순서대로 정리하다가 실수를 하는 버그가 있습니다. 이 실수 때문에 컴퓨터의 허용된 메모리 범위를 넘어서 데이터를 저장하려다가 시스템 오류나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: iio: Fix the sorting functionality in iio_gts_build_avail_time_table The sorting in iio_gts_build_avail_time_table is not working as intended. It could result in an out-of-bounds access when the time is zero. Here are more details: 1. When the gts->itime_table[i].time_us is zero, e.g., the time sequence is `3, 0, 1`, the inner for-loop will not terminate and do out-of-bound writes. This is because once `times[j] > new`, the value `new` will be added in the current position and the `times[j]` will be moved to `j+1` position, which makes the if-condition always hold. Meanwhile, idx will be added one, making the loop keep running without termination and out-of-bound write. 2. If none of the gts->itime_table[i].time_us is zero, the elements will just be copied without being sorted as described in the comment "Sort times from all tables to one and remove duplicates". For more details, please refer to https://lore.kernel.org/all/[email protected].

📍 영향받는 시스템

Linux Kernel (iio subsystem 관련 버전)

⚔️ 공격 벡터

조작된 시간 데이터를 IIO 장치에 전달하여 메모리 오버플로우 유도

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 최신 패치 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel