🔍 CVE-2025-68308

0.0
CVSS Score
UNKNOWN
2025-12-16
2026-10-14 16:10
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 kvaser_usb 드라이버에서 명령 파서가 제로 길이 명령을 처리할 때 무한 루프에 빠질 수 있는 취약점이 발견되었습니다. 데이터 정렬을 위해 사용하는 round_up 함수가 특정 경계 조건에서 위치 값을 증가시키지 못해 발생하며, 패치에서는 이를 강제로 다음 경계로 이동하도록 수정되었습니다.

💡 쉬운 설명

데이터를 주고받는 과정에서 특정 조건이 맞으면 컴퓨터가 다음 단계로 넘어가지 못하고 같은 자리를 계속 맴도는 오류가 발생합니다. 이로 인해 시스템이 멈추거나 응답하지 않는 상태가 될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: can: kvaser_usb: leaf: Fix potential infinite loop in command parsers The `kvaser_usb_leaf_wait_cmd()` and `kvaser_usb_leaf_read_bulk_callback` functions contain logic to zero-length commands. These commands are used to align data to the USB endpoint's wMaxPacketSize boundary. The driver attempts to skip these placeholders by aligning the buffer position `pos` to the next packet boundary using `round_up()` function. However, if zero-length command is found exactly on a packet boundary (i.e., `pos` is a multiple of wMaxPacketSize, including 0), `round_up` function will return the unchanged value of `pos`. This prevents `pos` to be increased, causing an infinite loop in the parsing logic. This patch fixes this in the function by using `pos + 1` instead. This ensures that even if `pos` is on a boundary, the calculation is based on `pos + 1`, forcing `round_up()` to always return the next aligned boundary.

📍 영향받는 시스템

Linux kernel (kvaser_usb driver 포함 버전)

⚔️ 공격 벡터

특수하게 조작된 USB 명령(zero-length command)을 통해 드라이버의 파싱 로직을 트리거하여 무한 루프 유발

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel