CVE-2026-98127
- 공개
- 2026년 9월 25일
- 수정
- 2026년 10월 23일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
smb/client: validate new EOF for insert range
smb3_insert_range() does not check if the new file size (i_size + len) is valid. This allows FALLOC_FL_INSERT_RANGE to bypass RLIMIT_FSIZE, exceed s_maxbytes, or produce a size outside the loff_t range.
Use check_add_overflow() to calculate the new EOF. Validate it with inode_newsize_ok() before modifying the file.
Reproducer, using a file on a CIFS mount:
bash -c ' FILE=/mnt/cifs/repro
trap "" SIGXFSZ ulimit -f 3072 # RLIMIT_FSIZE = 3 MiB
# A regular write is stopped at 3 MiB. dd if=/dev/zero of="$FILE" bs=1M count=4 status=none stat -c "size after write: %s" "$FILE"
# Insert 2 MiB into a 2 MiB file. truncate -s 2M "$FILE" fallocate -i -o 0 -l 2M "$FILE" stat -c "size after insert: %s" "$FILE" '
Before this change, the regular write stops at the 3 MiB limit, but insert range grows the file to 4 MiB:
dd: error writing '/mnt/cifs/repro': File too large size after write: 3145728 size after insert: 4194304
After this change, insert range also fails at the limit and leaves the 2 MiB file unchanged:
dd: error writing '/mnt/cifs/repro': File too large size after write: 3145728 fallocate: fallocate failed: File too large size after insert: 2097152
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 5.13 | ≤ | 취약 | < | 6.6.160 | 6.6.160이상 |
| 6.7 | ≤ | 취약 | < | 6.12.111 | 6.12.111이상 | |
| 6.13 | ≤ | 취약 | < | 6.18.53 | 6.18.53이상 | |
| 6.19 | ≤ | 취약 | < | 7.2.7 | 7.2.7이상 | |
| 이 버전만 | 취약 | = | 7.3 rc1 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 7줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 5.13 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 5.13 | — | |
| 6.6.160 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.111 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.53 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.2.7 | ≤ | 영향 없음 | ≤ | 7.2.* | — | |
| 7.3 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- git.kernel.org/stable/c/1519dc88c87f5346dae0464d7d6da1b6bf1f6e8e
- git.kernel.org/stable/c/7c2c69045aa76ccaa7f16f1478eb312130ce4951
- git.kernel.org/stable/c/b7f2e33d9f5db7b8e6e5e0a5a93d0c5e31870356
- git.kernel.org/stable/c/bc7602b9082ef195d913c4c16fa9853dd262333e
- git.kernel.org/stable/c/f8cbfe3a3fcee7d991fd223f660f3e5df13221cf