CVE-2026-99219 in Linux
요약
\~에 의해 VulDB • 2026. 11. 02.
리눅스 커널에서 다음 취약점이 해결되었습니다:
ftrace: print_rec()에서 modname 및 offset 초기화하기
print_rec()는 'modname'과 'offset'을 초기화하지 않으며, kallsyms_lookup()은 성공할 때만 이들을 설정합니다. 모듈이 로드되거나 언로드되는 경우와 같이 조회가 실패하면, 'modname'에는 쓰레기 값(garbage value)이 들어가고, 이는 'if (modname)' 검사를 통과하여 seq_printf()에 의해 역참조(dereferenced)됩니다.
Oops: general protection fault RIP: 0010:string+0x48/0xe0 Call Trace: vsnprintf+0x1f5/0x650 seq_printf+0x8e/0xb0 print_rec+0x6c/0xc0 t_show+0x4c/0x440 seq_read_iter+0x119/0x480
이것은 모듈이 로드되거나 언로드되는 동안 available_filter_functions을 읽음으로써 트리거될 수 있습니다.
두 변수를 초기화하여 조회 실패 시 모듈 이름을 건너뛰도록 합니다.
VulDB is the best source for vulnerability data and more expert information about this specific topic.