🔍 CVE-2025-38110

7.8
CVSS Score
HIGH
2025-07-03
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 net/mdiobus 구성 요소에서 C45(clause 45) mdiobus를 사용할 때 발생하는 경계 외(out-of-bounds) 읽기/쓰기 취약점입니다. mdio-tools와 같은 도구를 통해 ioctl로 전달된 주소 값이 PHY_MAX_ADDR 범위를 초과하는지 검증하지 않아 통계(stats) 배열에 대한 잘못된 접근이 가능합니다.

💡 쉬운 설명

네트워크 장치의 설정을 조절하는 도구가 허용된 범위를 벗어난 잘못된 주소 값을 입력할 수 있는 보안 결함입니다. 이로 인해 시스템의 메모리 영역을 잘못 읽거나 쓸 수 있는 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net/mdiobus: Fix potential out-of-bounds clause 45 read/write access When using publicly available tools like 'mdio-tools' to read/write data from/to network interface and its PHY via C45 (clause 45) mdiobus, there is no verification of parameters passed to the ioctl and it accepts any mdio address. Currently there is support for 32 addresses in kernel via PHY_MAX_ADDR define, but it is possible to pass higher value than that via ioctl. While read/write operation should generally fail in this case, mdiobus provides stats array, where wrong address may allow out-of-bounds read/write. Fix that by adding address verification before C45 read/write operation. While this excludes this access from any statistics, it improves security of read/write operation.

📍 영향받는 시스템

C45 mdiobus를 사용하는 리눅스 커널 시스템

⚔️ 공격 벡터

mdio-tools와 같은 도구를 사용하여 ioctl을 통해 유효하지 않은 MDIO 주소를 전달하는 방식

🛡️ 대응 방법

C45 읽기/쓰기 작업 수행 전 주소 값을 검증하는 패치가 적용된 최신 리눅스 커널로 업데이트

🔧 검증 코드

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

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