🇰🇷 한글 설명
Linux 커널의 GPIO 캐릭터 디바이스 서브시스템에서 linehandle_create() 함수 내 NULL 포인터 역참조 취약점이 발견되었습니다. lh 포인터가 null로 설정된 직후 디버깅 출력에서 이를 역참조하여 시스템 크래시를 유발할 수 있습니다.
💡 쉬운 설명
시스템의 특정 부품 제어 기능에서 메모리 오류가 발생해 프로그램이 갑자기 종료될 수 있는 문제입니다. 개발자는 이 오류를 수정하고 올바른 메모리 위치를 사용하도록 코드를 변경했습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
gpio: cdev: Avoid NULL dereference in linehandle_create()
In linehandle_create(), there is a statement like this:
retain_and_null_ptr(lh);
Soon after, there is a debug printout that dereferences "lh", which
will crash things.
Avoid the crash by using handlereq.lines, which is the same value.
📍 영향받는 시스템
Linux kernel (gpio-cdev 모듈)
⚔️ 공격 벡터
로컬에서 GPIO 라인 핸들을 생성하여 NULL 포인터 역참조를 유발하는 코드 실행
🛡️ 대응 방법
Linux 커널을 최신 안정 버전으로 업데이트하여 gpio-cdev 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 CVE가 패치된 최신 버전인지 확인