🔍 CVE-2026-72158

0.0
CVSS Score
UNKNOWN
2026-08-15
2026-08-17 06:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 FPGA DFL 드라이버에서 dfh_get_param_size() 함수가 매개변수 크기를 계산할 때 경계 검사를 적절히 수행하지 않는 취약점입니다. 공격자가 조작된 DFHv1 헤더를 제공할 경우, 할당된 메모리 범위를 초과하는 크기가 반환되어 memcpy_fromio() 호출 시 메모리 오버런이 발생할 수 있습니다.

💡 쉬운 설명

FPGA라는 장치가 컴퓨터에 잘못된 정보를 보내서, 컴퓨터가 허용된 메모리 공간보다 더 많은 데이터를 읽으려고 시도하게 만드는 문제입니다. 이 과정에서 시스템의 중요한 메모리 영역이 침범당할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: fpga: dfl: add bounds check in dfh_get_param_size() dfh_get_param_size() can return a parameter size larger than the feature region because the loop bounds check is evaluated before incrementing size. If the EOP (End of Parameters) bit is set in the same iteration, the inflated size is returned without re-validation against max. This can cause create_feature_instance() to call memcpy_fromio() with a size exceeding the ioremap'd region when a malicious FPGA device provides crafted DFHv1 parameter headers. Add a bounds check after the size increment to ensure the accumulated size never exceeds the feature boundary.

📍 영향받는 시스템

Linux kernel (FPGA DFL driver 사용 환경)

⚔️ 공격 벡터

악의적으로 조작된 DFHv1 매개변수 헤더를 가진 FPGA 장치를 연결하여 메모리 오버런 유도

🛡️ 대응 방법

dfh_get_param_size() 함수 내에 크기 증가 후 경계 검사를 수행하도록 커널 패치 적용

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 최신 패치 버전인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel