CVE-2026-64192
- 공개
- 2026년 7월 21일
- 수정
- 2026년 11월 7일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
bpf: Reject BPF_MAP_TYPE_INODE_STORAGE creation if BPF LSM is uninitialized
When CONFIG_BPF_LSM=y is set, BPF inode storage maps (BPF_MAP_TYPE_INODE_STORAGE) are compiled into the kernel. However, if the BPF LSM is not explicitly enabled at boot time (e.g. omitted from the "lsm=" boot parameter), lsm_prepare() is never executed for the BPF LSM.
Consequently, the BPF inode security blob offset (bpf_lsm_blob_sizes.lbs_inode) is never initialized and remains at its default compiled size of 8 bytes instead of being updated to a valid offset past the reserved struct rcu_head (typically 16 bytes or more).
When a privileged user creates and updates a BPF_MAP_TYPE_INODE_STORAGE map, bpf_inode() evaluates inode->i_security + 8. This erroneously aliases the struct rcu_head.func callback pointer at the beginning of the inode->i_security blob. During subsequent map element cleanup or inode destruction, writing NULL to owner_storage clears the queued RCU callback pointer. When rcu_do_batch() later executes the queued callback, it attempts an instruction fetch at address 0x0, triggering an immediate kernel panic.
Fix this by introducing a global bpf_lsm_initialized boolean flag marked with __ro_after_init. Set this flag to true inside bpf_lsm_init() when the LSM framework successfully registers the BPF LSM. Gate map allocation in inode_storage_map_alloc() on this flag, returning -EOPNOTSUPP if the BPF LSM is in turn uninitialized.
This fail-fast approach prevents userspace from allocating inode storage maps when the supporting BPF LSM infrastructure is absent, avoiding zombie map states.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 5.10 | ≤ | 취약 | < | 6.6.148 | 6.6.148이상 |
| 6.7 | ≤ | 취약 | < | 6.12.97 | 6.12.97이상 | |
| 6.13 | ≤ | 취약 | < | 6.18.40 | 6.18.40이상 | |
| 6.19 | ≤ | 취약 | < | 7.1.4 | 7.1.4이상 | |
| 이 버전만 | 취약 | = | 7.2 rc1 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 10줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 5.10 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 5.10 | — | |
| 5.10.266 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.217 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.184 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.148 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.97 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.40 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.1.4 | ≤ | 영향 없음 | ≤ | 7.1.* | — | |
| 7.2 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- git.kernel.org/stable/c/267fdd9b6530c399dfd996e1a0a7628b45baf9f0
- git.kernel.org/stable/c/5337eebdf8c5d4810b1913047f078d2815d5645f
- git.kernel.org/stable/c/a6f0643e4f63cfaa0d5d4a69de4f132eac4b8fe4
- git.kernel.org/stable/c/c76b8abce575e0c6e4096957220b4515ed847d89
- git.kernel.org/stable/c/de984ea883405420fdc416ae8964b752df586970