🔍 CVE-2025-68773

0.0
CVSS Score
UNKNOWN
2026-01-13
2026-10-15 02:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 fsl-cpm SPI 드라이버에서 데이터 전송 크기가 짝수인지 확인하지 않고 16비트 모드로 전환할 때 발생하는 버퍼 오버런 취약점입니다. 기존에는 고정 크기 버퍼를 사용하여 문제가 드러나지 않았으나, 동적 버퍼 할당 방식이 도입되면서 홀수 크기 전송 시 메모리 침범이 발생하게 되었습니다.

💡 쉬운 설명

데이터를 주고받을 때 크기가 홀수이면 16비트 단위로 나누어 담는 과정에서 정해진 공간을 넘어서는 문제가 발생합니다. 이로 인해 시스템 메모리의 다른 부분이 손상될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: spi: fsl-cpm: Check length parity before switching to 16 bit mode Commit fc96ec826bce ("spi: fsl-cpm: Use 16 bit mode for large transfers with even size") failed to make sure that the size is really even before switching to 16 bit mode. Until recently the problem went unnoticed because kernfs uses a pre-allocated bounce buffer of size PAGE_SIZE for reading EEPROM. But commit 8ad6249c51d0 ("eeprom: at25: convert to spi-mem API") introduced an additional dynamically allocated bounce buffer whose size is exactly the size of the transfer, leading to a buffer overrun in the fsl-cpm driver when that size is odd. Add the missing length parity verification and remain in 8 bit mode when the length is not even.

📍 영향받는 시스템

fsl-cpm 드라이버를 사용하는 Linux 커널 (특정 커밋 이후의 eeprom: at25 변경 사항 포함 버전)

⚔️ 공격 벡터

홀수 크기의 SPI 데이터 전송을 유도하여 드라이버의 메모리 버퍼 오버런 유발

🛡️ 대응 방법

데이터 전송 크기가 짝수인지 확인하는 패치가 적용된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 커밋(fc96ec826bce 이후)이 포함된 버전인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel