🔍 CVE-2026-23111

7.8
CVSS Score
HIGH
2026-02-13
2026-10-15 02:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 netfilter nf_tables 구성 요소에서 nft_map_catchall_activate() 함수의 genmask 체크 로직이 반대로 구현된 취약점입니다. 이로 인해 트랜잭션 중단 시 특정 요소의 활성화가 누락되어 참조 횟수가 잘못 관리되며, 결과적으로 Use-After-Free(UAF) 오류를 유발합니다.

💡 쉬운 설명

시스템 내부의 데이터 관리 규칙이 거꾸로 적용되어, 사용 중인 데이터를 실수로 삭제하거나 잘못된 메모리 접근을 일으키는 버그입니다. 이를 통해 일반 사용자가 시스템의 관리자 권한을 탈취할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fix inverted genmask check in nft_map_catchall_activate() nft_map_catchall_activate() has an inverted element activity check compared to its non-catchall counterpart nft_mapelem_activate() and compared to what is logically required. nft_map_catchall_activate() is called from the abort path to re-activate catchall map elements that were deactivated during a failed transaction. It should skip elements that are already active (they don't need re-activation) and process elements that are inactive (they need to be restored). Instead, the current code does the opposite: it skips inactive elements and processes active ones. Compare the non-catchall activate callback, which is correct: nft_mapelem_activate(): if (nft_set_elem_active(ext, iter->genmask)) return 0; /* skip active, process inactive */ With the buggy catchall version: nft_map_catchall_activate(): if (!nft_set_elem_active(ext, genmask)) continue; /* skip inactive, process active */ The consequence is that when a DELSET operation is aborted, nft_setelem_data_activate() is never called for the catchall element. For NFT_GOTO verdict elements, this means nft_data_hold() is never called to restore the chain->use reference count. Each abort cycle permanently decrements chain->use. Once chain->use reaches zero, DELCHAIN succeeds and frees the chain while catchall verdict elements still reference it, resulting in a use-after-free. This is exploitable for local privilege escalation from an unprivileged user via user namespaces + nftables on distributions that enable CONFIG_USER_NS and CONFIG_NF_TABLES. Fix by removing the negation so the check matches nft_mapelem_activate(): skip active elements, process inactive ones.

📍 영향받는 시스템

CONFIG_USER_NS 및 CONFIG_NF_TABLES가 활성화된 Linux 커널 기반 배포판

⚔️ 공격 벡터

사용자 네임스페이스와 nftables를 이용한 로컬 권한 상승 (LPE)

🛡️ 대응 방법

해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel
🇰🇷 KISA(한국인터넷진흥원) 보안 권고 이 CVE에 대한 한국 공식 권고 (1건)
Linux Kernel 보안 업데이트 권고 P3
📅 2026-06-10 · sec_notice
Linux Kernel의 Use After Free 취약점(CVE-2026-23111)을 해결하기 위한 보안 업데이트가 발표되었습니다. 6.13 미만 및 기타 여러 구 버전의 Linux Kernel을 사용하는 사용자는 최신 버전으로 업데이트해야 합니다.
KISA 원문 →