🔍 CVE-2026-98528

0.0
CVSS Score
UNKNOWN
2026-10-18
2026-10-19 10:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 gpio: cdev 모듈에서 오류 발생 시 커널 스택의 내용이 사용자 공간으로 유출될 수 있는 취약점이 발견되었습니다. gpio_desc_to_lineinfo() 함수가 실패할 경우 구조체를 초기화하지 않고 즉시 반환하여 발생하는 문제로, 이를 해결하기 위해 오류 전파 방식과 메모리 초기화 순서가 수정되었습니다.

💡 쉬운 설명

컴퓨터의 핵심 운영체제인 리눅스에서 특정 오류가 발생할 때, 보안상 보호되어야 할 내부 데이터가 외부로 흘러나갈 수 있는 결함입니다. 이 결함은 시스템의 중요한 정보를 훔쳐보는 데 악용될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: gpio: cdev: fix kernel stack leak to user-space in error path If we fail to acquire the GPIO chip guard in gpio_desc_to_lineinfo(), we return immediately before zeroing the info struct we'll end up passing to the user-space later in lineinfo_get_v1(). This may leak the kernel stack contents. Make gpio_desc_to_lineinfo() return int so that the -ENODEV returned on failure to acquire the guard can be propagated to the callers. While not strictly necessary: move the memset() before trying to acquire the SRCU read lock too for good measure.

📍 영향받는 시스템

GPIO cdev 모듈을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

특정 GPIO 관련 시스템 호출을 유도하여 오류 경로를 실행함으로써 커널 스택의 잔류 데이터를 읽어냄

🛡️ 대응 방법

해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 패치가 적용된 보안 업데이트 버전인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel