🔍 CVE-2025-40030

0.0
CVSS Score
UNKNOWN
2025-10-28
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 pinctrl 서브시스템에서 pinmux_ops::get_function_name()의 반환 값을 확인하지 않아 발생하는 취약점입니다. 특정 상황에서 해당 함수가 NULL을 반환할 경우, 이를 검증 없이 strcmp() 함수에 전달하여 NULL 포인터 역참조가 발생할 수 있습니다.

💡 쉬운 설명

하드웨어 핀의 기능을 확인하는 과정에서 예상치 못한 빈 값이 들어올 때, 시스템이 이를 제대로 처리하지 못해 오류가 발생할 수 있는 문제입니다. 이로 인해 시스템이 갑자기 멈추거나 불안정해질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: pinctrl: check the return value of pinmux_ops::get_function_name() While the API contract in docs doesn't specify it explicitly, the generic implementation of the get_function_name() callback from struct pinmux_ops - pinmux_generic_get_function_name() - can fail and return NULL. This is already checked in pinmux_check_ops() so add a similar check in pinmux_func_name_to_selector() instead of passing the returned pointer right down to strcmp() where the NULL can get dereferenced. This is normal operation when adding new pinfunctions.

📍 영향받는 시스템

Linux Kernel (pinctrl/pinmux 관련 모듈 사용 시스템)

⚔️ 공격 벡터

로컬 공격자가 특정 하드웨어 핀 설정 변경을 유도하여 커널 패닉을 일으키는 방식

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel