🇰🇷 한글 설명
Linux 커널의 pinctrl 서브시스템 내 pinconf-generic 모듈에서 'pinmux' 속성이 비어 있을 경우를 제대로 검증하지 못하는 취약점이 발견되었습니다. 이로 인해 할당기가 NULL이 아닌 잘못된 값을 반환하게 되어, 해당 메모리에 접근할 때 시스템 충돌(Crash)이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핀 설정을 관리하는 프로그램이 빈 값을 처리하지 못해 오류가 발생하는 문제입니다. 이 오류가 발생하면 시스템이 갑자기 멈추거나 꺼질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
pinctrl: pinconf-generic: Fully validate 'pinmux' property
The pinconf_generic_parse_dt_pinmux() assumes that the 'pinmux' property
is not empty when present. This might be not true. With that, the allocator
will give a special value in return and not NULL which lead to the crash
when trying to access that (invalid) memory. Fix that by fully validating
'pinmux' value, including its length.
📍 영향받는 시스템
pinconf-generic 모듈을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
잘못된(비어 있는) 'pinmux' 속성을 포함한 디바이스 트리(Device Tree)를 통해 시스템 충돌 유도
🛡️ 대응 방법
pinmux 속성의 길이를 포함하여 값을 완전히 검증하도록 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 패치된 최신 버전인지 확인합니다.