🔍 CVE-2025-39921

5.5
CVSS Score
MEDIUM
2025-10-01
2026-10-21 13:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 microchip-core-qspi 드라이버에서 발생한 취약점으로, 초기화 과정 중 잘못된 주파수 체크 로직으로 인해 0으로 나누기 오류가 발생합니다. 이로 인해 baud_rate_val이 INT_MAX로 계산되어 연결된 메모리 장치의 프로브(probe) 과정이 실패하게 됩니다.

💡 쉬운 설명

컴퓨터 부품을 인식하는 과정에서 계산 오류가 발생하여 메모리 장치를 제대로 불러오지 못하는 문제입니다. 이로 인해 시스템이 하드웨어를 정상적으로 사용하지 못할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: spi: microchip-core-qspi: stop checking viability of op->max_freq in supports_op callback In commit 13529647743d9 ("spi: microchip-core-qspi: Support per spi-mem operation frequency switches") the logic for checking the viability of op->max_freq in mchp_coreqspi_setup_clock() was copied into mchp_coreqspi_supports_op(). Unfortunately, op->max_freq is not valid when this function is called during probe but is instead zero. Accordingly, baud_rate_val is calculated to be INT_MAX due to division by zero, causing probe of the attached memory device to fail. Seemingly spi-microchip-core-qspi was the only driver that had such a modification made to its supports_op callback when the per_op_freq capability was added, so just remove it to restore prior functionality.

📍 영향받는 시스템

Linux kernel (spi: microchip-core-qspi 드라이버를 사용하는 시스템)

⚔️ 공격 벡터

로컬 (하드웨어 초기화 실패를 유도하는 설정 또는 환경)

🛡️ 대응 방법

Linux 커널을 최신 패치가 적용된 버전으로 업데이트하거나 해당 커널 커밋(13529647743d9)의 수정 사항을 적용합니다.

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel