CVE-2026-74671
- 공개
- 2026년 8월 23일
- 수정
- 2026년 11월 7일
- 조회
- 0
- 상태
- Received
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
ima: fix out-of-bounds read in xattr_verify()
The digest-length check in xattr_verify() mixes int and size_t:
if (xattr_len - sizeof(xattr_value->type) - hash_start >= iint->ima_hash->length)
sizeof() yields size_t, so the usual arithmetic conversions promote the whole left-hand side to unsigned 64-bit before the subtraction runs. For a truncated xattr this underflows instead of going negative: a 1-byte IMA_XATTR_DIGEST_NG xattr (xattr_len == 1, hash_start == 1) turns "1 - 1 - 1" into SIZE_MAX, which is trivially >= ima_hash->length. The check then passes and the following memcmp() reads iint->ima_hash->length bytes starting past the end of the buffer vfs_getxattr_alloc() allocated for it.
Nothing upstream clamps xattr_len back into a safe range first: ima_get_hash_algo() only special-cases xattr_len < 2 to pick a default algorithm, and evm_verifyxattr() returns INTEGRITY_UNKNOWN rather than failing when no HMAC key is loaded, so a truncated security.ima value reaches the length check as-is.
Rewrite the comparison so every operand stays a signed int and no implicit conversion to size_t can occur.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 3.13 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 3.13 | — | |
| 5.10.265 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.216 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.183 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.152 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.104 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.45 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.1.9 | ≤ | 영향 없음 | ≤ | 7.1.* | — | |
| 7.2 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타8
- git.kernel.org/stable/c/27f3924061592d0ef6b04e16f48754b6cb6adf27
- git.kernel.org/stable/c/5ff232d31106f45ac87c3b64e1d35a0667777797
- git.kernel.org/stable/c/7e515b6c9aab452a4f0734bd7208e4e780e164ca
- git.kernel.org/stable/c/a784b4732ac7e51862b9b210c2d8b2ab9e83568c
- git.kernel.org/stable/c/b6cb134707a2127d90a58d69dd818679cae8033c