🔍 CVE-2025-38111

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

🇰🇷 한글 설명

리눅스 커널의 net/mdiobus 구성 요소에서 ioctl을 통해 전달된 MDIO 주소에 대한 검증이 누락되어 발생한 취약점입니다. 공격자가 허용된 범위를 벗어난 주소를 전달할 경우, 통계(stats) 배열에 대한 경계 외 읽기 및 쓰기(out-of-bounds)가 발생할 수 있습니다.

💡 쉬운 설명

네트워크 장비의 설정을 조절하는 도구가 잘못된 주소 값을 입력받아도 이를 걸러내지 못하는 문제입니다. 이로 인해 시스템의 중요한 메모리 영역을 잘못 읽거나 수정하여 보안 문제를 일으킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net/mdiobus: Fix potential out-of-bounds read/write access When using publicly available tools like 'mdio-tools' to read/write data from/to network interface and its PHY via 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 read/write operation. While this excludes this access from any statistics, it improves security of read/write operation.

📍 영향받는 시스템

MDIO 버스를 사용하는 리눅스 커널 기반 시스템 (PHY_MAX_ADDR 범위를 초과하는 주소 접근이 가능한 환경)

⚔️ 공격 벡터

mdio-tools와 같은 도구를 사용하여 ioctl 호출 시 유효하지 않은 MDIO 주소 값을 전달

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 MDIO 주소 검증 로직을 적용

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 최신 패치 버전인지 배포판 보안 공지를 통해 확인

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