🔍 CVE-2026-98540

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

🇰🇷 한글 설명

리눅스 커널의 fprobe 기능에서 예약된 섀도우 스택 공간이 채워지지 않을 경우 리스트를 제대로 종료하지 못하는 취약점이 발견되었습니다. 이로 인해 fprobe_return() 함수가 이전 호출의 잔여 데이터를 헤더로 잘못 해석하여, 종료 핸들러가 두 번 실행되거나 실행되지 않아야 할 상황에서 실행될 수 있습니다.

💡 쉬운 설명

컴퓨터의 실행 과정을 추적하는 기능에서 데이터가 제대로 지워지지 않아 발생하는 오류입니다. 이 오류를 이용하면 프로그램이 원래 계획과 다르게 동작하거나 잘못된 명령을 중복해서 실행할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: fprobe: Terminate the fgraph_data list when the reservation is not filled fprobe_fgraph_entry() reserves shadow stack space for every fprobe with an exit handler, but only fills it for those whose entry handler returns 0. fgraph_reserve_data() does not clear the area, so fprobe_return() parses the unused tail as headers left over from an earlier call, and an exit handler can run twice or despite its entry handler asking to skip it. Write a zero word after the last entry to terminate the walk. A zeroed slot does not decode to a NULL fprobe on the arches that encode the header into one unsigned long, since arch_decode_fprobe_header_fp() ORs in FPROBE_HEADER_MSB_PATTERN, so make read_fprobe_header() return NULL for a zeroed slot.

📍 영향받는 시스템

fprobe 기능을 사용하는 Linux Kernel (패치 적용 전 버전)

⚔️ 공격 벡터

커널 내 fprobe 데이터 구조의 잔여 데이터를 이용한 로직 조작

🛡️ 대응 방법

fprobe 관련 수정 사항이 포함된 최신 리눅스 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 최신 보안 패치 버전인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel