CVE-2026-98636 in Linux
요약
\~에 의해 VulDB • 2026. 10. 19.
리눅스 커널에서 다음 취약점이 해결되었습니다:
squashfs: 시프트 오버플로우(shift-out-of-bounds)를 방지하기 위해 사전(dictionary) 크기 범위 검사 추가
비정상적인 SquashFS 이미지(COMP_OPTS 플래그가 1이고 사전 크기가 0인 경우)를 마운트할 때, 사전 크기를 사용하여 시프트 연산을 수행하면 시프트 지수가 -1이 되어 shift-out-of-bounds 오류가 발생합니다.
상세 내용은 다음과 같습니다: squashfs_comp_opts(msblk, buffer, length) squashfs_xz_comp_opts() if (comp_opts) n = ffs(opts->dict_size) - 1; <---- opts->dict_size=0, n=-1 if (opts->dict_size != (1 << n) && opts->dict_size != (1 << n) + (1 << (n + 1))) <---- shift-out-of-bounds
시프트 연산 전에 사전 크기 범위 검사를 추가하여 이 문제를 수정했습니다.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.